blob: 8f81cf1598fb356e7bd370a34a2e145a3a7a0b9e [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension point="org.eclipse.ui.editors">
<!-- class="org.eclipse.wst.sse.ui.StructuredTextEditor" -->
<editor
name="%DTD_Source_Page_Editor.name"
icon="$nl$/icons/full/obj16/DTDFile.gif"
contributorClass="org.eclipse.wst.dtd.ui.internal.editor.ActionContributorDTD"
class="org.eclipse.wst.dtd.ui.internal.DTDEditor"
symbolicFontName="org.eclipse.wst.sse.ui.textfont"
id="org.eclipse.wst.dtd.core.dtdsource.source">
<contentTypeBinding
contentTypeId="org.eclipse.wst.dtd.core.dtdsource" />
</editor>
</extension>
<extension point="org.eclipse.wst.sse.ui.editorConfiguration">
<contentOutlineConfiguration
class="org.eclipse.wst.dtd.ui.views.contentoutline.DTDContentOutlineConfiguration"
target="org.eclipse.wst.dtd.core.dtdsource" />
<sourceViewerConfiguration
class="org.eclipse.wst.dtd.ui.StructuredTextViewerConfigurationDTD"
target="org.eclipse.wst.dtd.core.dtdsource" />
<provisionalConfiguration
type="characterpairmatcher"
class="org.eclipse.wst.dtd.ui.internal.text.DTDDocumentRegionEdgeMatcher"
target="org.eclipse.wst.dtd.core.dtdsource" />
<provisionalConfiguration
type="structuredtextfoldingprovider"
class="org.eclipse.wst.dtd.ui.internal.projection.StructuredTextFoldingProviderDTD"
target="org.eclipse.wst.dtd.core.dtdsource" />
<provisionalDefinition
type="preferencepages"
value="org.eclipse.wst.sse.ui.preferences.dtd, org.eclipse.wst.sse.ui.preferences.dtd.templates, org.eclipse.wst.sse.ui.preferences.dtd.styles"
target="org.eclipse.wst.dtd.core.dtdsource" />
<!-- provide syntax highlighting for DTD subset within XML -->
<provisionalConfiguration
type="linestyleprovider"
class="org.eclipse.wst.dtd.ui.internal.style.LineStyleProviderForDTDSubSet"
target="org.eclipse.wst.xml.dtd.internal_subset" />
</extension>
<extension point="org.eclipse.ui.editorActions">
<editorContribution
targetID="org.eclipse.wst.dtd.core.dtdsource.source"
id="org.eclipse.wst.dtd.core.dtdsource.ruler.actions">
<action
label="%AddBookmark.label"
helpContextId="org.eclipse.ui.bookmark_action_context"
class="org.eclipse.ui.texteditor.BookmarkRulerAction"
actionID="RulerDoubleClick"
id="org.eclipse.ui.texteditor.BookmarkRulerAction"/>
<action
label="%SelectRuler.label"
class="org.eclipse.ui.texteditor.SelectRulerAction"
actionID="RulerClick"
id="org.eclipse.ui.texteditor.SelectRulerAction"/>
</editorContribution>
</extension>
<!-- use a specific annotation model with FileBuffers -->
<extension
point="org.eclipse.core.filebuffers.annotationModelCreation">
<factory
contentTypeId="org.eclipse.wst.dtd.core.dtdsource"
class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" />
</extension>
<!-- Register the UI adapter factory provider -->
<extension
point="org.eclipse.wst.sse.ui.adapterFactoryDescription">
<adapterFactoryDescription
class="org.eclipse.wst.dtd.ui.internal.registry.AdapterFactoryProviderForDTD">
<contentType id="org.eclipse.wst.dtd.core.dtdsource" />
</adapterFactoryDescription>
</extension>
<!-- Editor actionsets -->
<extension point="org.eclipse.ui.actionSetPartAssociations">
<actionSetPartAssociation
targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation">
<part id="org.eclipse.wst.dtd.core.dtdsource.source" />
</actionSetPartAssociation>
<actionSetPartAssociation
targetID="org.eclipse.ui.NavigateActionSet">
<part id="org.eclipse.wst.dtd.core.dtdsource.source" />
</actionSetPartAssociation>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page
name="%_UI_LABEL_DTD_FILES"
category="org.eclipse.wst.sse.ui.internal.provisional.preferences"
class="org.eclipse.wst.dtd.ui.internal.preferences.DTDFilesPreferencePage"
id="org.eclipse.wst.sse.ui.preferences.dtd">
</page>
<page
name="%DTD_Templates.name"
category="org.eclipse.wst.sse.ui.preferences.dtd"
class="org.eclipse.wst.dtd.ui.internal.preferences.DTDTemplatePreferencePage"
id="org.eclipse.wst.sse.ui.preferences.dtd.templates">
</page>
<page
name="%_UI_LABEL_DTD_STYLES"
category="org.eclipse.wst.sse.ui.preferences.dtd"
class="org.eclipse.wst.dtd.ui.internal.preferences.DTDColorPage"
id="org.eclipse.wst.sse.ui.preferences.dtd.styles">
</page>
</extension>
<!-- New DTD wizard -->
<extension point="org.eclipse.ui.newWizards">
<wizard
id="org.eclipse.wst.dtd.ui.internal.wizard.NewDTDWizard"
name="%_UI_WIZARD_NEW_DTD"
class="org.eclipse.wst.dtd.ui.internal.wizard.NewDTDWizard"
category="org.eclipse.wst.XMLCategory"
icon="$nl$/icons/full/etool16/newdtd_wiz.gif">
<description>%_UI_CREATE_NEW_DTD_FILE</description>
<selection class="org.eclipse.core.resources.IResource" />
</wizard>
</extension>
<!-- initialize DTD ui preferences -->
<extension point="org.eclipse.core.runtime.preferences">
<initializer
class="org.eclipse.wst.dtd.ui.internal.preferences.DTDUIPreferenceInitializer" />
</extension>
<extension point="org.eclipse.ui.popupMenus">
<viewerContribution
targetID="org.eclipse.wst.dtd.core.dtdsource.source.RulerContext"
id="org.eclipse.ui.texteditor.ruler.context.actions">
<action
label="%AddTask.label"
helpContextId="org.eclipse.ui.AddTask_action_context"
class="org.eclipse.ui.texteditor.TaskRulerAction"
tooltip="%AddTask.tooltip"
menubarPath="additions"
id="org.eclipse.ui.texteditor.TaskRulerAction">
</action>
<action
label="%AddBookmark.label"
helpContextId="org.eclipse.ui.bookmark_action_context"
class="org.eclipse.ui.texteditor.BookmarkRulerAction"
tooltip="%AddBookmark.tooltip"
menubarPath="additions"
id="org.eclipse.ui.texteditor.BookmarkRulerAction">
</action>
</viewerContribution>
</extension>
<!-- Templates -->
<extension point="org.eclipse.ui.editors.templates">
<contextType
name="%DTD_New_context_type_Extension_Element.name"
class="org.eclipse.wst.dtd.ui.internal.templates.TemplateContextTypeDTD"
id="dtd_new">
</contextType>
</extension>
<extension
id="org.eclipse.wst.dtd.ui.propertyContributor"
point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
<propertyContributor
contributorId="org.eclipse.wst.dtd.core.dtdsource.source"
labelProvider="org.eclipse.wst.dtd.ui.internal.properties.section.DTDSectionLabelProvider"
typeMapper="org.eclipse.wst.dtd.ui.internal.properties.section.DTDTypeMapper">
<propertyCategory
category="dtd.ui.general"/>
<propertyCategory
category="dtd.ui.other"/>
<propertyCategory
category="dtd.ui.attributes"/>
<propertyCategory
category="dtd.ui.documentation"/>
</propertyContributor>
</extension>
<extension
point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
<propertyTabs
contributorId="org.eclipse.wst.dtd.core.dtdsource.source">
<propertyTab
label="%_UI_LABEL_GENERAL"
category="dtd.ui.general"
id="org.eclipse.wst.dtd.ui.general"/>
<propertyTab
afterTab="org.eclipse.wst.dtd.ui.general"
category="dtd.ui.attributes"
id="org.eclipse.wst.dtd.ui.attributes"
label="%_UI_LABEL_ATTRIBUTES"/>
<propertyTab
afterTab="org.eclipse.wst.dtd.ui.attributes"
category="dtd.ui.other"
id="org.eclipse.wst.dtd.ui.other"
label="%_UI_LABEL_OTHER"/>
<propertyTab
afterTab="org.eclipse.wst.dtd.ui.attributes"
category="dtd.ui.documentation"
id="org.eclipse.wst.dtd.ui.documentation"
label="%_UI_LABEL_DOCUMENTATION"/>
</propertyTabs>
</extension>
<extension point="org.eclipse.ui.views.properties.tabbed.propertySections">
<propertySections contributorId="org.eclipse.wst.dtd.core.dtdsource.source">
<propertySection
class="org.eclipse.wst.dtd.ui.internal.properties.section.NameSection"
enablesFor="1"
id="org.eclipse.wst.dtd.ui.internal.properties.section.NameSection"
tab="org.eclipse.wst.dtd.ui.general">
<input type="org.eclipse.wst.dtd.core.internal.Element"/>
<input type="org.eclipse.wst.dtd.core.internal.Attribute"/>
<input type="org.eclipse.wst.dtd.core.internal.AttributeList"/>
<input type="org.eclipse.wst.dtd.core.internal.Notation"/>
</propertySection>
<propertySection tab="org.eclipse.wst.dtd.ui.general"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.AttributeDefaultSection"
id="org.eclipse.wst.dtd.ui.internal.properties.section.AttributeDefaultSection">
<input type="org.eclipse.wst.dtd.core.internal.Attribute"/>
</propertySection>
<propertySection tab="org.eclipse.wst.dtd.ui.general"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.CommentSection"
id="org.eclipse.wst.dtd.ui.internal.properties.section.CommentSection">
<input type="org.eclipse.wst.dtd.core.internal.Comment"/>
</propertySection>
<propertySection tab="org.eclipse.wst.dtd.ui.general"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.ContentModelGroupSection"
id="org.eclipse.wst.dtd.ui.internal.properties.section.ContentModelGroupSection">
<input type="org.eclipse.wst.dtd.core.internal.CMGroupNode"/>
</propertySection>
<propertySection
class="org.eclipse.wst.dtd.ui.internal.properties.section.ContentModelNameSection"
filter="org.eclipse.wst.dtd.ui.internal.properties.section.ContentModelNameFilter"
id="org.eclipse.wst.dtd.ui.internal.properties.section.ContentModelNameSection"
enablesFor="1"
tab="org.eclipse.wst.dtd.ui.general">
<input type="org.eclipse.wst.dtd.core.internal.CMBasicNode"/>
</propertySection>
<propertySection tab="org.eclipse.wst.dtd.ui.other"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.ContentModelTypeSection"
id="org.eclipse.wst.dtd.ui.internal.properties.section.ContentModelTypeSection">
<input type="org.eclipse.wst.dtd.core.internal.CMBasicNode"/>
<input type="org.eclipse.wst.dtd.core.internal.CMGroupNode"/>
</propertySection>
<propertySection tab="org.eclipse.wst.dtd.ui.documentation"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.DocumentSection"
id="org.eclipse.wst.dtd.ui.internal.properties.section.DocumentSection">
<input type="org.eclipse.wst.dtd.core.internal.Element"/>
<input type="org.eclipse.wst.dtd.core.internal.Entity"/>
<input type="org.eclipse.wst.dtd.core.internal.AttributeList"/>
<input type="org.eclipse.wst.dtd.core.internal.Notation"/>
</propertySection>
<propertySection tab="org.eclipse.wst.dtd.ui.general"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.EmptySection"
id="org.eclipse.wst.dtd.ui.internal.properties.section.EmptySection">
<input type="org.eclipse.wst.dtd.core.internal.ParameterEntityReference"/>
<input type="org.eclipse.wst.sse.core.internal.provisional.IndexedRegion"/>
</propertySection>
<!--
<propertySection tab="org.eclipse.wst.dtd.ui.other"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.EntityTypeSection"
id="org.eclipse.wst.dtd.ui.internal.properties.section.EntityTypeSection">
<input type="org.eclipse.wst.dtd.core.internal.Entity"/>
</propertySection>
<propertySection tab="org.eclipse.wst.dtd.ui.attributes"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.EntityValueSection"
id="org.eclipse.wst.dtd.ui.internal.properties.section.EntityValueSection">
<input type="org.eclipse.wst.dtd.core.internal.Entity"/>
</propertySection>
-->
<propertySection tab="org.eclipse.wst.dtd.ui.general"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.NewEntitySection"
id="org.eclipse.wst.dtd.ui.internal.properties.section.NewEntitySection">
<input type="org.eclipse.wst.dtd.core.internal.DTDFile"/>
<input type="org.eclipse.wst.dtd.core.internal.Entity"/>
</propertySection>
<propertySection tab="org.eclipse.wst.dtd.ui.general"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.NotationSection"
id="org.eclipse.wst.dtd.ui.internal.properties.section.NotationSection">
<input type="org.eclipse.wst.dtd.core.internal.Notation"/>
</propertySection>
<propertySection tab="org.eclipse.wst.dtd.ui.attributes"
enablesFor="1"
class="org.eclipse.wst.dtd.ui.internal.properties.section.OccurrenceSection"
filter="org.eclipse.wst.dtd.ui.internal.properties.section.OccurrenceFilter"
id="org.eclipse.wst.dtd.ui.internal.properties.section.OccurrenceSection">
<input type="org.eclipse.wst.dtd.core.internal.CMBasicNode"/>
<input type="org.eclipse.wst.dtd.core.internal.CMRepeatableNode"/>
</propertySection>
<propertySection tab="org.eclipse.wst.dtd.ui.attributes"
class="org.eclipse.wst.dtd.ui.internal.properties.section.TypeSection"
enablesFor="1"
id="org.eclipse.wst.dtd.ui.internal.properties.section.TypeSection">
<input type="org.eclipse.wst.dtd.core.internal.Attribute"/>
</propertySection>
</propertySections>
</extension>
</plugin>