blob: f9c05f65beee37096b115d181bfb68b50da411b8 [file] [log] [blame]
nitind958d79a2004-11-23 19:23:00 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
jeffliu38477e82005-05-30 00:52:19 +00003<plugin>
nitind958d79a2004-11-23 19:23:00 +00004
david_williamsad0e4cc2005-06-04 01:49:19 +00005 <extension point="org.eclipse.ui.editors">
6 <editor
7 name="%CSS_Source_Page_Editor.name"
david_williamsb5d05632006-02-27 09:24:00 +00008 icon="$nl$/icons/full/obj16/sourceEditor.gif"
david_williamsad0e4cc2005-06-04 01:49:19 +00009 contributorClass="org.eclipse.wst.css.ui.internal.ActionContributorCSS"
nitind102e60a2005-09-15 12:42:42 +000010 class="org.eclipse.wst.sse.ui.StructuredTextEditor"
david_williamsad0e4cc2005-06-04 01:49:19 +000011 symbolicFontName="org.eclipse.wst.sse.ui.textfont"
12 id="org.eclipse.wst.css.core.csssource.source">
13 <contentTypeBinding
14 contentTypeId="org.eclipse.wst.css.core.csssource" />
15 </editor>
16 </extension>
17
nitindf8e77632005-09-07 23:49:25 +000018 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
19 <contentOutlineConfiguration
nitind1bf20a12005-09-15 11:48:15 +000020 class="org.eclipse.wst.css.ui.views.contentoutline.CSSContentOutlineConfiguration"
david_williamsad0e4cc2005-06-04 01:49:19 +000021 target="org.eclipse.wst.css.core.csssource" />
nitindf8e77632005-09-07 23:49:25 +000022 <sourceViewerConfiguration
nitind1bf20a12005-09-15 11:48:15 +000023 class="org.eclipse.wst.css.ui.StructuredTextViewerConfigurationCSS"
david_williamsad0e4cc2005-06-04 01:49:19 +000024 target="org.eclipse.wst.css.core.csssource" />
nitindf8e77632005-09-07 23:49:25 +000025 <propertySheetConfiguration
nitind1bf20a12005-09-15 11:48:15 +000026 class="org.eclipse.wst.css.ui.views.properties.CSSPropertySheetConfiguration"
david_williamsad0e4cc2005-06-04 01:49:19 +000027 target="org.eclipse.wst.css.core.csssource" />
nitindf8e77632005-09-07 23:49:25 +000028 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000029 type="characterpairmatcher"
30 class="org.eclipse.wst.css.ui.internal.text.CSSDocumentRegionEdgeMatcher"
31 target="org.eclipse.wst.css.core.csssource" />
nitindf8e77632005-09-07 23:49:25 +000032 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000033 type="structuredtextfoldingprovider"
34 class="org.eclipse.wst.css.ui.internal.projection.StructuredTextFoldingProviderCSS"
35 target="org.eclipse.wst.css.core.csssource" />
nitindf8e77632005-09-07 23:49:25 +000036 <provisionalDefinition
david_williamsad0e4cc2005-06-04 01:49:19 +000037 type="preferencepages"
nitindf8e77632005-09-07 23:49:25 +000038 value="org.eclipse.wst.sse.ui.preferences.css, org.eclipse.wst.sse.ui.preferences.css.source, org.eclipse.wst.css.ui.preferences.templates, org.eclipse.wst.sse.ui.preferences.css.styles"
david_williamsad0e4cc2005-06-04 01:49:19 +000039 target="org.eclipse.wst.css.core.csssource" />
40 </extension>
41
42 <extension
43 point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
44 <adapterFactoryDescription
45 class="org.eclipse.wst.css.ui.internal.registry.AdapterFactoryProviderCSS">
46 <contentType id="org.eclipse.wst.css.core.csssource" />
47 </adapterFactoryDescription>
48 </extension>
49
50 <extension
51 point="org.eclipse.core.filebuffers.annotationModelCreation">
52 <factory
53 contentTypeId="org.eclipse.wst.css.core.csssource"
54 class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" />
55 </extension>
56
57 <extension point="org.eclipse.ui.preferencePages">
58 <page
59 name="%CSS_Files.name"
60 category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
61 class="org.eclipse.wst.css.ui.internal.preferences.ui.CSSFilesPreferencePage"
62 id="org.eclipse.wst.sse.ui.preferences.css">
63 </page>
64 <page
65 name="%CSS_Source.name"
66 category="org.eclipse.wst.sse.ui.preferences.css"
67 class="org.eclipse.wst.css.ui.internal.preferences.ui.CSSSourcePreferencePage"
68 id="org.eclipse.wst.sse.ui.preferences.css.source">
69 </page>
70 <page
nitind057e5c82005-06-16 04:12:26 +000071 name="%CSS_Templates.name"
72 category="org.eclipse.wst.sse.ui.preferences.css"
73 class="org.eclipse.wst.css.ui.internal.preferences.ui.CSSTemplatePreferencePage"
74 id="org.eclipse.wst.css.ui.preferences.templates">
75 </page>
76 <page
david_williamsad0e4cc2005-06-04 01:49:19 +000077 name="%CSS_Styles.name"
78 category="org.eclipse.wst.sse.ui.preferences.css"
79 class="org.eclipse.wst.css.ui.internal.preferences.ui.CSSColorPage"
80 id="org.eclipse.wst.sse.ui.preferences.css.styles">
81 </page>
82 </extension>
83
amywu3a205672006-02-23 05:05:23 +000084 <!-- CSS Content Settings Property Page -->
david_williamsad0e4cc2005-06-04 01:49:19 +000085 <extension point="org.eclipse.ui.propertyPages">
86 <page
87 objectClass="org.eclipse.core.resources.IFile"
88 adaptable="true"
89 name="%WebContentSettings.name"
amywu3a205672006-02-23 05:05:23 +000090 class="org.eclipse.wst.css.ui.internal.contentproperties.ui.CSSWebContentSettingsPropertyPage"
91 id="org.eclipse.wst.css.ui.internal.contentproperties.CSSWebContentSettingsPropertyPage.css">
92 <filter
93 name="contentTypeId"
94 value="org.eclipse.wst.css.core.csssource">
95 </filter>
david_williamsad0e4cc2005-06-04 01:49:19 +000096 </page>
97 </extension>
98
99 <!-- Editor actionsets -->
100 <extension point="org.eclipse.ui.actionSetPartAssociations">
101 <actionSetPartAssociation
102 targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
103 <part id="org.eclipse.wst.css.core.csssource.source"></part>
104 </actionSetPartAssociation>
105 <actionSetPartAssociation
106 targetID="org.eclipse.ui.NavigateActionSet">
107 <part id="org.eclipse.wst.css.core.csssource.source"></part>
108 </actionSetPartAssociation>
109 </extension>
110
nitind410b6c22005-01-25 15:57:22 +0000111 <!-- initialize css ui preferences -->
112 <extension point="org.eclipse.core.runtime.preferences">
david_williamsad0e4cc2005-06-04 01:49:19 +0000113 <initializer
114 class="org.eclipse.wst.css.ui.internal.preferences.CSSUIPreferenceInitializer" />
nitind410b6c22005-01-25 15:57:22 +0000115 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000116
nitindcea15782005-02-17 04:54:36 +0000117 <!-- New CSS wizard -->
118 <extension point="org.eclipse.ui.newWizards">
david_williamsad0e4cc2005-06-04 01:49:19 +0000119 <wizard
120 id="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard"
nitindcea15782005-02-17 04:54:36 +0000121 name="%_UI_WIZARD_NAME"
122 class="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard"
123 category="org.eclipse.wst.web.ui"
david_williamsb5d05632006-02-27 09:24:00 +0000124 icon="$nl$/icons/full/etool16/newcss_wiz.gif">
nitindcea15782005-02-17 04:54:36 +0000125 <description>%_UI_WIZARD_CREATE_NEW_FILE</description>
126 <selection class="org.eclipse.core.resources.IResource" />
127 </wizard>
128 </extension>
129
david_williamsad0e4cc2005-06-04 01:49:19 +0000130 <extension point="org.eclipse.ui.popupMenus">
david_williamsa4dd7662005-04-14 00:33:20 +0000131 <viewerContribution
132 targetID="org.eclipse.wst.css.core.csssource.source.RulerContext"
david_williamsad0e4cc2005-06-04 01:49:19 +0000133 id="org.eclipse.ui.texteditor.ruler.context.actions">
david_williamsa4dd7662005-04-14 00:33:20 +0000134 <action
135 label="%AddTask.label"
136 helpContextId="org.eclipse.ui.AddTask_action_context"
137 class="org.eclipse.ui.texteditor.TaskRulerAction"
138 tooltip="%AddTask.tooltip"
139 menubarPath="additions"
140 id="org.eclipse.ui.texteditor.TaskRulerAction">
141 </action>
142 <action
143 label="%AddBookmark.label"
144 helpContextId="org.eclipse.ui.bookmark_action_context"
145 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
146 tooltip="%AddBookmark.tooltip"
147 menubarPath="additions"
148 id="org.eclipse.ui.texteditor.BookmarkRulerAction">
149 </action>
150 </viewerContribution>
151 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000152
nitind057e5c82005-06-16 04:12:26 +0000153 <!-- Templates -->
154 <extension point="org.eclipse.ui.editors.templates">
155 <contextType
156 name="%All_CSS_context_type_Extension_Element.name"
157 class="org.eclipse.wst.css.ui.internal.templates.TemplateContextTypeCSS"
158 id="css_all">
159 </contextType>
160 <contextType
161 name="%CSS_New_context_type_Extension_Element.name"
162 class="org.eclipse.wst.css.ui.internal.templates.TemplateContextTypeCSS"
163 id="css_new">
164 </contextType>
165 <include
166 file="templates/cssdefault-templates.xml"
david_williams73c174f2005-07-08 20:26:14 +0000167 translations="$nl$/templates/cssdefault-templates.properties">
nitind057e5c82005-06-16 04:12:26 +0000168 </include>
169 </extension>
nitind102e60a2005-09-15 12:42:42 +0000170
171 <!-- CSS editor actions -->
172 <extension point="org.eclipse.ui.editorActions">
173 <editorContribution
174 id="org.eclipse.wst.css.core.csssource.source.editorActions"
175 targetID="org.eclipse.wst.css.core.csssource.source">
176 <action
177 id="CleanupDocument"
178 label="%CleanupDocument_label"
179 definitionId="org.eclipse.wst.sse.ui.cleanup.document"
180 tooltip="%CleanupDocument_tooltip"
181 class="org.eclipse.wst.css.ui.internal.edit.ui.CleanupActionCSSDelegate"
182 actionID="CleanupDocument">
183 </action>
184 <action
185 id="StructureSelectEnclosing"
186 label="%StructureSelectEnclosing_label"
187 definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing"
188 tooltip="%StructureSelectEnclosing_tooltip"
189 class="org.eclipse.wst.css.ui.internal.selection.StructuredSelectEnclosingCSSActionDelegate"
190 actionID="StructureSelectEnclosing">
191 </action>
192 <action
193 id="StructureSelectNext"
194 label="%StructureSelectNext_label"
195 definitionId="org.eclipse.wst.sse.ui.structure.select.next"
196 tooltip="%StructureSelectNext_tooltip"
197 class="org.eclipse.wst.css.ui.internal.selection.StructuredSelectNextCSSActionDelegate"
198 actionID="StructureSelectNext">
199 </action>
200 <action
201 id="StructureSelectPrevious"
202 label="%StructureSelectPrevious_label"
203 definitionId="org.eclipse.wst.sse.ui.structure.select.previous"
204 tooltip="%StructureSelectPrevious_tooltip"
205 class="org.eclipse.wst.css.ui.internal.selection.StructuredSelectPreviousCSSActionDelegate"
206 actionID="StructureSelectPrevious">
207 </action>
208 <action
209 id="StructureSelectHistory"
210 label="%StructureSelectHistory_label"
211 definitionId="org.eclipse.wst.sse.ui.structure.select.last"
212 tooltip="%StructureSelectHistory_tooltip"
213 class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate"
214 actionID="StructureSelectHistory">
215 </action>
216 </editorContribution>
nitind6d98c7b2005-10-07 21:17:31 +0000217 <editorContribution
218 targetID="org.eclipse.wst.css.core.csssource.source"
219 id="org.eclipse.wst.css.core.csssource.ruler.actions">
220 <action
amywu34aa9802005-12-06 23:33:16 +0000221 label="%AddBookmark.label"
nitind6d98c7b2005-10-07 21:17:31 +0000222 helpContextId="org.eclipse.ui.bookmark_action_context"
223 class="org.eclipse.ui.texteditor.BookmarkRulerAction"
224 actionID="RulerDoubleClick"
225 id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
226 <action
amywu34aa9802005-12-06 23:33:16 +0000227 label="%SelectRuler.label"
nitind6d98c7b2005-10-07 21:17:31 +0000228 class="org.eclipse.ui.texteditor.SelectRulerAction"
229 actionID="RulerClick"
230 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
231 </editorContribution>
nitind102e60a2005-09-15 12:42:42 +0000232 </extension>
nitind958d79a2004-11-23 19:23:00 +0000233</plugin>