| <?xml version="1.0" encoding="UTF-8"?> | |
| <?eclipse version="3.0"?> | |
| <plugin | |
| id="org.eclipse.ui.editors" | |
| name="%pluginName" | |
| version="3.0.0" | |
| provider-name="%providerName" | |
| class="org.eclipse.ui.internal.editors.text.EditorsPlugin"> | |
| <runtime> | |
| <library name="editors.jar"> | |
| <export name="*"/> | |
| <packages prefixes="org.eclipse.ui.texteditor,org.eclipse.ui.editors.text,org.eclipse.ui.internal,org.eclipse.ui.editors.quickdiff"/> | |
| </library> | |
| </runtime> | |
| <requires> | |
| <import plugin="org.eclipse.text"/> | |
| <import plugin="org.eclipse.ui.views"/> | |
| <import plugin="org.eclipse.ui.workbench.texteditor"/> | |
| <import plugin="org.eclipse.jface.text"/> | |
| <import plugin="org.eclipse.core.resources"/> | |
| <import plugin="org.eclipse.ui"/> | |
| <import plugin="org.eclipse.ui.ide"/> | |
| <import plugin="org.eclipse.core.filebuffers"/> | |
| </requires> | |
| <extension-point id="documentProviders" name="%ExtPoint.documentProviders" schema="schema/documentProviders.exsd"/> | |
| <extension-point id="markerUpdaters" name="%ExtPoint.markerUpdaters" schema="schema/markerUpdaters.exsd"/> | |
| <extension-point id="markerAnnotationSpecification" name="%ExtPoint.markerAnnotationSpecification" schema="schema/markerAnnotationSpecification.exsd"/> | |
| <extension | |
| point="org.eclipse.ui.editors.markerAnnotationSpecification"> | |
| <specification | |
| annotationType="org.eclipse.ui.workbench.texteditor.error" | |
| label="%errors.label" | |
| markerType="org.eclipse.core.resources.problemmarker" | |
| markerSeverity="2" | |
| textPreferenceKey="errorIndication" | |
| textPreferenceValue="true" | |
| overviewRulerPreferenceKey="errorIndicationInOverviewRuler" | |
| overviewRulerPreferenceValue="true" | |
| colorPreferenceKey="errorIndicationColor" | |
| colorPreferenceValue="255,0,128" | |
| presentationLayer="6" | |
| contributesToHeader="true" | |
| showInNextPrevDropdownToolbarActionKey="showErrorInNextPrevDropdownToolbarAction" | |
| showInNextPrevDropdownToolbarAction="true" | |
| isGoToNextNavigationTargetKey="isErrorGoToNextNavigationTarget" | |
| isGoToNextNavigationTarget="true" | |
| isGoToPreviousNavigationTargetKey="isErrorGoToPreviousNavigationTarget" | |
| isGoToPreviousNavigationTarget="true"> | |
| </specification> | |
| <specification | |
| annotationType="org.eclipse.ui.workbench.texteditor.warning" | |
| label="%warnings.label" | |
| markerType="org.eclipse.core.resources.problemmarker" | |
| markerSeverity="1" | |
| textPreferenceKey="warningIndication" | |
| textPreferenceValue="true" | |
| overviewRulerPreferenceKey="warningIndicationInOverviewRuler" | |
| overviewRulerPreferenceValue="true" | |
| colorPreferenceKey="warningIndicationColor" | |
| colorPreferenceValue="244,200,45" | |
| presentationLayer="5" | |
| contributesToHeader="true" | |
| showInNextPrevDropdownToolbarActionKey="showWarningInNextPrevDropdownToolbarAction" | |
| showInNextPrevDropdownToolbarAction="true" | |
| isGoToNextNavigationTargetKey="isWarningGoToNextNavigationTarget" | |
| isGoToNextNavigationTarget="true" | |
| isGoToPreviousNavigationTargetKey="isWarningGoToPreviousNavigationTarget" | |
| isGoToPreviousNavigationTarget="true"> | |
| </specification> | |
| <specification | |
| annotationType="org.eclipse.ui.workbench.texteditor.info" | |
| label="%infos.label" | |
| markerType="org.eclipse.core.resources.problemmarker" | |
| textPreferenceKey="infoIndication" | |
| textPreferenceValue="false" | |
| overviewRulerPreferenceKey="infoIndicationInOverviewRuler" | |
| overviewRulerPreferenceValue="true" | |
| colorPreferenceKey="infoIndicationColor" | |
| colorPreferenceValue="244,200,45" | |
| presentationLayer="4" | |
| contributesToHeader="false" | |
| showInNextPrevDropdownToolbarActionKey="showInfoInNextPrevDropdownToolbarAction" | |
| showInNextPrevDropdownToolbarAction="true" | |
| isGoToNextNavigationTargetKey="isInfoGoToNextNavigationTarget" | |
| isGoToNextNavigationTarget="false" | |
| isGoToPreviousNavigationTargetKey="isInfoGoToPreviousNavigationTarget" | |
| isGoToPreviousNavigationTarget="false"> | |
| </specification> | |
| <specification | |
| annotationType="org.eclipse.ui.workbench.texteditor.task" | |
| label="%tasks.label" | |
| markerType="org.eclipse.core.resources.taskmarker" | |
| textPreferenceKey="taskIndication" | |
| textPreferenceValue="false" | |
| overviewRulerPreferenceKey="taskIndicationInOverviewRuler" | |
| overviewRulerPreferenceValue="true" | |
| colorPreferenceKey="taskIndicationColor" | |
| colorPreferenceValue="0,128,255" | |
| presentationLayer="2" | |
| contributesToHeader="false" | |
| showInNextPrevDropdownToolbarActionKey="showTaskInNextPrevDropdownToolbarAction" | |
| showInNextPrevDropdownToolbarAction="true" | |
| isGoToNextNavigationTargetKey="isTaskGoToNextNavigationTarget" | |
| isGoToNextNavigationTarget="false" | |
| isGoToPreviousNavigationTargetKey="isTaskGoToPreviousNavigationTarget" | |
| isGoToPreviousNavigationTarget="false"> | |
| </specification> | |
| <specification | |
| annotationType="org.eclipse.ui.workbench.texteditor.bookmark" | |
| label="%bookmarks.label" | |
| markerType="org.eclipse.core.resources.bookmark" | |
| textPreferenceKey="bookmarkIndication" | |
| textPreferenceValue="false" | |
| overviewRulerPreferenceKey="bookmarkIndicationInOverviewRuler" | |
| overviewRulerPreferenceValue="true" | |
| colorPreferenceKey="bookmarkIndicationColor" | |
| colorPreferenceValue="34,164,99" | |
| presentationLayer="1" | |
| contributesToHeader="false" | |
| showInNextPrevDropdownToolbarActionKey="showBookmarkInNextPrevDropdownToolbarAction" | |
| showInNextPrevDropdownToolbarAction="true" | |
| isGoToNextNavigationTargetKey="isBookmarkGoToNextNavigationTarget" | |
| isGoToNextNavigationTarget="false" | |
| isGoToPreviousNavigationTargetKey="isBookmarkGoToPreviousNavigationTarget" | |
| isGoToPreviousNavigationTarget="false"> | |
| </specification> | |
| <!-- change information annotations --> | |
| <specification | |
| annotationType="org.eclipse.ui.workbench.texteditor.quickdiffChange" | |
| label="%changes.label" | |
| markerType="org.eclipse.quickdiff.changeindication" | |
| textPreferenceKey="changeIndication" | |
| textPreferenceValue="false" | |
| overviewRulerPreferenceKey="changeIndicationInOverviewRuler" | |
| overviewRulerPreferenceValue="false" | |
| colorPreferenceKey="changeIndicationColor" | |
| colorPreferenceValue="255,230,230" | |
| presentationLayer="2" | |
| contributesToHeader="false" | |
| showInNextPrevDropdownToolbarActionKey="showChangeInNextPrevDropdownToolbarAction" | |
| showInNextPrevDropdownToolbarAction="false" | |
| isGoToNextNavigationTargetKey="isChangeGoToNextNavigationTarget" | |
| isGoToNextNavigationTarget="false" | |
| isGoToPreviousNavigationTargetKey="isChangeGoToPreviousNavigationTarget" | |
| isGoToPreviousNavigationTarget="false"> | |
| </specification> | |
| <specification | |
| annotationType="org.eclipse.ui.workbench.texteditor.quickdiffAddition" | |
| label="%additions.label" | |
| markerType="org.eclipse.quickdiff.additionindication" | |
| textPreferenceKey="additionIndication" | |
| textPreferenceValue="false" | |
| overviewRulerPreferenceKey="additionIndicationInOverviewRuler" | |
| overviewRulerPreferenceValue="false" | |
| colorPreferenceKey="additionIndicationColor" | |
| colorPreferenceValue="230,230,255" | |
| presentationLayer="2" | |
| contributesToHeader="false" | |
| showInNextPrevDropdownToolbarActionKey="showAdditionInNextPrevDropdownToolbarAction" | |
| showInNextPrevDropdownToolbarAction="false" | |
| isGoToNextNavigationTargetKey="isAdditionGoToNextNavigationTarget" | |
| isGoToNextNavigationTarget="false" | |
| isGoToPreviousNavigationTargetKey="isAdditionGoToPreviousNavigationTarget" | |
| isGoToPreviousNavigationTarget="false"> | |
| </specification> | |
| <specification | |
| annotationType="org.eclipse.ui.workbench.texteditor.quickdiffDeletion" | |
| label="%deletions.label" | |
| markerType="org.eclipse.quickdiff.deletionindication" | |
| textPreferenceKey="deletionIndication" | |
| textPreferenceValue="false" | |
| overviewRulerPreferenceKey="deletionIndicationInOverviewRuler" | |
| overviewRulerPreferenceValue="false" | |
| colorPreferenceKey="deletionIndicationColor" | |
| colorPreferenceValue="0,0,0" | |
| presentationLayer="2" | |
| contributesToHeader="false" | |
| showInNextPrevDropdownToolbarActionKey="showDeletionInNextPrevDropdownToolbarAction" | |
| showInNextPrevDropdownToolbarAction="false" | |
| isGoToNextNavigationTargetKey="isDeletionGoToNextNavigationTarget" | |
| isGoToNextNavigationTarget="false" | |
| isGoToPreviousNavigationTargetKey="isDeletionGoToPreviousNavigationTarget" | |
| isGoToPreviousNavigationTarget="false"> | |
| </specification> | |
| </extension> | |
| <!-- add the quick diff context menu --> | |
| <extension | |
| point="org.eclipse.ui.popupMenus"> | |
| <!-- default --> | |
| <viewerContribution | |
| targetID="#RulerContext" | |
| id="QuickDiffTest.DefaultEditorContribution"> | |
| <action | |
| label="%quickdiff.toggle.enable" | |
| style="push" | |
| helpContextId="quickdiff.toggle" | |
| class="org.eclipse.ui.texteditor.quickdiff.QuickDiffToggleAction" | |
| menubarPath="quickdiff" | |
| id="quickdiff.toggle"> | |
| </action> | |
| </viewerContribution> | |
| <!-- text editor --> | |
| <viewerContribution | |
| targetID="#TextRulerContext" | |
| id="QuickDiffTest.TextEditorContribution"> | |
| <action | |
| label="%quickdiff.toggle.enable" | |
| style="push" | |
| helpContextId="quickdiff.toggle" | |
| class="org.eclipse.ui.texteditor.quickdiff.QuickDiffToggleAction" | |
| menubarPath="quickdiff" | |
| id="quickdiff.toggle"> | |
| </action> | |
| </viewerContribution> | |
| </extension> | |
| <!-- add the standard reference provider --> | |
| <extension | |
| point="org.eclipse.ui.workbench.texteditor.quickDiffReferenceProvider"> | |
| <referenceprovider | |
| label="%lastSaveReferenceProvider.label" | |
| default="true" | |
| class="org.eclipse.ui.internal.editors.text.LastSaveReferenceProvider" | |
| id="org.eclipse.ui.internal.editors.text.LastSaveReferenceProvider"> | |
| </referenceprovider> | |
| </extension> | |
| <!-- add the toggle action a second time in order to make it available as shortcut to keybinings --> | |
| <extension | |
| point="org.eclipse.ui.editorActions"> | |
| <editorContribution | |
| targetID="org.eclipse.ui.DefaultTextEditor" | |
| id="org.eclipse.quickdiff.editoractions.texteditor"> | |
| <action | |
| definitionId="org.eclipse.quickdiff.toggle" | |
| label="%quickdiff.toggle.enable" | |
| class="org.eclipse.ui.texteditor.quickdiff.QuickDiffToggleAction" | |
| id="org.eclipse.quickdiff.QuickDiffToggleAction"> | |
| </action> | |
| </editorContribution> | |
| </extension> | |
| <extension | |
| point="org.eclipse.ui.preferencePages"> | |
| <page | |
| name="%PreferencePages.TextEditor" | |
| category="org.eclipse.ui.preferencePages.Editors" | |
| class="org.eclipse.ui.internal.editors.text.TextEditorPreferencePage2" | |
| id="org.eclipse.ui.preferencePages.TextEditor"> | |
| </page> | |
| </extension> | |
| <extension | |
| point="org.eclipse.ui.editors"> | |
| <editor | |
| name="%Editors.DefaultTextEditor" | |
| icon="icons/full/obj16/file_obj.gif" | |
| extensions="txt" | |
| contributorClass="org.eclipse.ui.editors.text.TextEditorActionContributor" | |
| class="org.eclipse.ui.editors.text.TextEditor" | |
| id="org.eclipse.ui.DefaultTextEditor"> | |
| </editor> | |
| </extension> | |
| <extension | |
| point="org.eclipse.ui.editors.documentProviders"> | |
| <provider | |
| class="org.eclipse.ui.editors.text.TextFileDocumentProvider" | |
| inputTypes="org.eclipse.ui.IStorageEditorInput" | |
| id="org.eclipse.ui.editors.text.TextFileDocumentProvider"> | |
| </provider> | |
| </extension> | |
| <extension | |
| point="org.eclipse.ui.editorActions"> | |
| <editorContribution | |
| targetID="org.eclipse.ui.DefaultTextEditor" | |
| id="org.eclipse.ui.texteditor.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> | |
| <action | |
| label="%Dummy.label" | |
| class="org.eclipse.ui.texteditor.SelectRulerAction" | |
| actionID="RulerClick" | |
| id="org.eclipse.ui.texteditor.SelectRulerAction"> | |
| </action> | |
| </editorContribution> | |
| </extension> | |
| <extension | |
| point="org.eclipse.ui.popupMenus"> | |
| <viewerContribution | |
| targetID="#TextRulerContext" | |
| id="org.eclipse.ui.texteditor.ruler.context.actions"> | |
| <action | |
| label="%AddTask.label" | |
| helpContextId="org.eclipse.ui.AddTask_action_context" | |
| tooltip="%AddTask.tooltip" | |
| class="org.eclipse.ui.texteditor.TaskRulerAction" | |
| menubarPath="additions" | |
| id="org.eclipse.ui.texteditor.TaskRulerAction"> | |
| </action> | |
| <action | |
| label="%AddBookmark.label" | |
| helpContextId="org.eclipse.ui.bookmark_action_context" | |
| tooltip="%AddBookmark.tooltip" | |
| class="org.eclipse.ui.texteditor.BookmarkRulerAction" | |
| menubarPath="additions" | |
| id="org.eclipse.ui.texteditor.BookmarkRulerAction"> | |
| </action> | |
| </viewerContribution> | |
| </extension> | |
| <extension | |
| point="org.eclipse.ui.actionSets"> | |
| <actionSet | |
| label="%textEditorAnnotationNavigationActionSet.label" | |
| visible="false" | |
| id="org.eclipse.ui.edit.text.actionSet.annotationNavigation"> | |
| <action id="org.eclipse.ui.edit.text.gotoPreviousAnnotation" | |
| label="%goToPreviousAnnotation.label" | |
| tooltip="%goToPreviousAnnotation.tooltip" | |
| toolbarPath="org.eclipse.ui.workbench.navigate/history.group" | |
| retarget="true" | |
| style="pulldown" | |
| allowLabelUpdate="true" | |
| definitionId="org.eclipse.ui.navigate.previous" | |
| icon="icons/full/etool16/prev_nav.gif" | |
| disabledIcon="icons/full/dtool16/prev_nav.gif" | |
| hoverIcon="icons/full/ctool16/prev_nav.gif" | |
| class="org.eclipse.ui.internal.texteditor.PreviousPulldownActionDelegate"/> | |
| <action id="org.eclipse.ui.edit.text.gotoNextAnnotation" | |
| label="%goToNextAnnotation.label" | |
| tooltip="%goToNextAnnotation.tooltip" | |
| toolbarPath="org.eclipse.ui.workbench.navigate/history.group" | |
| retarget="true" | |
| style="pulldown" | |
| allowLabelUpdate="true" | |
| definitionId="org.eclipse.ui.navigate.next" | |
| icon="icons/full/etool16/next_nav.gif" | |
| disabledIcon="icons/full/dtool16/next_nav.gif" | |
| hoverIcon="icons/full/ctool16/next_nav.gif" | |
| class="org.eclipse.ui.internal.texteditor.NextPulldownActionDelegate"/> | |
| </actionSet> | |
| </extension> | |
| <extension | |
| point="org.eclipse.ui.commands"> | |
| <command | |
| name="%command.us_ascii.name" | |
| description="%command.us_ascii.description" | |
| categoryId="org.eclipse.ui.category.edit" | |
| id="org.eclipse.ui.edit.text.encoding.us-ascii"> | |
| </command> | |
| <command | |
| name="%command.iso_8859_1.name" | |
| description="%command.iso_8859_1.description" | |
| categoryId="org.eclipse.ui.category.edit" | |
| id="org.eclipse.ui.edit.text.encoding.iso-8859-1"> | |
| </command> | |
| <command | |
| name="%command.utf_8.name" | |
| description="%command.utf_8.description" | |
| categoryId="org.eclipse.ui.category.edit" | |
| id="org.eclipse.ui.edit.text.encoding.utf-8"> | |
| </command> | |
| <command | |
| name="%command.utf_16be.name" | |
| description="%command.utf_16be.description" | |
| categoryId="org.eclipse.ui.category.edit" | |
| id="org.eclipse.ui.edit.text.encoding.utf-16be"> | |
| </command> | |
| <command | |
| name="%command.utf_16le.name" | |
| description="%command.utf_16le.description" | |
| categoryId="org.eclipse.ui.category.edit" | |
| id="org.eclipse.ui.edit.text.encoding.utf-16le"> | |
| </command> | |
| <command | |
| name="%command.utf_16.name" | |
| description="%command.utf_16.description" | |
| categoryId="org.eclipse.ui.category.edit" | |
| id="org.eclipse.ui.edit.text.encoding.utf-16"> | |
| </command> | |
| <command | |
| name="%command.system.name" | |
| description="%command.system.description" | |
| categoryId="org.eclipse.ui.category.edit" | |
| id="org.eclipse.ui.edit.text.encoding.system"> | |
| </command> | |
| <command | |
| name="%command.custom.name" | |
| description="%command.custom.description" | |
| categoryId="org.eclipse.ui.category.edit" | |
| id="org.eclipse.ui.edit.text.encoding.custom"> | |
| </command> | |
| <command | |
| name="%ActionDefinition.quickDiff.name" | |
| description="%ActionDefinition.quickDiff.description" | |
| categoryId="org.eclipse.ui.category.edit" | |
| id="org.eclipse.quickdiff.toggle"> | |
| </command> | |
| <keyBinding | |
| keySequence="Ctrl+Shift+Q" | |
| scope="org.eclipse.ui.textEditorScope" | |
| commandId="org.eclipse.quickdiff.toggle" | |
| configuration="org.eclipse.ui.defaultAcceleratorConfiguration"> | |
| </keyBinding> | |
| </extension> | |
| </plugin> |