📄 plugin.xml
字号:
class="com.objfac.xmleditor.actions.OpenURIAction"
menubarPath="com.objfac.xmleditor.topLevelMenu.dtd/navigationGroup"
id="com.objfac.xmleditor.topLevelMenu.dtd.OpenURI">
</action>
<action accelerator="Ctrl+T" label="%SelectTag.label"
tooltip="%SelectTag.tooltip"
class="com.objfac.xmleditor.actions.XMLSelectTagAction"
menubarPath="com.objfac.xmleditor.topLevelMenu.dtd/selectionGroup"
id="com.objfac.xmleditor.topLevelMenu.dtd.SelectTag">
</action>
<action label="%GenerateDTD.label" tooltip="%GenerateDTD.tooltip"
class="com.objfac.xmleditor.actions.XMLGenerateDTDAction"
menubarPath="com.objfac.xmleditor.topLevelMenu.dtd/transformGroup"
id="com.objfac.xmleditor.topLevelMenu.dtd.GenerateDTD">
</action>
<!--<action label="%Version.label" tooltip="%Version.tooltip"
class="com.objfac.xmleditor.actions.VersionAction"
menubarPath="com.objfac.xmleditor.topLevelMenu.dtd/UpdateMenu/versionGroup"
id="com.objfac.xmleditor.topLevelMenu.dtd.Version">
</action>-->
</editorContribution>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<viewerContribution targetID="com.objfac.xmleditor.XMLEditor.dtd"
id="com.objfac.xmleditor.contextMenu">
<action label="%Validate.label" icon="icons/full/validate.gif"
class="com.objfac.xmleditor.actions.XMLValidateAction"
id="com.objfac.xmleditor.contextMenu.Validate">
</action>
</viewerContribution>
</extension>
<extension point="org.eclipse.ui.propertyPages">
<page objectClass="org.eclipse.core.resources.IFile"
name="%xmlResourcepage" nameFilter="*.*"
class="com.objfac.xmleditor.properties.XMLResourcePropertyPage"
id="com.objfac.xmleditor.resourcepage">
</page>
</extension>
<extension point="org.eclipse.ui.newWizards">
<category name="%NewWizard.category"
id="com.objfac.xmleditor.wizard.newxml">
</category>
<wizard name="%NewXMLWizard.name"
icon="icons/full/ctool16/newxml_wiz.gif"
category="com.objfac.xmleditor.wizard.newxml"
class="com.objfac.xmleditor.wizards.NewXMLWizard"
id="com.objfac.xmleditor.wizard.newxml.xml">
<description> %NewXMLWizard.desc </description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
</wizard>
<wizard name="%NewDTDWizard.name"
icon="icons/full/ctool16/newdtd_wiz.gif"
category="com.objfac.xmleditor.wizard.newxml"
class="com.objfac.xmleditor.wizards.NewDTDWizard"
id="com.objfac.xmleditor.wizard.newxml.dtd">
<description> %NewDTDWizard.desc </description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
</wizard>
<wizard name="%NewProjectWizard.name"
icon="icons/full/ctool16/newprj_wiz.gif"
category="com.objfac.xmleditor.wizard.newxml"
class="org.eclipse.ui.wizards.newresource.BasicNewProjectResourceWizard"
preferredPerspectives="com.objfac.xmleditor.perspective,org.eclipse.pde.ui.PDEPerspective,org.eclipse.jdt.ui.JavaPerspective,org.eclipse.ui.resourcePerspective"
project="true" finalPerspective="com.objfac.xmleditor.perspective"
id="com.objfac.xmleditor.wizard.newproject">
<description> %NewProjectWizard.desc </description>
</wizard>
</extension>
<extension point="org.eclipse.ui.actionSets">
<actionSet label="%XMLCreationActionSet.label" visible="true"
id="com.objfac.xmleditor.XMLActionSet">
<action label="%OpenDTDWizardAction.label"
icon="icons/full/ctool16/newdtd_wiz.gif"
tooltip="%OpenDTDWizardAction.tooltip"
class="com.objfac.xmleditor.wizards.NewDTDWizardAction"
toolbarPath="Normal/XMLWizards"
id="com.objfac.xmleditor.actions.OpenDTDWizard">
</action>
<action label="%OpenXMLWizardAction.label"
icon="icons/full/ctool16/newxml_wiz.gif"
tooltip="%OpenXMLWizardAction.tooltip"
class="com.objfac.xmleditor.wizards.NewXMLWizardAction"
toolbarPath="Normal/XMLWizards"
id="com.objfac.xmleditor.actions.OpenXMLWizard">
</action>
</actionSet>
</extension>
<extension id="xmlproblem" name="%xmlProblemName"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.core.resources.problemmarker"/>
<super type="org.eclipse.core.resources.textmarker"/>
<persistent value="true">
</persistent>
</extension>
<extension id="xmlcheck" name="%xmlCheckName"
point="org.eclipse.core.resources.markers">
<super type="org.eclipse.core.resources.problemmarker"/>
<super type="org.eclipse.core.resources.textmarker"/>
<persistent value="false">
</persistent>
</extension>
<!-- $if version >= 3.0.0 $ -->
<extension point="org.eclipse.ui.editors.annotationTypes">
<type name="com.objfac.xmlproblemannotationerror"
markerType="com.objfac.xmleditor.xmlproblem" markerSeverity="2">
</type>
</extension>
<extension point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification annotationType="com.objfac.xmlproblemannotationerror"
label="%ProblemMarkerErrorPreference.label"
symbolicIcon="error"
markerType="com.objfac.xmleditor.xmlproblem"
textPreferenceKey="problemMarkerErrorIndication"
textPreferenceValue="true"
highlightPreferenceKey="problemMarkerErrorHighlighting"
highlightPreferenceValue="false"
overviewRulerPreferenceKey="problemMarkerErrorIndicationInOverviewRuler"
overviewRulerPreferenceValue="true"
verticalRulerPreferenceKey="problemMarkerErrorIndicationInVerticalRuler"
verticalRulerPreferenceValue="true"
colorPreferenceKey="problemMarkerErrorIndicationColor"
colorPreferenceValue="255,0,128" presentationLayer="5"
showInNextPrevDropdownToolbarActionKey="showproblemMarkerErrorInNextPrevDropdownToolbarAction"
showInNextPrevDropdownToolbarAction="true"
isGoToNextNavigationTargetKey="isproblemMarkerErrorGoToNextNavigationTarget"
isGoToNextNavigationTarget="true"
isGoToPreviousNavigationTargetKey="isproblemMarkerErrorGoToPreviousNavigationTarget"
isGoToPreviousNavigationTarget="true"
contributesToHeader="true">
</specification>
</extension>
<extension point="org.eclipse.ui.editors.annotationTypes">
<type name="com.objfac.xmlproblemannotationwarning"
markerType="com.objfac.xmleditor.xmlproblem" markerSeverity="1">
</type>
</extension>
<extension point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification annotationType="com.objfac.xmlproblemannotationwarning"
label="%ProblemMarkerWarningPreference.label"
symbolicIcon="warning"
markerType="com.objfac.xmleditor.xmlproblem"
textPreferenceKey="problemMarkerWarningIndication"
textPreferenceValue="true"
highlightPreferenceKey="problemMarkerWarningHighlighting"
highlightPreferenceValue="false"
overviewRulerPreferenceKey="problemMarkerWarningIndicationInOverviewRuler"
overviewRulerPreferenceValue="true"
verticalRulerPreferenceKey="problemMarkerWarningIndicationInVerticalRuler"
verticalRulerPreferenceValue="true"
colorPreferenceKey="problemMarkerWarningIndicationColor"
colorPreferenceValue="244,200,45" presentationLayer="5"
showInNextPrevDropdownToolbarActionKey="showproblemMarkerWarningInNextPrevDropdownToolbarAction"
showInNextPrevDropdownToolbarAction="true"
isGoToNextNavigationTargetKey="isproblemMarkerWarningGoToNextNavigationTarget"
isGoToNextNavigationTarget="true"
isGoToPreviousNavigationTargetKey="isproblemMarkerWarningGoToPreviousNavigationTarget"
isGoToPreviousNavigationTarget="true"
contributesToHeader="true">
</specification>
</extension>
<extension point="org.eclipse.ui.editors.annotationTypes">
<type name="com.objfac.xmlproblemannotationinfo"
markerType="com.objfac.xmleditor.xmlproblem" markerSeverity="0">
</type>
</extension>
<extension point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification annotationType="com.objfac.xmlproblemannotationinfo"
label="%ProblemMarkerInfoPreference.label"
symbolicIcon="info"
markerType="com.objfac.xmleditor.xmlproblem"
textPreferenceKey="problemMarkerInfoIndication"
textPreferenceValue="true"
highlightPreferenceKey="problemMarkerInfoHighlighting"
highlightPreferenceValue="false"
overviewRulerPreferenceKey="problemMarkerInfoIndicationInOverviewRuler"
overviewRulerPreferenceValue="true"
verticalRulerPreferenceKey="problemMarkerInfoIndicationInVerticalRuler"
verticalRulerPreferenceValue="true"
colorPreferenceKey="problemMarkerInfoIndicationColor"
colorPreferenceValue="244,200,45" presentationLayer="5"
showInNextPrevDropdownToolbarActionKey="showproblemMarkerInfoInNextPrevDropdownToolbarAction"
showInNextPrevDropdownToolbarAction="true"
isGoToNextNavigationTargetKey="isproblemMarkerInfoGoToNextNavigationTarget"
isGoToNextNavigationTarget="true"
isGoToPreviousNavigationTargetKey="isproblemMarkerInfoGoToPreviousNavigationTarget"
isGoToPreviousNavigationTarget="true"
contributesToHeader="true">
</specification>
</extension>
<extension point="org.eclipse.ui.editors.annotationTypes">
<type name="com.objfac.xmlcheckerrorannotation"
markerType="com.objfac.xmleditor.xmlcheck" markerSeverity="2">
</type>
</extension>
<extension point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification annotationType="com.objfac.xmlcheckerrorannotation"
label="%CheckMarkerErrorPreference.label"
icon="icons/full/obj16/vagueerror.gif"
markerType="com.objfac.xmleditor.xmlcheck"
textPreferenceKey="checkMarkerErrorIndication"
textPreferenceValue="true"
highlightPreferenceKey="checkMarkerErrorHighlighting"
highlightPreferenceValue="false"
overviewRulerPreferenceKey="checkMarkerErrorIndicationInOverviewRuler"
overviewRulerPreferenceValue="true"
verticalRulerPreferenceKey="checkMarkerErrorIndicationInVerticalRuler"
verticalRulerPreferenceValue="true"
colorPreferenceKey="checkMarkerErrorIndicationColor"
colorPreferenceValue="0,128,255" presentationLayer="5"
showInNextPrevDropdownToolbarActionKey="showCheckMarkerErrorInNextPrevDropdownToolbarAction"
showInNextPrevDropdownToolbarAction="true"
isGoToNextNavigationTargetKey="isCheckMarkerErrorGoToNextNavigationTarget"
isGoToNextNavigationTarget="true"
isGoToPreviousNavigationTargetKey="isCheckMarkerErrorGoToPreviousNavigationTarget"
isGoToPreviousNavigationTarget="true"
contributesToHeader="true">
</specification>
</extension>
<extension point="org.eclipse.ui.editors.annotationTypes">
<type name="com.objfac.xmlcheckwarningannotation"
markerType="com.objfac.xmleditor.xmlcheck" markerSeverity="1">
</type>
</extension>
<extension point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification annotationType="com.objfac.xmlcheckwarningannotation"
label="%CheckMarkerWarningPreference.label"
icon="icons/full/obj16/vagueerror.gif"
markerType="com.objfac.xmleditor.xmlcheck"
textPreferenceKey="checkMarkerWarningIndication"
textPreferenceValue="true"
highlightPreferenceKey="checkMarkerWarningHighlighting"
highlightPreferenceValue="false"
overviewRulerPreferenceKey="checkMarkerWarningIndicationInOverviewRuler"
overviewRulerPreferenceValue="true"
verticalRulerPreferenceKey="checkMarkerWarningIndicationInVerticalRuler"
verticalRulerPreferenceValue="true"
colorPreferenceKey="checkMarkerWarningIndicationColor"
colorPreferenceValue="0,128,255" presentationLayer="5"
showInNextPrevDropdownToolbarActionKey="showCheckMarkerWarningInNextPrevDropdownToolbarAction"
showInNextPrevDropdownToolbarAction="true"
isGoToNextNavigationTargetKey="isCheckMarkerWarningGoToNextNavigationTarget"
isGoToNextNavigationTarget="true"
isGoToPreviousNavigationTargetKey="isCheckMarkerWarningGoToPreviousNavigationTarget"
isGoToPreviousNavigationTarget="true"
contributesToHeader="true">
</specification>
</extension>
<extension point="org.eclipse.ui.editors.annotationTypes">
<type name="com.objfac.xmlcheckinfoannotation"
markerType="com.objfac.xmleditor.xmlcheck" markerSeverity="0">
</type>
</extension>
<extension point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification annotationType="com.objfac.xmlcheckinfoannotation"
label="%CheckMarkerInfoPreference.label"
icon="icons/full/obj16/vagueerror.gif"
markerType="com.objfac.xmleditor.xmlcheck"
textPreferenceKey="checkMarkerInfoIndication"
textPreferenceValue="true"
highlightPreferenceKey="checkMarkerInfoHighlighting"
highlightPreferenceValue="false"
overviewRulerPreferenceKey="checkMarkerInfoIndicationInOverviewRuler"
overviewRulerPreferenceValue="true"
verticalRulerPreferenceKey="checkMarkerInfoIndicationInVerticalRuler"
verticalRulerPreferenceValue="true"
colorPreferenceKey="checkMarkerInfoIndicationColor"
colorPreferenceValue="0,128,255" presentationLayer="5"
showInNextPrevDropdownToolbarActionKey="showCheckMarkerInfoInNextPrevDropdownToolbarAction"
showInNextPrevDropdownToolbarAction="true"
isGoToNextNavigationTargetKey="isCheckMarkerInfoGoToNextNavigationTarget"
isGoToNextNavigationTarget="true"
isGoToPreviousNavigationTargetKey="isCheckMarkerInfoGoToPreviousNavigationTarget"
isGoToPreviousNavigationTarget="true"
contributesToHeader="true">
</specification>
</extension>
<extension point="org.eclipse.core.filebuffers.documentSetup"
id="com.objfac.xmleditor.XMLDocumentSetupParticipant"
name="%xmlDocumentSetupParticipant.name" >
<participant extensions="xml,tld,xsl,xslt,xhtml,html,htm,rng,php,xsd,dtd,mod"
class="com.objfac.xmleditor.extensions.XMLDocumentSetupParticipant">
</participant>
</extension>
<!-- $endif $ -->
<extension-point name="%resolver" id="resolver"/>
</plugin>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -