nitind | 958d79a | 2004-11-23 19:23:00 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <?eclipse version="3.0"?> |
jeffliu | 38477e8 | 2005-05-30 00:52:19 +0000 | [diff] [blame] | 3 | <plugin> |
nitind | 958d79a | 2004-11-23 19:23:00 +0000 | [diff] [blame] | 4 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 5 | <extension point="org.eclipse.ui.editors"> |
| 6 | <editor |
| 7 | name="%CSS_Source_Page_Editor.name" |
david_williams | b5d0563 | 2006-02-27 09:24:00 +0000 | [diff] [blame] | 8 | icon="$nl$/icons/full/obj16/sourceEditor.gif" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 9 | contributorClass="org.eclipse.wst.css.ui.internal.ActionContributorCSS" |
nitind | 102e60a | 2005-09-15 12:42:42 +0000 | [diff] [blame] | 10 | class="org.eclipse.wst.sse.ui.StructuredTextEditor" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 11 | 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 | |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 18 | <extension point="org.eclipse.wst.sse.ui.editorConfiguration"> |
| 19 | <contentOutlineConfiguration |
nitind | 1bf20a1 | 2005-09-15 11:48:15 +0000 | [diff] [blame] | 20 | class="org.eclipse.wst.css.ui.views.contentoutline.CSSContentOutlineConfiguration" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 21 | target="org.eclipse.wst.css.core.csssource" /> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 22 | <sourceViewerConfiguration |
nitind | 1bf20a1 | 2005-09-15 11:48:15 +0000 | [diff] [blame] | 23 | class="org.eclipse.wst.css.ui.StructuredTextViewerConfigurationCSS" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 24 | target="org.eclipse.wst.css.core.csssource" /> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 25 | <propertySheetConfiguration |
nitind | 1bf20a1 | 2005-09-15 11:48:15 +0000 | [diff] [blame] | 26 | class="org.eclipse.wst.css.ui.views.properties.CSSPropertySheetConfiguration" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 27 | target="org.eclipse.wst.css.core.csssource" /> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 28 | <provisionalConfiguration |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 29 | type="characterpairmatcher" |
| 30 | class="org.eclipse.wst.css.ui.internal.text.CSSDocumentRegionEdgeMatcher" |
| 31 | target="org.eclipse.wst.css.core.csssource" /> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 32 | <provisionalConfiguration |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 33 | type="structuredtextfoldingprovider" |
| 34 | class="org.eclipse.wst.css.ui.internal.projection.StructuredTextFoldingProviderCSS" |
| 35 | target="org.eclipse.wst.css.core.csssource" /> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 36 | <provisionalDefinition |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 37 | type="preferencepages" |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 38 | 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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 39 | target="org.eclipse.wst.css.core.csssource" /> |
| 40 | </extension> |
david_williams | e608895 | 2006-04-17 01:10:40 +0000 | [diff] [blame] | 41 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 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"> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 63 | <keywordReference id="org.eclipse.wst.css.ui.files"/> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 64 | </page> |
| 65 | <page |
| 66 | name="%CSS_Source.name" |
| 67 | category="org.eclipse.wst.sse.ui.preferences.css" |
| 68 | class="org.eclipse.wst.css.ui.internal.preferences.ui.CSSSourcePreferencePage" |
| 69 | id="org.eclipse.wst.sse.ui.preferences.css.source"> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 70 | <keywordReference id="org.eclipse.wst.css.ui.source"/> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 71 | </page> |
| 72 | <page |
nitind | 057e5c8 | 2005-06-16 04:12:26 +0000 | [diff] [blame] | 73 | name="%CSS_Templates.name" |
| 74 | category="org.eclipse.wst.sse.ui.preferences.css" |
| 75 | class="org.eclipse.wst.css.ui.internal.preferences.ui.CSSTemplatePreferencePage" |
| 76 | id="org.eclipse.wst.css.ui.preferences.templates"> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 77 | <keywordReference id="org.eclipse.wst.css.ui.templates"/> |
nitind | 057e5c8 | 2005-06-16 04:12:26 +0000 | [diff] [blame] | 78 | </page> |
| 79 | <page |
nitind | 8314839 | 2007-01-31 00:49:07 +0000 | [diff] [blame] | 80 | name="%CSS_Syntax_Coloring" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 81 | category="org.eclipse.wst.sse.ui.preferences.css" |
nitind | 8314839 | 2007-01-31 00:49:07 +0000 | [diff] [blame] | 82 | class="org.eclipse.wst.css.ui.internal.preferences.ui.CSSSyntaxColoringPage" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 83 | id="org.eclipse.wst.sse.ui.preferences.css.styles"> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 84 | <keywordReference id="org.eclipse.wst.css.ui.styles"/> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 85 | </page> |
| 86 | </extension> |
| 87 | |
amywu | 3a20567 | 2006-02-23 05:05:23 +0000 | [diff] [blame] | 88 | <!-- CSS Content Settings Property Page --> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 89 | <extension point="org.eclipse.ui.propertyPages"> |
| 90 | <page |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 91 | name="%WebContentSettings.name" |
amywu | 3a20567 | 2006-02-23 05:05:23 +0000 | [diff] [blame] | 92 | class="org.eclipse.wst.css.ui.internal.contentproperties.ui.CSSWebContentSettingsPropertyPage" |
| 93 | id="org.eclipse.wst.css.ui.internal.contentproperties.CSSWebContentSettingsPropertyPage.css"> |
amywu | 60df324 | 2006-11-03 23:45:29 +0000 | [diff] [blame] | 94 | <enabledWhen> |
| 95 | <and> |
| 96 | <adapt type="org.eclipse.core.resources.IFile"> |
| 97 | <or> |
| 98 | <test |
| 99 | forcePluginActivation="true" |
| 100 | property="org.eclipse.core.resources.contentTypeId" |
| 101 | value="org.eclipse.wst.css.core.csssource" /> |
| 102 | </or> |
| 103 | </adapt> |
| 104 | </and> |
| 105 | </enabledWhen> |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 106 | <keywordReference id="org.eclipse.wst.css.ui.webcontent"/> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 107 | </page> |
| 108 | </extension> |
| 109 | |
amywu | 73701a0 | 2006-12-06 00:16:27 +0000 | [diff] [blame] | 110 | <!-- Keywords for preference and properties pages --> |
| 111 | <extension point="org.eclipse.ui.keywords"> |
| 112 | <keyword |
| 113 | label="%preferenceKeywords.files" |
| 114 | id="org.eclipse.wst.css.ui.files"/> |
| 115 | <keyword |
| 116 | label="%preferenceKeywords.source" |
| 117 | id="org.eclipse.wst.css.ui.source"/> |
| 118 | <keyword |
| 119 | label="%preferenceKeywords.templates" |
| 120 | id="org.eclipse.wst.css.ui.templates"/> |
| 121 | <keyword |
| 122 | label="%preferenceKeywords.styles" |
| 123 | id="org.eclipse.wst.css.ui.styles"/> |
| 124 | <keyword |
| 125 | label="%preferenceKeywords.webcontent" |
| 126 | id="org.eclipse.wst.css.ui.webcontent"/> |
| 127 | </extension> |
| 128 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 129 | <!-- Editor actionsets --> |
| 130 | <extension point="org.eclipse.ui.actionSetPartAssociations"> |
| 131 | <actionSetPartAssociation |
| 132 | targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation"> |
| 133 | <part id="org.eclipse.wst.css.core.csssource.source"></part> |
| 134 | </actionSetPartAssociation> |
| 135 | <actionSetPartAssociation |
| 136 | targetID="org.eclipse.ui.NavigateActionSet"> |
| 137 | <part id="org.eclipse.wst.css.core.csssource.source"></part> |
| 138 | </actionSetPartAssociation> |
| 139 | </extension> |
| 140 | |
nitind | 410b6c2 | 2005-01-25 15:57:22 +0000 | [diff] [blame] | 141 | <!-- initialize css ui preferences --> |
| 142 | <extension point="org.eclipse.core.runtime.preferences"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 143 | <initializer |
| 144 | class="org.eclipse.wst.css.ui.internal.preferences.CSSUIPreferenceInitializer" /> |
nitind | 410b6c2 | 2005-01-25 15:57:22 +0000 | [diff] [blame] | 145 | </extension> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 146 | |
nitind | cea1578 | 2005-02-17 04:54:36 +0000 | [diff] [blame] | 147 | <!-- New CSS wizard --> |
| 148 | <extension point="org.eclipse.ui.newWizards"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 149 | <wizard |
| 150 | id="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard" |
nitind | cea1578 | 2005-02-17 04:54:36 +0000 | [diff] [blame] | 151 | name="%_UI_WIZARD_NAME" |
| 152 | class="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard" |
| 153 | category="org.eclipse.wst.web.ui" |
david_williams | b5d0563 | 2006-02-27 09:24:00 +0000 | [diff] [blame] | 154 | icon="$nl$/icons/full/etool16/newcss_wiz.gif"> |
nitind | cea1578 | 2005-02-17 04:54:36 +0000 | [diff] [blame] | 155 | <description>%_UI_WIZARD_CREATE_NEW_FILE</description> |
| 156 | <selection class="org.eclipse.core.resources.IResource" /> |
| 157 | </wizard> |
| 158 | </extension> |
| 159 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 160 | <extension point="org.eclipse.ui.popupMenus"> |
david_williams | a4dd766 | 2005-04-14 00:33:20 +0000 | [diff] [blame] | 161 | <viewerContribution |
| 162 | targetID="org.eclipse.wst.css.core.csssource.source.RulerContext" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 163 | id="org.eclipse.ui.texteditor.ruler.context.actions"> |
david_williams | a4dd766 | 2005-04-14 00:33:20 +0000 | [diff] [blame] | 164 | <action |
| 165 | label="%AddTask.label" |
| 166 | helpContextId="org.eclipse.ui.AddTask_action_context" |
| 167 | class="org.eclipse.ui.texteditor.TaskRulerAction" |
| 168 | tooltip="%AddTask.tooltip" |
| 169 | menubarPath="additions" |
| 170 | id="org.eclipse.ui.texteditor.TaskRulerAction"> |
| 171 | </action> |
| 172 | <action |
| 173 | label="%AddBookmark.label" |
| 174 | helpContextId="org.eclipse.ui.bookmark_action_context" |
| 175 | class="org.eclipse.ui.texteditor.BookmarkRulerAction" |
| 176 | tooltip="%AddBookmark.tooltip" |
| 177 | menubarPath="additions" |
| 178 | id="org.eclipse.ui.texteditor.BookmarkRulerAction"> |
| 179 | </action> |
| 180 | </viewerContribution> |
| 181 | </extension> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 182 | |
nitind | 057e5c8 | 2005-06-16 04:12:26 +0000 | [diff] [blame] | 183 | <!-- Templates --> |
| 184 | <extension point="org.eclipse.ui.editors.templates"> |
| 185 | <contextType |
| 186 | name="%All_CSS_context_type_Extension_Element.name" |
| 187 | class="org.eclipse.wst.css.ui.internal.templates.TemplateContextTypeCSS" |
| 188 | id="css_all"> |
| 189 | </contextType> |
| 190 | <contextType |
| 191 | name="%CSS_New_context_type_Extension_Element.name" |
| 192 | class="org.eclipse.wst.css.ui.internal.templates.TemplateContextTypeCSS" |
| 193 | id="css_new"> |
| 194 | </contextType> |
| 195 | <include |
| 196 | file="templates/cssdefault-templates.xml" |
david_williams | 73c174f | 2005-07-08 20:26:14 +0000 | [diff] [blame] | 197 | translations="$nl$/templates/cssdefault-templates.properties"> |
nitind | 057e5c8 | 2005-06-16 04:12:26 +0000 | [diff] [blame] | 198 | </include> |
| 199 | </extension> |
nitind | 102e60a | 2005-09-15 12:42:42 +0000 | [diff] [blame] | 200 | |
| 201 | <!-- CSS editor actions --> |
| 202 | <extension point="org.eclipse.ui.editorActions"> |
| 203 | <editorContribution |
| 204 | id="org.eclipse.wst.css.core.csssource.source.editorActions" |
| 205 | targetID="org.eclipse.wst.css.core.csssource.source"> |
| 206 | <action |
| 207 | id="CleanupDocument" |
| 208 | label="%CleanupDocument_label" |
| 209 | definitionId="org.eclipse.wst.sse.ui.cleanup.document" |
| 210 | tooltip="%CleanupDocument_tooltip" |
| 211 | class="org.eclipse.wst.css.ui.internal.edit.ui.CleanupActionCSSDelegate" |
| 212 | actionID="CleanupDocument"> |
| 213 | </action> |
| 214 | <action |
| 215 | id="StructureSelectEnclosing" |
| 216 | label="%StructureSelectEnclosing_label" |
| 217 | definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing" |
| 218 | tooltip="%StructureSelectEnclosing_tooltip" |
| 219 | class="org.eclipse.wst.css.ui.internal.selection.StructuredSelectEnclosingCSSActionDelegate" |
| 220 | actionID="StructureSelectEnclosing"> |
| 221 | </action> |
| 222 | <action |
| 223 | id="StructureSelectNext" |
| 224 | label="%StructureSelectNext_label" |
| 225 | definitionId="org.eclipse.wst.sse.ui.structure.select.next" |
| 226 | tooltip="%StructureSelectNext_tooltip" |
| 227 | class="org.eclipse.wst.css.ui.internal.selection.StructuredSelectNextCSSActionDelegate" |
| 228 | actionID="StructureSelectNext"> |
| 229 | </action> |
| 230 | <action |
| 231 | id="StructureSelectPrevious" |
| 232 | label="%StructureSelectPrevious_label" |
| 233 | definitionId="org.eclipse.wst.sse.ui.structure.select.previous" |
| 234 | tooltip="%StructureSelectPrevious_tooltip" |
| 235 | class="org.eclipse.wst.css.ui.internal.selection.StructuredSelectPreviousCSSActionDelegate" |
| 236 | actionID="StructureSelectPrevious"> |
| 237 | </action> |
| 238 | <action |
| 239 | id="StructureSelectHistory" |
| 240 | label="%StructureSelectHistory_label" |
| 241 | definitionId="org.eclipse.wst.sse.ui.structure.select.last" |
| 242 | tooltip="%StructureSelectHistory_tooltip" |
| 243 | class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate" |
| 244 | actionID="StructureSelectHistory"> |
| 245 | </action> |
| 246 | </editorContribution> |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 247 | <editorContribution |
| 248 | targetID="org.eclipse.wst.css.core.csssource.source" |
| 249 | id="org.eclipse.wst.css.core.csssource.ruler.actions"> |
| 250 | <action |
amywu | 34aa980 | 2005-12-06 23:33:16 +0000 | [diff] [blame] | 251 | label="%AddBookmark.label" |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 252 | helpContextId="org.eclipse.ui.bookmark_action_context" |
| 253 | class="org.eclipse.ui.texteditor.BookmarkRulerAction" |
| 254 | actionID="RulerDoubleClick" |
| 255 | id="org.eclipse.ui.texteditor.BookmarkRulerAction"/> |
| 256 | <action |
amywu | 34aa980 | 2005-12-06 23:33:16 +0000 | [diff] [blame] | 257 | label="%SelectRuler.label" |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 258 | class="org.eclipse.ui.texteditor.SelectRulerAction" |
| 259 | actionID="RulerClick" |
| 260 | id="org.eclipse.ui.texteditor.SelectRulerAction"/> |
| 261 | </editorContribution> |
nitind | 102e60a | 2005-09-15 12:42:42 +0000 | [diff] [blame] | 262 | </extension> |
nitind | 958d79a | 2004-11-23 19:23:00 +0000 | [diff] [blame] | 263 | </plugin> |