david_williams | cfdb2cd | 2004-11-11 08:37:49 +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> |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 4 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 5 | <extension point="org.eclipse.ui.editors"> |
nitind | 35747e3 | 2006-02-20 18:52:34 +0000 | [diff] [blame] | 6 | <!-- class="org.eclipse.wst.sse.ui.StructuredTextEditor" --> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 7 | <editor |
| 8 | name="%DTD_Source_Page_Editor.name" |
david_williams | b5d0563 | 2006-02-27 09:24:00 +0000 | [diff] [blame] | 9 | icon="$nl$/icons/full/obj16/DTDFile.gif" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 10 | contributorClass="org.eclipse.wst.dtd.ui.internal.editor.ActionContributorDTD" |
nitind | 35747e3 | 2006-02-20 18:52:34 +0000 | [diff] [blame] | 11 | class="org.eclipse.wst.dtd.ui.internal.DTDEditor" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 12 | symbolicFontName="org.eclipse.wst.sse.ui.textfont" |
david_williams | cfeb244 | 2005-04-09 05:26:17 +0000 | [diff] [blame] | 13 | id="org.eclipse.wst.dtd.core.dtdsource.source"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 14 | <contentTypeBinding |
| 15 | contentTypeId="org.eclipse.wst.dtd.core.dtdsource" /> |
| 16 | </editor> |
| 17 | </extension> |
| 18 | |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 19 | <extension point="org.eclipse.wst.sse.ui.editorConfiguration"> |
| 20 | <contentOutlineConfiguration |
nitind | 1bf20a1 | 2005-09-15 11:48:15 +0000 | [diff] [blame] | 21 | class="org.eclipse.wst.dtd.ui.views.contentoutline.DTDContentOutlineConfiguration" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 22 | target="org.eclipse.wst.dtd.core.dtdsource" /> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 23 | <sourceViewerConfiguration |
nitind | d8da725 | 2005-11-07 05:50:26 +0000 | [diff] [blame] | 24 | class="org.eclipse.wst.dtd.ui.StructuredTextViewerConfigurationDTD" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 25 | target="org.eclipse.wst.dtd.core.dtdsource" /> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 26 | <provisionalConfiguration |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 27 | type="characterpairmatcher" |
| 28 | class="org.eclipse.wst.dtd.ui.internal.text.DTDDocumentRegionEdgeMatcher" |
| 29 | target="org.eclipse.wst.dtd.core.dtdsource" /> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 30 | <provisionalConfiguration |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 31 | type="structuredtextfoldingprovider" |
| 32 | class="org.eclipse.wst.dtd.ui.internal.projection.StructuredTextFoldingProviderDTD" |
| 33 | target="org.eclipse.wst.dtd.core.dtdsource" /> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 34 | <provisionalDefinition |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 35 | type="preferencepages" |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 36 | value="org.eclipse.wst.sse.ui.preferences.dtd, org.eclipse.wst.sse.ui.preferences.dtd.templates, org.eclipse.wst.sse.ui.preferences.dtd.styles" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 37 | target="org.eclipse.wst.dtd.core.dtdsource" /> |
| 38 | <!-- provide syntax highlighting for DTD subset within XML --> |
nitind | f8e7763 | 2005-09-07 23:49:25 +0000 | [diff] [blame] | 39 | <provisionalConfiguration |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 40 | type="linestyleprovider" |
| 41 | class="org.eclipse.wst.dtd.ui.internal.style.LineStyleProviderForDTDSubSet" |
| 42 | target="org.eclipse.wst.xml.dtd.internal_subset" /> |
| 43 | </extension> |
nitind | 50ebc6d | 2005-02-17 00:17:24 +0000 | [diff] [blame] | 44 | |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 45 | <extension point="org.eclipse.ui.editorActions"> |
| 46 | <editorContribution |
| 47 | targetID="org.eclipse.wst.dtd.core.dtdsource.source" |
| 48 | id="org.eclipse.wst.dtd.core.dtdsource.ruler.actions"> |
| 49 | <action |
amywu | 34aa980 | 2005-12-06 23:33:16 +0000 | [diff] [blame] | 50 | label="%AddBookmark.label" |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 51 | helpContextId="org.eclipse.ui.bookmark_action_context" |
| 52 | class="org.eclipse.ui.texteditor.BookmarkRulerAction" |
| 53 | actionID="RulerDoubleClick" |
| 54 | id="org.eclipse.ui.texteditor.BookmarkRulerAction"/> |
| 55 | <action |
amywu | 34aa980 | 2005-12-06 23:33:16 +0000 | [diff] [blame] | 56 | label="%SelectRuler.label" |
nitind | 6d98c7b | 2005-10-07 21:17:31 +0000 | [diff] [blame] | 57 | class="org.eclipse.ui.texteditor.SelectRulerAction" |
| 58 | actionID="RulerClick" |
| 59 | id="org.eclipse.ui.texteditor.SelectRulerAction"/> |
| 60 | </editorContribution> |
| 61 | </extension> |
| 62 | |
nitind | 50ebc6d | 2005-02-17 00:17:24 +0000 | [diff] [blame] | 63 | <!-- use a specific annotation model with FileBuffers --> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 64 | <extension |
| 65 | point="org.eclipse.core.filebuffers.annotationModelCreation"> |
| 66 | <factory |
| 67 | contentTypeId="org.eclipse.wst.dtd.core.dtdsource" |
| 68 | class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" /> |
| 69 | </extension> |
nitind | 50ebc6d | 2005-02-17 00:17:24 +0000 | [diff] [blame] | 70 | |
| 71 | <!-- Register the UI adapter factory provider --> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 72 | <extension |
| 73 | point="org.eclipse.wst.sse.ui.adapterFactoryDescription"> |
| 74 | <adapterFactoryDescription |
| 75 | class="org.eclipse.wst.dtd.ui.internal.registry.AdapterFactoryProviderForDTD"> |
| 76 | <contentType id="org.eclipse.wst.dtd.core.dtdsource" /> |
| 77 | </adapterFactoryDescription> |
| 78 | </extension> |
nitind | 50ebc6d | 2005-02-17 00:17:24 +0000 | [diff] [blame] | 79 | |
| 80 | <!-- Editor actionsets --> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 81 | <extension point="org.eclipse.ui.actionSetPartAssociations"> |
| 82 | <actionSetPartAssociation |
| 83 | targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation"> |
| 84 | <part id="org.eclipse.wst.dtd.core.dtdsource.source" /> |
| 85 | </actionSetPartAssociation> |
| 86 | <actionSetPartAssociation |
| 87 | targetID="org.eclipse.ui.NavigateActionSet"> |
| 88 | <part id="org.eclipse.wst.dtd.core.dtdsource.source" /> |
| 89 | </actionSetPartAssociation> |
| 90 | </extension> |
nitind | d6e591d | 2005-03-14 22:21:57 +0000 | [diff] [blame] | 91 | |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 92 | <extension point="org.eclipse.ui.preferencePages"> |
| 93 | <page |
| 94 | name="%_UI_LABEL_DTD_FILES" |
| 95 | category="org.eclipse.wst.sse.ui.internal.provisional.preferences" |
| 96 | class="org.eclipse.wst.dtd.ui.internal.preferences.DTDFilesPreferencePage" |
| 97 | id="org.eclipse.wst.sse.ui.preferences.dtd"> |
| 98 | </page> |
| 99 | <page |
nitind | f6c5d88 | 2005-06-21 18:16:25 +0000 | [diff] [blame] | 100 | name="%DTD_Templates.name" |
| 101 | category="org.eclipse.wst.sse.ui.preferences.dtd" |
| 102 | class="org.eclipse.wst.dtd.ui.internal.preferences.DTDTemplatePreferencePage" |
| 103 | id="org.eclipse.wst.sse.ui.preferences.dtd.templates"> |
| 104 | </page> |
| 105 | <page |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 106 | name="%_UI_LABEL_DTD_STYLES" |
| 107 | category="org.eclipse.wst.sse.ui.preferences.dtd" |
nitind | d6e591d | 2005-03-14 22:21:57 +0000 | [diff] [blame] | 108 | class="org.eclipse.wst.dtd.ui.internal.preferences.DTDColorPage" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 109 | id="org.eclipse.wst.sse.ui.preferences.dtd.styles"> |
| 110 | </page> |
| 111 | </extension> |
nitind | 50ebc6d | 2005-02-17 00:17:24 +0000 | [diff] [blame] | 112 | |
| 113 | <!-- New DTD wizard --> |
| 114 | <extension point="org.eclipse.ui.newWizards"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 115 | <wizard |
| 116 | id="org.eclipse.wst.dtd.ui.internal.wizard.NewDTDWizard" |
| 117 | name="%_UI_WIZARD_NEW_DTD" |
| 118 | class="org.eclipse.wst.dtd.ui.internal.wizard.NewDTDWizard" |
| 119 | category="org.eclipse.wst.XMLCategory" |
david_williams | b5d0563 | 2006-02-27 09:24:00 +0000 | [diff] [blame] | 120 | icon="$nl$/icons/full/etool16/newdtd_wiz.gif"> |
nitind | 50ebc6d | 2005-02-17 00:17:24 +0000 | [diff] [blame] | 121 | <description>%_UI_CREATE_NEW_DTD_FILE</description> |
| 122 | <selection class="org.eclipse.core.resources.IResource" /> |
| 123 | </wizard> |
| 124 | </extension> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 125 | |
nitind | 50ebc6d | 2005-02-17 00:17:24 +0000 | [diff] [blame] | 126 | <!-- initialize DTD ui preferences --> |
nitind | 410b6c2 | 2005-01-25 15:57:22 +0000 | [diff] [blame] | 127 | <extension point="org.eclipse.core.runtime.preferences"> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 128 | <initializer |
| 129 | class="org.eclipse.wst.dtd.ui.internal.preferences.DTDUIPreferenceInitializer" /> |
nitind | 410b6c2 | 2005-01-25 15:57:22 +0000 | [diff] [blame] | 130 | </extension> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 131 | |
| 132 | <extension point="org.eclipse.ui.popupMenus"> |
david_williams | a4dd766 | 2005-04-14 00:33:20 +0000 | [diff] [blame] | 133 | <viewerContribution |
nitind | 8df4980 | 2005-08-31 03:27:15 +0000 | [diff] [blame] | 134 | targetID="org.eclipse.wst.dtd.core.dtdsource.source.RulerContext" |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 135 | id="org.eclipse.ui.texteditor.ruler.context.actions"> |
david_williams | a4dd766 | 2005-04-14 00:33:20 +0000 | [diff] [blame] | 136 | <action |
| 137 | label="%AddTask.label" |
| 138 | helpContextId="org.eclipse.ui.AddTask_action_context" |
| 139 | class="org.eclipse.ui.texteditor.TaskRulerAction" |
| 140 | tooltip="%AddTask.tooltip" |
| 141 | menubarPath="additions" |
| 142 | id="org.eclipse.ui.texteditor.TaskRulerAction"> |
| 143 | </action> |
| 144 | <action |
| 145 | label="%AddBookmark.label" |
| 146 | helpContextId="org.eclipse.ui.bookmark_action_context" |
| 147 | class="org.eclipse.ui.texteditor.BookmarkRulerAction" |
| 148 | tooltip="%AddBookmark.tooltip" |
| 149 | menubarPath="additions" |
| 150 | id="org.eclipse.ui.texteditor.BookmarkRulerAction"> |
| 151 | </action> |
| 152 | </viewerContribution> |
| 153 | </extension> |
david_williams | ad0e4cc | 2005-06-04 01:49:19 +0000 | [diff] [blame] | 154 | |
nitind | f6c5d88 | 2005-06-21 18:16:25 +0000 | [diff] [blame] | 155 | <!-- Templates --> |
| 156 | <extension point="org.eclipse.ui.editors.templates"> |
| 157 | <contextType |
| 158 | name="%DTD_New_context_type_Extension_Element.name" |
| 159 | class="org.eclipse.wst.dtd.ui.internal.templates.TemplateContextTypeDTD" |
| 160 | id="dtd_new"> |
| 161 | </contextType> |
| 162 | </extension> |
| 163 | |
nitind | 35747e3 | 2006-02-20 18:52:34 +0000 | [diff] [blame] | 164 | <extension |
| 165 | point="org.eclipse.wst.common.ui.properties.propertyContributor"> |
| 166 | <propertyContributor |
| 167 | contributorId="org.eclipse.wst.dtd.core.dtdsource.source" |
| 168 | sectionDescriptorProvider="org.eclipse.wst.dtd.ui.internal.properties.section.DTDSectionDescriptorProvider" |
| 169 | labelProvider="org.eclipse.wst.dtd.ui.internal.properties.section.DTDSectionLabelProvider"> |
| 170 | <propertyCategory |
| 171 | category="general"> |
| 172 | </propertyCategory> |
| 173 | <propertyCategory |
| 174 | category="other"> |
| 175 | </propertyCategory> |
| 176 | <propertyCategory |
| 177 | category="attributes"> |
| 178 | </propertyCategory> |
| 179 | <propertyCategory |
| 180 | category="documentation"> |
| 181 | </propertyCategory> |
| 182 | </propertyContributor> |
| 183 | </extension> |
| 184 | |
| 185 | <extension |
| 186 | point="org.eclipse.wst.common.ui.properties.propertyTabs"> |
| 187 | <propertyTabs |
| 188 | contributorId="org.eclipse.wst.dtd.core.dtdsource.source"> |
| 189 | <propertyTab |
| 190 | label="%_UI_LABEL_GENERAL" |
| 191 | category="general" |
| 192 | id="org.eclipse.wst.dtd.ui.internal.general"> |
| 193 | </propertyTab> |
| 194 | <propertyTab |
| 195 | label="%_UI_LABEL_OTHER" |
| 196 | category="other" |
| 197 | id="org.eclipse.wst.dtd.ui.internal.other"> |
| 198 | </propertyTab> |
| 199 | <propertyTab |
| 200 | label="%_UI_LABEL_ATTRIBUTES" |
| 201 | category="attributes" |
| 202 | id="org.eclipse.wst.dtd.ui.internal.attributes"> |
| 203 | </propertyTab> |
| 204 | <propertyTab |
| 205 | label="%_UI_LABEL_DOCUMENTATION" |
| 206 | category="documentation" |
| 207 | id="org.eclipse.wst.dtd.ui.internal.documentation"> |
| 208 | </propertyTab> |
| 209 | </propertyTabs> |
| 210 | </extension> |
| 211 | |
david_williams | cfdb2cd | 2004-11-11 08:37:49 +0000 | [diff] [blame] | 212 | </plugin> |