| <?xml version="1.0" encoding="UTF-8"?> |
| <?eclipse version="3.0"?> |
| <plugin> |
| |
| <extension-point |
| id="deviceProfileEntryProvider" |
| name="%Device_Profile_Entry_Provider_Extension.name" /> |
| |
| <extension point="org.eclipse.ui.editors"> |
| <editor |
| name="%HTML_Source_Page_Editor.name" |
| icon="icons/full/obj16/sourceEditor.gif" |
| default="true" |
| contributorClass="org.eclipse.wst.html.ui.internal.edit.ui.ActionContributorHTML" |
| class="org.eclipse.wst.sse.ui.StructuredTextEditor" |
| symbolicFontName="org.eclipse.wst.sse.ui.textfont" |
| id="org.eclipse.wst.html.core.htmlsource.source"> |
| <contentTypeBinding |
| contentTypeId="org.eclipse.wst.html.core.htmlsource" /> |
| </editor> |
| </extension> |
| <extension point="org.eclipse.wst.sse.ui.editorConfiguration"> |
| <sourceViewerConfiguration |
| class="org.eclipse.wst.html.ui.StructuredTextViewerConfigurationHTML" |
| target="org.eclipse.wst.html.core.htmlsource" /> |
| <contentOutlineConfiguration |
| class="org.eclipse.wst.html.ui.views.contentoutline.HTMLContentOutlineConfiguration" |
| target="org.eclipse.wst.html.core.htmlsource" /> |
| <propertySheetConfiguration |
| class="org.eclipse.wst.xml.ui.views.properties.XMLPropertySheetConfiguration" |
| target="org.eclipse.wst.html.core.htmlsource" /> |
| <provisionalConfiguration |
| type="sourceeditingtexttools" |
| class="org.eclipse.wst.xml.ui.internal.provisional.XMLSourceEditingTextTools" |
| target="org.eclipse.wst.html.core.htmlsource" /> |
| <provisionalConfiguration |
| type="characterpairmatcher" |
| class="org.eclipse.wst.html.ui.internal.text.HTMLDocumentRegionEdgeMatcher" |
| target="org.eclipse.wst.html.core.htmlsource" /> |
| <provisionalConfiguration |
| type="structuredtextfoldingprovider" |
| class="org.eclipse.wst.html.ui.internal.projection.StructuredTextFoldingProviderHTML" |
| target="org.eclipse.wst.html.core.htmlsource" /> |
| <provisionalConfiguration |
| type="correctionassistant" |
| class="org.eclipse.wst.html.ui.internal.correction.CorrectionAssistantProviderHTML" |
| target="org.eclipse.wst.html.core.htmlsource" /> |
| <provisionalDefinition |
| type="preferencepages" |
| value="org.eclipse.wst.html.ui.preferences, org.eclipse.wst.html.ui.preferences.source, org.eclipse.wst.html.ui.preferences.templates, org.eclipse.wst.html.ui.preferences.styles" |
| target="org.eclipse.wst.html.core.htmlsource" /> |
| </extension> |
| <extension |
| point="org.eclipse.core.filebuffers.annotationModelCreation"> |
| <factory |
| contentTypeId="org.eclipse.wst.html.core.htmlsource" |
| class="org.eclipse.wst.sse.ui.internal.StructuredResourceMarkerAnnotationModelFactory" /> |
| </extension> |
| <extension |
| point="org.eclipse.wst.sse.ui.adapterFactoryDescription"> |
| <adapterFactoryDescription |
| class="org.eclipse.wst.html.ui.internal.registry.AdapterFactoryProviderForHTML"> |
| <contentType id="org.eclipse.wst.html.core.htmlsource" /> |
| </adapterFactoryDescription> |
| </extension> |
| <extension point="org.eclipse.ui.preferencePages"> |
| <!-- HTML PREFERENCE PAGES--> |
| <page |
| name="%HTML_Files.name" |
| category="org.eclipse.wst.sse.ui.internal.provisional.preferences" |
| class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLFilesPreferencePage" |
| id="org.eclipse.wst.html.ui.preferences"> |
| </page> |
| <page |
| name="%HTML_Source.name" |
| category="org.eclipse.wst.html.ui.preferences" |
| class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLSourcePreferencePage" |
| id="org.eclipse.wst.html.ui.preferences.source"> |
| </page> |
| <page |
| name="%HTML_Templates.name" |
| category="org.eclipse.wst.html.ui.preferences" |
| class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLTemplatePreferencePage" |
| id="org.eclipse.wst.html.ui.preferences.templates"> |
| </page> |
| <page |
| name="%HTML_Styles.name" |
| category="org.eclipse.wst.html.ui.preferences" |
| class="org.eclipse.wst.html.ui.internal.preferences.ui.HTMLColorPage" |
| id="org.eclipse.wst.html.ui.preferences.styles"> |
| </page> |
| </extension> |
| <!-- Web content settings --> |
| <extension point="org.eclipse.ui.propertyPages"> |
| <!-- for j2ee web project --> |
| <page |
| objectClass="org.eclipse.core.resources.IProject" |
| adaptable="true" |
| name="%WebContentSettings.name" |
| class="org.eclipse.wst.html.ui.internal.contentproperties.ui.ProjectContentSettingsPropertyPage" |
| id="org.eclipse.wst.html.ui.dynamicprojectpropertypage"> |
| <filter |
| name="nature" |
| value="org.eclipse.wst.webproject.WebNature"> |
| </filter> |
| </page> |
| <!-- for static web project --> |
| <page |
| objectClass="org.eclipse.core.resources.IProject" |
| adaptable="true" |
| name="%WebContentSettings.name" |
| class="org.eclipse.wst.html.ui.internal.contentproperties.ui.ProjectContentSettingsPropertyPage" |
| id="org.eclipse.wst.html.ui.staticprojectpropertypage"> |
| <filter |
| name="nature" |
| value="org.eclipse.wst.webproject.StaticWebNature"> |
| </filter> |
| </page> |
| <page |
| objectClass="org.eclipse.core.resources.IFile" |
| adaptable="true" |
| name="%WebContentSettings.name" |
| nameFilter="*.htm*" |
| class="org.eclipse.wst.html.ui.internal.contentproperties.ui.HTMLContentSettingsPropertyPage" |
| id="org.eclipse.wst.html.ui.htmlpropertypage"> |
| </page> |
| <page |
| objectClass="org.eclipse.core.resources.IFile" |
| adaptable="true" |
| name="%WebContentSettings.name" |
| nameFilter="*.shtml" |
| class="org.eclipse.wst.html.ui.internal.contentproperties.ui.HTMLContentSettingsPropertyPage" |
| id="org.eclipse.wst.html.ui.htmlpropertypage"> |
| </page> |
| <page |
| objectClass="org.eclipse.core.resources.IFile" |
| adaptable="true" |
| name="%WebContentSettings.name" |
| nameFilter="*.xhtml" |
| class="org.eclipse.wst.html.ui.internal.contentproperties.ui.HTMLContentSettingsPropertyPage" |
| id="org.eclipse.wst.html.ui.htmlpropertypage"> |
| </page> |
| <page |
| objectClass="org.eclipse.core.resources.IFile" |
| adaptable="true" |
| name="%WebContentSettings.name" |
| nameFilter="*.jhtml" |
| class="org.eclipse.wst.html.ui.internal.contentproperties.ui.HTMLContentSettingsPropertyPage" |
| id="org.eclipse.wst.html.ui.htmlpropertypage"> |
| </page> |
| <page |
| objectClass="org.eclipse.core.resources.IFile" |
| adaptable="true" |
| name="%WebContentSettings.name" |
| nameFilter="*.jsp" |
| class="org.eclipse.wst.html.ui.internal.contentproperties.ui.HTMLContentSettingsPropertyPage" |
| id="org.eclipse.wst.html.ui.htmlpropertypage"> |
| </page> |
| <page |
| objectClass="org.eclipse.core.resources.IFile" |
| adaptable="true" |
| name="%WebContentSettings.name" |
| nameFilter="*.jspf" |
| class="org.eclipse.wst.html.ui.internal.contentproperties.ui.HTMLContentSettingsPropertyPage" |
| id="org.eclipse.wst.html.ui.htmlpropertypage"> |
| </page> |
| <page |
| objectClass="org.eclipse.core.resources.IFile" |
| adaptable="true" |
| name="%WebContentSettings.name" |
| nameFilter="*.jsf" |
| class="org.eclipse.wst.html.ui.internal.contentproperties.ui.HTMLContentSettingsPropertyPage" |
| id="org.eclipse.wst.html.ui.htmlpropertypage"> |
| </page> |
| <page |
| objectClass="org.eclipse.core.resources.IFile" |
| adaptable="true" |
| name="%WebContentSettings.name" |
| nameFilter="*.wml" |
| class="org.eclipse.wst.html.ui.internal.contentproperties.ui.HTMLContentSettingsPropertyPage" |
| id="org.eclipse.wst.html.ui.htmlpropertypage"> |
| </page> |
| </extension> |
| <!-- Editor actionsets --> |
| <extension point="org.eclipse.ui.actionSetPartAssociations"> |
| <actionSetPartAssociation |
| targetID="org.eclipse.ui.edit.text.actionSet.annotationNavigation"> |
| <part id="org.eclipse.wst.html.core.htmlsource.source"> |
| </part> |
| </actionSetPartAssociation> |
| <actionSetPartAssociation |
| targetID="org.eclipse.ui.NavigateActionSet"> |
| <part id="org.eclipse.wst.html.core.htmlsource.source"> |
| </part> |
| </actionSetPartAssociation> |
| </extension> |
| |
| <!-- Templates --> |
| <extension point="org.eclipse.ui.editors.templates"> |
| <contextType |
| name="%All_HTML_context_type_Extension_Element.name" |
| class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML" |
| id="html_all"> |
| </contextType> |
| <contextType |
| name="%HTML_New_context_type_Extension_Element.name" |
| class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML" |
| id="html_new"> |
| </contextType> |
| <contextType |
| name="%HTML_Tag_context_type_Extension_Element.name" |
| class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML" |
| id="html_tag"> |
| </contextType> |
| <contextType |
| name="%HTML_Attribute_context_type_Extension_Element.name" |
| class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML" |
| id="html_attribute"> |
| </contextType> |
| <contextType |
| name="%HTML_Attribute_value_context_type_Extension_Element.name" |
| class="org.eclipse.wst.html.ui.internal.templates.TemplateContextTypeHTML" |
| id="html_attribute_value"> |
| </contextType> |
| <include |
| file="templates/htmldefault-templates.xml" |
| translations="$nl$/templates/htmldefault-templates.properties"> |
| </include> |
| </extension> |
| <!-- initialize html ui preferences --> |
| <extension point="org.eclipse.core.runtime.preferences"> |
| <initializer |
| class="org.eclipse.wst.html.ui.internal.preferences.HTMLUIPreferenceInitializer" /> |
| </extension> |
| |
| <!--======================================================================================--> |
| <!-- Document provider for ExternalFileEditorInput --> |
| <!--======================================================================================--> |
| <extension point="org.eclipse.ui.editors.documentProviders"> |
| <provider |
| inputTypes="org.eclipse.wst.html.ui.internal.hyperlink.ExternalFileEditorInput" |
| class="org.eclipse.ui.editors.text.TextFileDocumentProvider" |
| id="org.eclipse.wst.html.ui.internal.ExternalFileDocumentProvider"> |
| </provider> |
| </extension> |
| |
| <!--======================================================================================--> |
| <!-- Workbench validation --> |
| <!--======================================================================================--> |
| <extension |
| id="HTMLValidator" |
| name="%HTML_Syntax_Validator.name" |
| point="org.eclipse.wst.validation.validator"> |
| <validator> |
| <filter |
| objectClass="org.eclipse.core.resources.IFile" |
| nameFilter="*.html"> |
| </filter> |
| <filter |
| objectClass="org.eclipse.core.resources.IFile" |
| nameFilter="*.htm"> |
| </filter> |
| <filter |
| objectClass="org.eclipse.core.resources.IFile" |
| nameFilter="*.xhtml"> |
| </filter> |
| <filter |
| objectClass="org.eclipse.core.resources.IFile" |
| nameFilter="*.htpl"> |
| </filter> |
| <filter |
| objectClass="org.eclipse.core.resources.IFile" |
| nameFilter="*.wml"> |
| </filter> |
| <filter |
| objectClass="org.eclipse.core.resources.IFile" |
| nameFilter="*.jsp"> |
| </filter> |
| <filter |
| objectClass="org.eclipse.core.resources.IFile" |
| nameFilter="*.jspf"> |
| </filter> |
| <filter |
| objectClass="org.eclipse.core.resources.IFile" |
| nameFilter="*.jsf"> |
| </filter> |
| <filter |
| objectClass="org.eclipse.core.resources.IFile" |
| nameFilter="*.jsv"> |
| </filter> |
| <filter |
| objectClass="org.eclipse.core.resources.IFile" |
| nameFilter="*.jtpl"> |
| </filter> |
| <helper |
| class="org.eclipse.wst.html.internal.validation.HTMLValidationWorkbenchHelper"> |
| </helper> |
| <run |
| enabled="false" |
| class="org.eclipse.wst.html.internal.validation.HTMLValidator"> |
| </run> |
| </validator> |
| </extension> |
| |
| <!--======================================================================================--> |
| <!-- As you type validation --> |
| <!--======================================================================================--> |
| |
| <extension point="org.eclipse.wst.sse.ui.sourcevalidation"> |
| <validator |
| scope="partial" |
| class="org.eclipse.wst.html.internal.validation.HTMLValidator" |
| id="org.eclipse.wst.html.htmlsourcevalidator"> |
| <contentTypeIdentifier |
| id="org.eclipse.wst.html.core.htmlsource"> |
| <partitionType id="org.eclipse.wst.html.HTML_DEFAULT"> |
| </partitionType> |
| </contentTypeIdentifier> |
| <contentTypeIdentifier |
| id="org.eclipse.jst.jsp.core.jspsource"> |
| <partitionType id="org.eclipse.wst.html.HTML_DEFAULT"> |
| </partitionType> |
| <partitionType id="org.eclipse.jst.jsp.JSP_DIRECTIVE"> |
| </partitionType> |
| </contentTypeIdentifier> |
| </validator> |
| </extension> |
| |
| |
| <!-- New HTML wizard --> |
| <extension point="org.eclipse.ui.newWizards"> |
| <wizard |
| id="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard" |
| name="%_UI_WIZARD_NAME" |
| class="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard" |
| category="org.eclipse.wst.web.ui" |
| icon="icons/full/etool16/newhtml_wiz.gif"> |
| <description>%_UI_WIZARD_CREATE_NEW_FILE</description> |
| <selection class="org.eclipse.core.resources.IResource" /> |
| </wizard> |
| </extension> |
| |
| <!-- Add new HTML wizard to J2EE Project Navigator --> |
| <extension |
| id="org.eclipse.wst.html.commonWizard.newHTML" |
| point="org.eclipse.wst.common.navigator.workbench.commonWizard"> |
| <commonWizard |
| type="new" |
| wizardId="org.eclipse.wst.html.ui.internal.wizard.NewHTMLWizard"> |
| <enablement> |
| <or> |
| <objectClass |
| name="org.eclipse.core.resources.IProject"> |
| </objectClass> |
| <objectClass |
| name="org.eclipse.core.resources.IFolder"> |
| </objectClass> |
| <objectClass |
| name="org.eclipse.core.resources.IFile"> |
| </objectClass> |
| </or> |
| </enablement> |
| </commonWizard> |
| </extension> |
| |
| <extension point="org.eclipse.ui.popupMenus"> |
| <viewerContribution |
| targetID="org.eclipse.wst.html.core.htmlsource.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> |
| |
| <extension point="org.eclipse.ui.editorActions"> |
| <editorContribution |
| id="org.eclipse.wst.html.core.htmlsource.source.editorActions" |
| targetID="org.eclipse.wst.html.core.htmlsource.source"> |
| <action |
| id="CleanupDocument" |
| label="%CleanupDocument_label" |
| definitionId="org.eclipse.wst.sse.ui.cleanup.document" |
| tooltip="%CleanupDocument_tooltip" |
| class="org.eclipse.wst.html.ui.internal.edit.ui.CleanupActionHTMLDelegate" |
| actionID="CleanupDocument"> |
| </action> |
| <action |
| id="ToggleComment" |
| label="%ToggleComment_label" |
| definitionId="org.eclipse.wst.sse.ui.toggle.comment" |
| tooltip="%ToggleComment_tooltip" |
| class="org.eclipse.wst.xml.ui.internal.actions.ToggleCommentActionXMLDelegate" |
| actionID="ToggleComment"> |
| </action> |
| <action |
| id="AddBlockComment" |
| label="%AddBlockComment_label" |
| definitionId="org.eclipse.wst.sse.ui.add.block.comment" |
| tooltip="%AddBlockComment_tooltip" |
| class="org.eclipse.wst.xml.ui.internal.actions.AddBlockCommentActionXMLDelegate" |
| actionID="AddBlockComment"> |
| </action> |
| <action |
| id="RemoveBlockComment" |
| label="%RemoveBlockComment_label" |
| definitionId="org.eclipse.wst.sse.ui.remove.block.comment" |
| tooltip="%RemoveBlockComment_tooltip" |
| class="org.eclipse.wst.xml.ui.internal.actions.RemoveBlockCommentActionXMLDelegate" |
| actionID="RemoveBlockComment"> |
| </action> |
| <action |
| id="FindOccurrences" |
| label="%FindOccurrences_label" |
| definitionId="org.eclipse.wst.sse.ui.search.find.occurrences" |
| class="org.eclipse.wst.html.ui.internal.search.HTMLFindOccurrencesActionDelegate" |
| actionID="FindOccurrences"> |
| </action> |
| <action |
| id="StructureSelectEnclosing" |
| label="%StructureSelectEnclosing_label" |
| definitionId="org.eclipse.wst.sse.ui.structure.select.enclosing" |
| tooltip="%StructureSelectEnclosing_tooltip" |
| class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectEnclosingXMLActionDelegate" |
| actionID="StructureSelectEnclosing"> |
| </action> |
| <action |
| id="StructureSelectNext" |
| label="%StructureSelectNext_label" |
| definitionId="org.eclipse.wst.sse.ui.structure.select.next" |
| tooltip="%StructureSelectNext_tooltip" |
| class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectNextXMLActionDelegate" |
| actionID="StructureSelectNext"> |
| </action> |
| <action |
| id="StructureSelectPrevious" |
| label="%StructureSelectPrevious_label" |
| definitionId="org.eclipse.wst.sse.ui.structure.select.previous" |
| tooltip="%StructureSelectPrevious_tooltip" |
| class="org.eclipse.wst.xml.ui.internal.selection.StructuredSelectPreviousXMLActionDelegate" |
| actionID="StructureSelectPrevious"> |
| </action> |
| <action |
| id="StructureSelectHistory" |
| label="%StructureSelectHistory_label" |
| definitionId="org.eclipse.wst.sse.ui.structure.select.last" |
| tooltip="%StructureSelectHistory_tooltip" |
| class="org.eclipse.wst.sse.ui.internal.selection.StructuredSelectHistoryActionDelegate" |
| actionID="StructureSelectHistory"> |
| </action> |
| </editorContribution> |
| <editorContribution |
| targetID="org.eclipse.wst.html.core.htmlsource.source" |
| id="org.eclipse.wst.html.core.htmlsource.ruler.actions"> |
| <action |
| label="%Dummy.label" |
| helpContextId="org.eclipse.ui.bookmark_action_context" |
| class="org.eclipse.ui.texteditor.BookmarkRulerAction" |
| actionID="RulerDoubleClick" |
| id="org.eclipse.ui.texteditor.BookmarkRulerAction"/> |
| <action |
| label="%Dummy.label" |
| class="org.eclipse.ui.texteditor.SelectRulerAction" |
| actionID="RulerClick" |
| id="org.eclipse.ui.texteditor.SelectRulerAction"/> |
| </editorContribution> |
| </extension> |
| </plugin> |