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> |
| 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 |
nitind | 057e5c8 | 2005-06-16 04:12:26 +0000 | [diff] [blame] | 71 | 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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 77 | 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 | |
amywu | 3a20567 | 2006-02-23 05:05:23 +0000 | [diff] [blame] | 84 | <!-- CSS Content Settings Property Page --> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 85 | <extension point="org.eclipse.ui.propertyPages"> |
| 86 | <page |
| 87 | objectClass="org.eclipse.core.resources.IFile" |
| 88 | adaptable="true" |
| 89 | name="%WebContentSettings.name" |
amywu | 3a20567 | 2006-02-23 05:05:23 +0000 | [diff] [blame] | 90 | 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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 96 | </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 | |
nitind | 410b6c2 | 2005-01-25 15:57:22 +0000 | [diff] [blame] | 111 | <!-- initialize css ui preferences --> |
| 112 | <extension point="org.eclipse.core.runtime.preferences"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 113 | <initializer |
| 114 | class="org.eclipse.wst.css.ui.internal.preferences.CSSUIPreferenceInitializer" /> |
nitind | 410b6c2 | 2005-01-25 15:57:22 +0000 | [diff] [blame] | 115 | </extension> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 116 | |
nitind | cea1578 | 2005-02-17 04:54:36 +0000 | [diff] [blame] | 117 | <!-- New CSS wizard --> |
| 118 | <extension point="org.eclipse.ui.newWizards"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 119 | <wizard |
| 120 | id="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard" |
nitind | cea1578 | 2005-02-17 04:54:36 +0000 | [diff] [blame] | 121 | name="%_UI_WIZARD_NAME" |
| 122 | class="org.eclipse.wst.css.ui.internal.wizard.NewCSSWizard" |
| 123 | category="org.eclipse.wst.web.ui" |
david_williams | b5d0563 | 2006-02-27 09:24:00 +0000 | [diff] [blame] | 124 | icon="$nl$/icons/full/etool16/newcss_wiz.gif"> |
nitind | cea1578 | 2005-02-17 04:54:36 +0000 | [diff] [blame] | 125 | <description>%_UI_WIZARD_CREATE_NEW_FILE</description> |
| 126 | <selection class="org.eclipse.core.resources.IResource" /> |
| 127 | </wizard> |
| 128 | </extension> |
| 129 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 130 | <extension point="org.eclipse.ui.popupMenus"> |
david_williams | a4dd766 | 2005-04-14 00:33:20 +0000 | [diff] [blame] | 131 | <viewerContribution |
| 132 | targetID="org.eclipse.wst.css.core.csssource.source.RulerContext" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 133 | id="org.eclipse.ui.texteditor.ruler.context.actions"> |
david_williams | a4dd766 | 2005-04-14 00:33:20 +0000 | [diff] [blame] | 134 | <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_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 152 | |
nitind | 057e5c8 | 2005-06-16 04:12:26 +0000 | [diff] [blame] | 153 | <!-- 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_williams | 73c174f | 2005-07-08 20:26:14 +0000 | [diff] [blame] | 167 | translations="$nl$/templates/cssdefault-templates.properties"> |
nitind | 057e5c8 | 2005-06-16 04:12:26 +0000 | [diff] [blame] | 168 | </include> |
| 169 | </extension> |
nitind | 102e60a | 2005-09-15 12:42:42 +0000 | [diff] [blame] | 170 | |
| 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> |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 217 | <editorContribution |
| 218 | targetID="org.eclipse.wst.css.core.csssource.source" |
| 219 | id="org.eclipse.wst.css.core.csssource.ruler.actions"> |
| 220 | <action |
amywu | 34aa980 | 2005-12-06 23:33:16 +0000 | [diff] [blame] | 221 | label="%AddBookmark.label" |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 222 | 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 |
amywu | 34aa980 | 2005-12-06 23:33:16 +0000 | [diff] [blame] | 227 | label="%SelectRuler.label" |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 228 | class="org.eclipse.ui.texteditor.SelectRulerAction" |
| 229 | actionID="RulerClick" |
| 230 | id="org.eclipse.ui.texteditor.SelectRulerAction"/> |
| 231 | </editorContribution> |
nitind | 102e60a | 2005-09-15 12:42:42 +0000 | [diff] [blame] | 232 | </extension> |
nitind | 958d79a | 2004-11-23 19:23:00 +0000 | [diff] [blame] | 233 | </plugin> |