1 <?xml version="1.0" encoding="UTF-8"?>
2 <?eclipse version="3.0"?>
4 id="net.sourceforge.phpeclipse.css.ui"
7 provider-name="%providerName"
8 class="net.sourceforge.phpeclipse.css.ui.CssUI">
11 <library name="cssui.jar"/>
14 <import plugin="net.sourceforge.phpeclipse.core"/>
15 <import plugin="net.sourceforge.phpeclipse.css.core"/>
16 <import plugin="net.sourceforge.phpeclipse.ui"/>
17 <import plugin="org.eclipse.compare"/>
18 <import plugin="org.eclipse.core.runtime"/>
19 <import plugin="org.eclipse.core.filebuffers"/>
20 <import plugin="org.eclipse.core.resources"/>
21 <import plugin="org.eclipse.help"/>
22 <import plugin="org.eclipse.jface.text"/>
23 <import plugin="org.eclipse.osgi"/>
24 <import plugin="org.eclipse.ui"/>
25 <import plugin="org.eclipse.ui.editors"/>
26 <import plugin="org.eclipse.ui.ide"/>
27 <import plugin="org.eclipse.ui.views"/>
28 <import plugin="org.eclipse.ui.workbench.texteditor"/>
33 point="org.eclipse.core.runtime.adapters">
35 class="net.sourceforge.phpeclipse.css.ui.internal.properties.CssPropertiesAdapterFactory"
36 adaptableType="net.sourceforge.phpeclipse.css.core.model.IRule">
37 <adapter type="org.eclipse.ui.views.properties.IPropertySource"/>
41 point="org.eclipse.ui.editors">
44 icon="icons/style_sheet_obj.gif"
46 contributorClass="net.sourceforge.phpeclipse.css.ui.internal.editor.CssEditorActionContributor"
47 class="net.sourceforge.phpeclipse.css.ui.internal.editor.CssEditor"
48 id="net.sourceforge.phpeclipse.css.ui.editor">
52 point="org.eclipse.core.filebuffers.documentSetup">
55 class="net.sourceforge.phpeclipse.css.ui.internal.CssDocumentSetupParticipant">
59 point="org.eclipse.ui.editors.documentProviders">
62 class="net.sourceforge.phpeclipse.css.ui.internal.CssDocumentProvider"
63 id="net.sourceforge.phpeclipse.css.ui.documentProvider">
67 point="org.eclipse.ui.fontDefinitions">
69 label="%editorFontDefinition.label"
70 defaultsTo="org.eclipse.jface.textfont"
71 id="net.sourceforge.phpeclipse.css.ui.editorfont">
73 %editorFontDefinition.description
77 label="%compareFontDefinition.label"
78 defaultsTo="org.eclipse.compare.contentmergeviewer.TextMergeViewer"
79 id="net.sourceforge.phpeclipse.css.ui.internal.compare.CssMergeViewer">
81 %compareFontDefinition.description
86 point="org.eclipse.ui.preferencePages">
88 name="%preferencePage.name"
89 category="net.sourceforge.phpeclipse.ui.preferencePage"
90 class="net.sourceforge.phpeclipse.css.ui.internal.preferences.CssPreferencePage"
91 id="net.sourceforge.phpeclipse.css.ui.preferencePage">
94 name="%editorPreferencePage.name"
95 category="net.sourceforge.phpeclipse.css.ui.preferencePage"
96 class="net.sourceforge.phpeclipse.css.ui.internal.preferences.CssEditorPreferencePage"
97 id="net.sourceforge.phpeclipse.css.ui.editor.preferencePage">
101 point="org.eclipse.ui.propertyPages">
102 <!-- TODO: Only enable the following property page for projects with a
103 future "Web" nature -->
105 objectClass="org.eclipse.core.resources.IProject"
106 name="%propertyPage.name"
107 class="net.sourceforge.phpeclipse.css.ui.internal.properties.CssPropertyPage"
108 id="net.sourceforge.phpeclipse.css.ui.propertyPage">
111 objectClass="org.eclipse.core.resources.IResource"
112 name="%propertyPage.name"
114 class="net.sourceforge.phpeclipse.css.ui.internal.properties.CssPropertyPage"
115 id="net.sourceforge.phpeclipse.css.ui.propertyPage">
119 point="org.eclipse.ui.commands">
121 name="%sourceCategory.label"
122 description="%sourceMenu.description"
123 id="net.sourceforge.phpeclipse.css.ui.sourceCategory">
126 name="%commentAction.label"
127 description="%commentAction.description"
128 category="org.eclipse.jdt.ui.category.source"
129 id="net.sourceforge.phpeclipse.css.ui.commentAction">
133 command="net.sourceforge.phpeclipse.css.ui.commentAction"
134 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
139 command="net.sourceforge.phpeclipse.css.ui.commentAction"
140 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
145 command="net.sourceforge.phpeclipse.css.ui.commentAction"
146 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
149 name="%uncommentAction.label"
150 description="%uncommentAction.description"
151 category="org.eclipse.jdt.ui.category.source"
152 id="net.sourceforge.phpeclipse.css.ui.uncommentAction">
156 command="net.sourceforge.phpeclipse.css.ui.uncommentAction"
157 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
162 command="net.sourceforge.phpeclipse.css.ui.uncommentAction"
163 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
168 command="net.sourceforge.phpeclipse.css.ui.uncommentAction"
169 configuration="org.eclipse.ui.defaultAcceleratorConfiguration">
173 point="org.eclipse.ui.actionSets">
175 label="%authoringActions.label"
176 id="net.sourceforge.phpeclipse.css.ui.authoringActions">
178 label="%sourceMenu.label"
180 id="net.sourceforge.phpeclipse.css.ui.sourceMenu">
186 label="%shiftLeftAction.label"
188 menubarPath="net.sourceforge.phpeclipse.css.ui.sourceMenu/editGroup"
189 id="org.eclipse.ui.edit.text.shiftLeft">
192 label="%shiftRightAction.label"
194 menubarPath="net.sourceforge.phpeclipse.css.ui.sourceMenu/editGroup"
195 id="org.eclipse.ui.edit.text.shiftRight">
198 definitionId="net.sourceforge.phpeclipse.css.ui.uncommentAction"
199 label="%uncommentAction.label"
201 menubarPath="net.sourceforge.phpeclipse.css.ui.sourceMenu/editGroup"
202 id="net.sourceforge.phpeclipse.css.ui.uncommentAction">
205 definitionId="net.sourceforge.phpeclipse.css.ui.commentAction"
206 label="%commentAction.label"
208 menubarPath="net.sourceforge.phpeclipse.css.ui.sourceMenu/editGroup"
209 id="net.sourceforge.phpeclipse.css.ui.commentAction">
214 point="org.eclipse.ui.actionSetPartAssociations">
215 <actionSetPartAssociation
216 targetID="net.sourceforge.phpeclipse.css.ui.authoringActions">
218 id="net.sourceforge.phpeclipse.css.ui.editor">
220 </actionSetPartAssociation>
221 <actionSetPartAssociation
222 targetID="org.eclipse.ui.edit.text.actionSet.presentation">
224 id="net.sourceforge.phpeclipse.css.ui.editor">
226 </actionSetPartAssociation>
229 point="org.eclipse.compare.contentMergeViewers">
232 class="net.sourceforge.phpeclipse.css.ui.internal.compare.CssMergeViewerCreator"
233 id="net.sourceforge.phpeclipse.css.ui.compare.contentMergeViewer">
237 point="org.eclipse.compare.structureCreators">
240 class="net.sourceforge.phpeclipse.css.ui.internal.compare.CssStructureCreator"
241 id="net.sourceforge.phpeclipse.css.ui.compare.structureCreator">