blob: 1d64f00d9613eeeb06e39a1b0de7b4db5b6a8335 [file] [log] [blame]
david_williamscfdb2cd2004-11-11 08:37:49 +00001<?xml version="1.0" encoding="UTF-8"?>
2<?eclipse version="3.0"?>
jeffliu38477e82005-05-30 00:52:19 +00003<plugin>
david_williamscfdb2cd2004-11-11 08:37:49 +00004
david_williamsad0e4cc2005-06-04 01:49:19 +00005 <extension point="org.eclipse.ui.editors">
nitind35747e32006-02-20 18:52:34 +00006 <!-- class="org.eclipse.wst.sse.ui.StructuredTextEditor" -->
david_williamsad0e4cc2005-06-04 01:49:19 +00007 <editor
8 name="%DTD_Source_Page_Editor.name"
david_williamsb5d05632006-02-27 09:24:00 +00009 icon="$nl$/icons/full/obj16/DTDFile.gif"
david_williamsad0e4cc2005-06-04 01:49:19 +000010 contributorClass="org.eclipse.wst.dtd.ui.internal.editor.ActionContributorDTD"
nitind35747e32006-02-20 18:52:34 +000011 class="org.eclipse.wst.dtd.ui.internal.DTDEditor"
david_williamsad0e4cc2005-06-04 01:49:19 +000012 symbolicFontName="org.eclipse.wst.sse.ui.textfont"
david_williamscfeb2442005-04-09 05:26:17 +000013 id="org.eclipse.wst.dtd.core.dtdsource.source">
david_williamsad0e4cc2005-06-04 01:49:19 +000014 <contentTypeBinding
15 contentTypeId="org.eclipse.wst.dtd.core.dtdsource" />
16 </editor>
17 </extension>
18
nitindf8e77632005-09-07 23:49:25 +000019 <extension point="org.eclipse.wst.sse.ui.editorConfiguration">
20 <contentOutlineConfiguration
nitind1bf20a12005-09-15 11:48:15 +000021 class="org.eclipse.wst.dtd.ui.views.contentoutline.DTDContentOutlineConfiguration"
david_williamsad0e4cc2005-06-04 01:49:19 +000022 target="org.eclipse.wst.dtd.core.dtdsource" />
nitindf8e77632005-09-07 23:49:25 +000023 <sourceViewerConfiguration
nitindd8da7252005-11-07 05:50:26 +000024 class="org.eclipse.wst.dtd.ui.StructuredTextViewerConfigurationDTD"
david_williamsad0e4cc2005-06-04 01:49:19 +000025 target="org.eclipse.wst.dtd.core.dtdsource" />
nitindf8e77632005-09-07 23:49:25 +000026 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000027 type="characterpairmatcher"
28 class="org.eclipse.wst.dtd.ui.internal.text.DTDDocumentRegionEdgeMatcher"
29 target="org.eclipse.wst.dtd.core.dtdsource" />
nitindf8e77632005-09-07 23:49:25 +000030 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000031 type="structuredtextfoldingprovider"
32 class="org.eclipse.wst.dtd.ui.internal.projection.StructuredTextFoldingProviderDTD"
33 target="org.eclipse.wst.dtd.core.dtdsource" />
nitindf8e77632005-09-07 23:49:25 +000034 <provisionalDefinition
david_williamsad0e4cc2005-06-04 01:49:19 +000035 type="preferencepages"
nitindf8e77632005-09-07 23:49:25 +000036 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_williamsad0e4cc2005-06-04 01:49:19 +000037 target="org.eclipse.wst.dtd.core.dtdsource" />
38 <!-- provide syntax highlighting for DTD subset within XML -->
nitindf8e77632005-09-07 23:49:25 +000039 <provisionalConfiguration
david_williamsad0e4cc2005-06-04 01:49:19 +000040 type="linestyleprovider"
41 class="org.eclipse.wst.dtd.ui.internal.style.LineStyleProviderForDTDSubSet"
42 target="org.eclipse.wst.xml.dtd.internal_subset" />
43 </extension>
nitind50ebc6d2005-02-17 00:17:24 +000044
nitind6d98c7b2005-10-07 21:17:31 +000045 <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
amywu34aa9802005-12-06 23:33:16 +000050 label="%AddBookmark.label"
nitind6d98c7b2005-10-07 21:17:31 +000051 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
amywu34aa9802005-12-06 23:33:16 +000056 label="%SelectRuler.label"
nitind6d98c7b2005-10-07 21:17:31 +000057 class="org.eclipse.ui.texteditor.SelectRulerAction"
58 actionID="RulerClick"
59 id="org.eclipse.ui.texteditor.SelectRulerAction"/>
60 </editorContribution>
61 </extension>
62
nitind50ebc6d2005-02-17 00:17:24 +000063 <!-- use a specific annotation model with FileBuffers -->
david_williamsad0e4cc2005-06-04 01:49:19 +000064 <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>
nitind50ebc6d2005-02-17 00:17:24 +000070
71 <!-- Register the UI adapter factory provider -->
david_williamsad0e4cc2005-06-04 01:49:19 +000072 <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>
nitind50ebc6d2005-02-17 00:17:24 +000079
80 <!-- Editor actionsets -->
david_williamsad0e4cc2005-06-04 01:49:19 +000081 <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>
nitindd6e591d2005-03-14 22:21:57 +000091
david_williamsad0e4cc2005-06-04 01:49:19 +000092 <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
nitindf6c5d882005-06-21 18:16:25 +0000100 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_williamsad0e4cc2005-06-04 01:49:19 +0000106 name="%_UI_LABEL_DTD_STYLES"
107 category="org.eclipse.wst.sse.ui.preferences.dtd"
nitindd6e591d2005-03-14 22:21:57 +0000108 class="org.eclipse.wst.dtd.ui.internal.preferences.DTDColorPage"
david_williamsad0e4cc2005-06-04 01:49:19 +0000109 id="org.eclipse.wst.sse.ui.preferences.dtd.styles">
110 </page>
111 </extension>
nitind50ebc6d2005-02-17 00:17:24 +0000112
113 <!-- New DTD wizard -->
114 <extension point="org.eclipse.ui.newWizards">
david_williamsad0e4cc2005-06-04 01:49:19 +0000115 <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_williamsb5d05632006-02-27 09:24:00 +0000120 icon="$nl$/icons/full/etool16/newdtd_wiz.gif">
nitind50ebc6d2005-02-17 00:17:24 +0000121 <description>%_UI_CREATE_NEW_DTD_FILE</description>
122 <selection class="org.eclipse.core.resources.IResource" />
123 </wizard>
124 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000125
nitind50ebc6d2005-02-17 00:17:24 +0000126 <!-- initialize DTD ui preferences -->
nitind410b6c22005-01-25 15:57:22 +0000127 <extension point="org.eclipse.core.runtime.preferences">
david_williamsad0e4cc2005-06-04 01:49:19 +0000128 <initializer
129 class="org.eclipse.wst.dtd.ui.internal.preferences.DTDUIPreferenceInitializer" />
nitind410b6c22005-01-25 15:57:22 +0000130 </extension>
david_williamsad0e4cc2005-06-04 01:49:19 +0000131
132 <extension point="org.eclipse.ui.popupMenus">
david_williamsa4dd7662005-04-14 00:33:20 +0000133 <viewerContribution
nitind8df49802005-08-31 03:27:15 +0000134 targetID="org.eclipse.wst.dtd.core.dtdsource.source.RulerContext"
david_williamsad0e4cc2005-06-04 01:49:19 +0000135 id="org.eclipse.ui.texteditor.ruler.context.actions">
david_williamsa4dd7662005-04-14 00:33:20 +0000136 <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_williamsad0e4cc2005-06-04 01:49:19 +0000154
nitindf6c5d882005-06-21 18:16:25 +0000155 <!-- 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
nitind35747e32006-02-20 18:52:34 +0000164 <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_williamscfdb2cd2004-11-11 08:37:49 +0000212</plugin>