diff options
author | Uwe Stieber | 2012-07-03 16:53:38 +0000 |
---|---|---|
committer | Uwe Stieber | 2012-07-03 16:53:38 +0000 |
commit | 829ee95915e16dbc702b1dd671379296bdd61bb8 (patch) | |
tree | 89693d970be88ebe10279e023281bb5bd764d6a0 | |
parent | 5430fa26ca558f68544a455be8f98be25770f134 (diff) | |
download | org.eclipse.tcf-829ee95915e16dbc702b1dd671379296bdd61bb8.tar.gz org.eclipse.tcf-829ee95915e16dbc702b1dd671379296bdd61bb8.tar.xz org.eclipse.tcf-829ee95915e16dbc702b1dd671379296bdd61bb8.zip |
Target Explorer: Add possibility to have a "Show In System Management" action in editor page toolbars
5 files changed, 1036 insertions, 965 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.properties b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.properties index 161a39625..37efc24bf 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.properties +++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.properties @@ -63,12 +63,21 @@ menu.categories.addto.label=Add To menu.categories.removefrom.label=Remove From command.showin.name = Show In Group + menu.find.label = Find... + command.find.name = Find... + menu.filter.label = Filter... menu.reset.label = Reset + command.find.description = Find elements in a tree viewer command.filter.description = Filter elements in a tree viewer command.filter.name = Quick Filter + command.reset.description = Reset quick filter in a tree viewer -command.reset.name = Reset Quick Filter
\ No newline at end of file +command.reset.name = Reset Quick Filter + +command.showInSM.name=Show In System Management View Command +command.showInSM.description=Shows the active editor context in the System Management view. + diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.xml b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.xml index 3617f9b4a..80bc00735 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.xml +++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/plugin.xml @@ -1,757 +1,763 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-
-<!-- Extension Points -->
- <extension-point id="editorPageBindings" name="%ExtensionPoint.editorPageBindings.name" schema="schema/editorPageBindings.exsd"/>
- <extension-point id="editorPages" name="%ExtensionPoint.editorPages.name" schema="schema/editorPages.exsd"/>
- <extension-point id="categories" name="%ExtensionPoint.categories.name" schema="schema/categories.exsd"/>
-
-<!-- Common Navigator contributions -->
- <extension point="org.eclipse.ui.navigator.viewer">
- <viewer
- helpContext="org.eclipse.tcf.te.ui.views.View"
- viewerId="org.eclipse.tcf.te.ui.views.View">
- <popupMenu
- id="org.eclipse.tcf.te.ui.views.View#Popup"
- allowsPlatformContributions="true">
- <insertionPoint name="group.new" separator="true"/>
- <insertionPoint name="group.goto"/>
- <insertionPoint name="group.expandto" separator="true"/>
- <insertionPoint name="group.expand"/>
- <insertionPoint name="group.open" separator="true"/>
- <insertionPoint name="group.openWith"/>
- <insertionPoint name="group.showIn"/>
- <insertionPoint name="group.connect" separator="true"/>
- <insertionPoint name="group.redirect" separator="true"/>
- <insertionPoint name="group.symbols" separator="true"/>
- <insertionPoint name="group.symbols.rd"/>
- <insertionPoint name="group.symbols.loadunload"/>
- <insertionPoint name="group.symbols.additions"/>
- <insertionPoint name="group.launch" separator="true"/>
- <insertionPoint name="group.launch.rundebug"/>
- <insertionPoint name="group.launch.modes"/>
- <insertionPoint name="group.launch.additions"/>
- <insertionPoint name="group.show" separator="true"/>
- <insertionPoint name="group.edit" separator="true"/>
- <insertionPoint name="group.delete"/>
- <insertionPoint name="group.build" separator="true"/>
- <insertionPoint name="group.refresh" separator="true"/>
- <insertionPoint name="group.syncop"/>
- <insertionPoint name="group.categories" separator="true"/>
- <insertionPoint name="group.reorganize"/>
- <insertionPoint name="group.reorder"/>
- <insertionPoint name="group.port"/>
- <insertionPoint name="group.generate" separator="true"/>
- <insertionPoint name="group.search" separator="true"/>
- <insertionPoint name="group.connection" separator="true"/>
- <insertionPoint name="group.operations" separator="true"/>
- <insertionPoint name="group.analysis" separator="true"/>
- <insertionPoint
- name="group.filter"
- separator="true">
- </insertionPoint>
- <insertionPoint name="additions" separator="true"/>
- <insertionPoint name="group.properties" separator="true"/>
- </popupMenu>
- <options>
- <property
- name="org.eclipse.ui.navigator.hideLinkWithEditorAction"
- value="true">
- </property>
- <property
- name="org.eclipse.ui.navigator.hideAvailableCustomizationsDialog"
- value="true">
- </property>
- <property
- name="org.eclipse.ui.navigator.enforceHasChildren"
- value="true">
- </property>
- </options>
- </viewer>
-
- <viewerContentBinding viewerId="org.eclipse.tcf.te.ui.views.View">
- <includes>
- <contentExtension
- pattern="org.eclipse.tcf.te.ui.views.navigator.*">
- </contentExtension>
-
- </includes>
- </viewerContentBinding>
-
- <viewerActionBinding
- viewerId="org.eclipse.tcf.te.ui.views.View">
- <includes>
- <actionExtension
- pattern="org.eclipse.tcf.te.ui.views.navigator.actions.*">
- </actionExtension>
- </includes>
- </viewerActionBinding>
- </extension>
-
-<!-- Common navigator contributions -->
- <extension point="org.eclipse.ui.navigator.navigatorContent">
-
-<!-- Default navigator content contibutions -->
- <navigatorContent
- activeByDefault="true"
- appearsBefore="org.eclipse.tcf.te.tcf.ui.navigator.content"
- contentProvider="org.eclipse.tcf.te.ui.views.navigator.ContentProviderDelegate"
- icon="icons/eview16/targets_view.gif"
- id="org.eclipse.tcf.te.ui.views.navigator.content"
- labelProvider="org.eclipse.tcf.te.ui.views.navigator.LabelProviderDelegate"
- name="%navigatorContent.name"
- priority="higher">
- <triggerPoints>
- <instanceof value="org.eclipse.tcf.te.ui.views.interfaces.IRoot"/>
- </triggerPoints>
- <possibleChildren>
- <instanceof value="org.eclipse.tcf.te.ui.views.interfaces.ICategory"/>
- </possibleChildren>
- <commonSorter
- class="org.eclipse.tcf.te.ui.views.navigator.ViewerSorter"
- id="org.eclipse.tcf.te.ui.views.navigator.sorter"/>
- </navigatorContent>
-
-<!-- Default navigator action contributions -->
- <actionProvider
- class="org.eclipse.tcf.te.ui.views.actions.NewActionProvider"
- id="org.eclipse.tcf.te.ui.views.navigator.actions.NewActionProvider">
- <enablement>
- </enablement>
- </actionProvider>
-
- <actionProvider
- class="org.eclipse.tcf.te.ui.views.actions.GoIntoActionProvider"
- id="org.eclipse.tcf.te.ui.views.navigator.actions.GoIntoActionProvider">
- <enablement></enablement>
- </actionProvider>
-
- </extension>
-
-<!-- View contributions -->
- <extension point="org.eclipse.ui.views">
- <category
- id="org.eclipse.tcf.te.ui.views.category"
- name="%ViewCategory.name">
- </category>
- <view
- category="org.eclipse.tcf.te.ui.views.category"
- class="org.eclipse.tcf.te.ui.views.internal.View"
- icon="icons/eview16/targets_view.gif"
- id="org.eclipse.tcf.te.ui.views.View"
- name="%View.name"
- restorable="true">
- </view>
- </extension>
-
-<!-- View categories contributions -->
- <extension point="org.eclipse.tcf.te.ui.views.categories">
- <category
- class="org.eclipse.tcf.te.ui.views.categories.Category"
- icon="icons/obj16/favorites.gif"
- id="org.eclipse.tcf.te.ui.views.category.favorites"
- label="%category.favorites.name"
- rank="1">
- </category>
-
- <category
- class="org.eclipse.tcf.te.ui.views.categories.Category"
- icon="icons/obj16/targets.gif"
- id="org.eclipse.tcf.te.ui.views.category.mytargets"
- label="%category.mytargets.name"
- rank="10">
- </category>
-
- <category
- class="org.eclipse.tcf.te.ui.views.categories.Category"
- icon="icons/obj16/neighborhood.gif"
- id="org.eclipse.tcf.te.ui.views.category.neighborhood"
- label="%category.neighborhood.name"
- rank="20">
- </category>
- </extension>
-
-<!-- Perspective -->
- <extension point="org.eclipse.ui.perspectives">
- <perspective
- class="org.eclipse.tcf.te.ui.views.perspective.PerspectiveFactory"
- icon="icons/eview16/editor.gif"
- id="org.eclipse.tcf.te.ui.perspective"
- name="%Perspective.name">
- </perspective>
- </extension>
-
-<!-- Perspective contributions -->
- <extension point="org.eclipse.ui.perspectiveExtensions">
- <perspectiveExtension targetID="org.eclipse.tcf.te.ui.perspective">
- <!-- Run/Debug actions should be available -->
- <actionSet id="org.eclipse.debug.ui.launchActionSet"/>
- <!-- Register the view shortcuts -->
- <viewShortcut id="org.eclipse.tcf.te.ui.views.View"/>
- </perspectiveExtension>
- </extension>
-
-<!-- Editor contributions -->
- <extension point="org.eclipse.ui.editors">
- <editor
- class="org.eclipse.tcf.te.ui.views.editor.Editor"
- default="false"
- icon="icons/eview16/prop_ps.gif"
- id="org.eclipse.tcf.te.ui.views.Editor"
- name="%Editor.name">
- </editor>
- </extension>
-
-<!-- Tabbed properties view contributions -->
- <extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor">
- <propertyContributor
- contributorId="org.eclipse.tcf.te.ui"
- labelProvider="org.eclipse.tcf.te.ui.views.internal.PropertyContributorLabelProvider">
- <propertyCategory category="org.eclipse.tcf.te"/>
- </propertyContributor>
- </extension>
-
-<!-- Menu contributions -->
- <extension point="org.eclipse.ui.menus">
- <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.properties">
- <command
- commandId="org.eclipse.ui.file.properties"
- helpContextId="org.eclipse.tcf.te.ui.views.command_Properties"
- id="properties"
- label="%command.properties.label"
- mnemonic="r"
- tooltip="%command.properties.tooltip">
- <visibleWhen>
- <with variable="selection">
- <count value="1"/>
- <iterate operator="and" ifEmpty="false">
- <test property="org.eclipse.tcf.te.ui.views.hasApplicableEditorBindings" value="true"/>
- </iterate>
- </with>
- </visibleWhen>
- </command>
- </menuContribution>
-
- <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.showIn">
- <menu
- commandId="org.eclipse.tcf.te.ui.views.command.ShowInGroup"
- id="org.eclipse.tcf.te.ui.views.View.showIn"
- label="%menu.showIn.label">
- <command
- commandId="org.eclipse.tcf.te.ui.views.command.ShowInProperties"
- icon="icons/eview16/prop_ps.gif"
- label="%menu.properties.label"
- style="push">
- </command>
- </menu>
- </menuContribution>
-
- <menuContribution locationURI="menu:org.eclipse.tcf.te.ui.views.View?after=additions">
- <separator
- name="group.filters"
- visible="true">
- </separator>
- <dynamic
- class="org.eclipse.tcf.te.ui.views.handler.FilterMRUContribution"
- id="org.eclipse.tcf.te.ui.views.dynamic.filterMRU">
- </dynamic>
- <command
- commandId="org.eclipse.tcf.te.ui.views.command.filters"
- icon="platform:/plugin/org.eclipse.ui.navigator/icons/full/elcl16/filter_ps.gif"
- id="org.eclipse.tcf.te.ui.views.command.filters"
- label="%command.filters.label"
- style="push">
- </command>
- <separator
- name="group.content"
- visible="true">
- </separator>
- <dynamic
- class="org.eclipse.tcf.te.ui.views.handler.ContentMRUContribution"
- id="org.eclipse.tcf.te.ui.views.dynamic.contentMRU">
- </dynamic>
- <command
- commandId="org.eclipse.tcf.te.ui.views.command.content"
- icon="platform:/plugin/org.eclipse.ui.navigator/icons/full/elcl16/content.gif"
- id="org.eclipse.tcf.te.ui.views.command.content"
- label="%command.content.label"
- style="push">
- </command>
- </menuContribution>
-
- <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.categories">
- <menu
- id="org.eclipse.tcf.te.ui.views.menu.categories.add"
- label="%menu.categories.addto.label">
- <dynamic
- id="org.eclipse.tcf.te.ui.views.dynamic.categories.add.multi"
- class="org.eclipse.tcf.te.ui.views.handler.CategoryAddToContributionItem">
- <visibleWhen checkEnabled="false">
- <with variable="selection">
- <test property="org.eclipse.tcf.te.ui.views.validAddToCategoriesCount" value="(1-"/>
- <iterate operator="and" ifEmpty="false">
- <adapt type="org.eclipse.tcf.te.ui.views.interfaces.categories.ICategorizable"/>
- </iterate>
- </with>
- </visibleWhen>
- </dynamic>
- </menu>
-
- <dynamic
- id="org.eclipse.tcf.te.ui.views.dynamic.categories.add.single"
- class="org.eclipse.tcf.te.ui.views.handler.CategoryAddToContributionItem">
- <visibleWhen checkEnabled="false">
- <with variable="selection">
- <test property="org.eclipse.tcf.te.ui.views.validAddToCategoriesCount" value="1"/>
- <iterate operator="and" ifEmpty="false">
- <adapt type="org.eclipse.tcf.te.ui.views.interfaces.categories.ICategorizable"/>
- </iterate>
- </with>
- </visibleWhen>
- </dynamic>
- </menuContribution>
- <menuContribution
- locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.filter">
- <command
- commandId="org.eclipse.tcf.te.ui.views.command.quickfilter"
- label="%menu.filter.label"
- mnemonic="t"
- style="push">
- </command>
- <command
- commandId="org.eclipse.tcf.te.ui.views.command.resetfilter"
- label="%menu.reset.label"
- mnemonic="r"
- style="push">
- </command>
- </menuContribution>
- <menuContribution
- locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.search">
- <command
- commandId="org.eclipse.tcf.te.ui.views.command.find"
- label="%menu.find.label"
- mnemonic="f"
- style="push">
- </command>
- </menuContribution>
-
- </extension>
-
-<!-- Command contributions -->
- <extension point="org.eclipse.ui.commands">
- <!-- Definition of the Common Navigator global retargetable open
- action id as command.
- -->
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.ui.navigator.Open"
- id="org.eclipse.ui.navigator.Open"
- name="%command.open.name">
- </command>
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.ui.views.command_ShowInGroup"
- id="org.eclipse.tcf.te.ui.views.command.ShowInGroup"
- name="%command.showin.name">
- </command>
-
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.ui.views.command_ShowInProperties"
- id="org.eclipse.tcf.te.ui.views.command.ShowInProperties"
- name="%command.showInProperties.label">
- </command>
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.ui.views.command_Filters"
- id="org.eclipse.tcf.te.ui.views.command.filters"
- name="%command.filters.name">
- </command>
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- helpContextId="org.eclipse.tcf.te.ui.views.command_Content"
- id="org.eclipse.tcf.te.ui.views.command.content"
- name="%command.content.name">
- </command>
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- description="%command.find.description"
- id="org.eclipse.tcf.te.ui.views.command.find"
- name="%command.find.name">
- </command>
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- description="%command.filter.description"
- id="org.eclipse.tcf.te.ui.views.command.quickfilter"
- name="%command.filter.name">
- </command>
- <command
- categoryId="org.eclipse.tcf.te.ui.commands.category"
- description="%command.reset.description"
- id="org.eclipse.tcf.te.ui.views.command.resetfilter"
- name="%command.reset.name">
- </command>
- </extension>
-
-<!-- Handler contributions -->
- <extension point="org.eclipse.ui.handlers">
- <handler
- commandId="org.eclipse.ui.file.properties"
- class="org.eclipse.tcf.te.ui.views.handler.PropertiesCommandHandler">
- <enabledWhen>
- <with variable="selection">
- <count value="1"/>
- </with>
- </enabledWhen>
- <activeWhen>
- <and>
- <with variable="activePartId">
- <equals value="org.eclipse.tcf.te.ui.views.View"/>
- </with>
- <with variable="selection">
- <iterate operator="and" ifEmpty="false">
- <test property="org.eclipse.tcf.te.ui.views.hasApplicableEditorBindings" value="true"/>
- </iterate>
- </with>
- </and>
- </activeWhen>
- </handler>
-
- <handler
- commandId="org.eclipse.ui.navigator.Open"
- class="org.eclipse.tcf.te.ui.views.handler.OpenCommandHandler">
- <enabledWhen>
- <with variable="selection">
- <count value="1"/>
- </with>
- </enabledWhen>
- <activeWhen>
- <with variable="activePartId">
- <equals value="org.eclipse.tcf.te.ui.views.View"/>
- </with>
- </activeWhen>
- </handler>
-
- <handler
- class="org.eclipse.tcf.te.ui.views.handler.ShowInPropertiesHandler"
- commandId="org.eclipse.tcf.te.ui.views.command.ShowInProperties">
- <activeWhen>
- <with variable="activePartId">
- <equals value="org.eclipse.tcf.te.ui.views.View"/>
- </with>
- </activeWhen>
- </handler>
-
- <handler
- class="org.eclipse.tcf.te.ui.views.handler.ConfigFiltersHandler"
- commandId="org.eclipse.tcf.te.ui.views.command.filters">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="org.eclipse.tcf.te.ui.views.View">
- </equals>
- </with>
- </activeWhen>
- </handler>
- <handler
- class="org.eclipse.tcf.te.ui.views.handler.ConfigContentHandler"
- commandId="org.eclipse.tcf.te.ui.views.command.content">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="org.eclipse.tcf.te.ui.views.View">
- </equals>
- </with>
- </activeWhen>
- </handler>
- <handler
- class="org.eclipse.tcf.te.ui.views.handler.ViewQuickFilterHanlder"
- commandId="org.eclipse.tcf.te.ui.views.command.quickfilter">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="org.eclipse.tcf.te.ui.views.View">
- </equals>
- </with>
- </activeWhen>
- <enabledWhen>
- <with
- variable="activePart">
- <adapt
- type="org.eclipse.ui.navigator.CommonViewer">
- <test
- property="org.eclipse.tcf.te.ui.views.isFilterable">
- </test>
- </adapt>
- </with>
- </enabledWhen>
- </handler>
- <handler
- class="org.eclipse.tcf.te.ui.views.handler.ViewQuickFilterResetHanlder"
- commandId="org.eclipse.tcf.te.ui.views.command.resetfilter">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="org.eclipse.tcf.te.ui.views.View">
- </equals>
- </with>
- </activeWhen>
- <enabledWhen>
- <with
- variable="activePart">
- <adapt
- type="org.eclipse.ui.navigator.CommonViewer">
- <test
- property="org.eclipse.tcf.te.ui.views.isFiltering">
- </test>
- </adapt>
- </with>
- </enabledWhen>
- </handler>
- <handler
- class="org.eclipse.tcf.te.ui.views.handler.EditorQuickFilterHanlder"
- commandId="org.eclipse.tcf.te.ui.views.command.quickfilter">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="org.eclipse.tcf.te.ui.views.Editor">
- </equals>
- </with>
- </activeWhen>
- <enabledWhen>
- <with
- variable="activeEditor">
- <test
- property="org.eclipse.tcf.te.ui.views.isEditorFilterable">
- </test>
- </with>
- </enabledWhen>
- </handler>
- <handler
- class="org.eclipse.tcf.te.ui.views.handler.EditorQuickFilterResetHanlder"
- commandId="org.eclipse.tcf.te.ui.views.command.resetfilter">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="org.eclipse.tcf.te.ui.views.Editor">
- </equals>
- </with>
- </activeWhen>
- <enabledWhen>
- <with
- variable="activeEditor">
- <adapt
- type="org.eclipse.jface.viewers.TreeViewer">
- <test
- property="org.eclipse.tcf.te.ui.views.isFiltering">
- </test>
- </adapt>
- </with>
- </enabledWhen>
- </handler>
- <handler
- class="org.eclipse.tcf.te.ui.views.handler.ViewSearchHandler"
- commandId="org.eclipse.tcf.te.ui.views.command.find">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="org.eclipse.tcf.te.ui.views.View">
- </equals>
- </with>
- </activeWhen>
- <enabledWhen>
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate>
- <or>
- <instanceof
- value="org.eclipse.tcf.te.ui.interfaces.ISearchable">
- </instanceof>
- <adapt
- type="org.eclipse.tcf.te.ui.interfaces.ISearchable">
- </adapt>
- </or>
- </iterate>
- </with>
- </enabledWhen>
- </handler>
- <handler
- class="org.eclipse.tcf.te.ui.views.handler.EditorSearchHandler"
- commandId="org.eclipse.tcf.te.ui.views.command.find">
- <activeWhen>
- <with
- variable="activePartId">
- <equals
- value="org.eclipse.tcf.te.ui.views.Editor">
- </equals>
- </with>
- </activeWhen>
- <enabledWhen>
- <with
- variable="selection">
- <count
- value="1">
- </count>
- <iterate>
- <or>
- <instanceof
- value="org.eclipse.tcf.te.ui.interfaces.ISearchable">
- </instanceof>
- <adapt
- type="org.eclipse.tcf.te.ui.interfaces.ISearchable">
- </adapt>
- </or>
- </iterate>
- </with>
- </enabledWhen>
- </handler>
- </extension>
-
-<!-- Eclipse core expressions property tester -->
- <extension point="org.eclipse.core.expressions.propertyTesters">
- <propertyTester
- class="org.eclipse.tcf.te.ui.views.expressions.PropertyTester"
- id="org.eclipse.tcf.te.ui.views.PropertyTester"
- namespace="org.eclipse.tcf.te.ui.views"
- properties="hasApplicableEditorBindings"
- type="java.lang.Object">
- </propertyTester>
-
- <propertyTester
- class="org.eclipse.tcf.te.ui.views.internal.categories.CategoryPropertyTester"
- id="org.eclipse.tcf.te.ui.views.categories.CategoryPropertyTester"
- namespace="org.eclipse.tcf.te.ui.views"
- properties="isCategoryID,belongsTo"
- type="org.eclipse.tcf.te.ui.views.interfaces.ICategory">
- </propertyTester>
-
- <propertyTester
- class="org.eclipse.tcf.te.ui.views.internal.categories.CategoryPropertyTester"
- id="org.eclipse.tcf.te.ui.views.categories.CategoryPropertyTester"
- namespace="org.eclipse.tcf.te.ui.views"
- properties="belongsTo"
- type="org.eclipse.tcf.te.ui.views.interfaces.categories.ICategorizable">
- </propertyTester>
-
- <propertyTester
- class="org.eclipse.tcf.te.ui.views.internal.categories.CategoryPropertyTester"
- id="org.eclipse.tcf.te.ui.views.categories.CategoryPropertyTester"
- namespace="org.eclipse.tcf.te.ui.views"
- properties="parentCategoryId,validAddToCategoriesCount"
- type="org.eclipse.jface.viewers.ISelection">
- </propertyTester>
- <propertyTester
- class="org.eclipse.tcf.te.ui.views.internal.quickfilter.QuickFilterTester"
- id="org.eclipse.tcf.te.ui.views.quickfilter.QuickFilterTester"
- namespace="org.eclipse.tcf.te.ui.views"
- properties="isFilterable,isFiltering"
- type="org.eclipse.jface.viewers.TreeViewer">
- </propertyTester>
- <propertyTester
- class="org.eclipse.tcf.te.ui.views.internal.quickfilter.EditorQuickFilterTester"
- id="org.eclipse.tcf.te.ui.views.quickfilter.EditorQuickFilterTester"
- namespace="org.eclipse.tcf.te.ui.views"
- properties="isEditorFilterable"
- type="org.eclipse.tcf.te.ui.views.editor.Editor">
- </propertyTester>
-
- </extension>
-
-<!-- Preference contributions -->
- <extension point="org.eclipse.core.runtime.preferences">
- <initializer class="org.eclipse.tcf.te.ui.views.internal.preferences.PreferencesInitializer"/>
- </extension>
-
-<!-- Element factory contributions -->
- <extension point="org.eclipse.ui.elementFactories">
- <factory
- class="org.eclipse.tcf.te.ui.views.internal.categories.CategoryFactory"
- id="org.eclipse.tcf.te.ui.views.categoryFactory">
- </factory>
- </extension>
- <extension
- point="org.eclipse.ui.bindings">
- <key
- commandId="org.eclipse.tcf.te.ui.views.command.ShowInGroup"
- contextId="org.eclipse.tcf.te.ui.views.View"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M3+M2+W">
- </key>
- <key
- commandId="org.eclipse.tcf.te.ui.views.command.find"
- contextId="org.eclipse.tcf.te.ui.views.View"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M1+F">
- </key>
- <key
- commandId="org.eclipse.tcf.te.ui.views.command.find"
- contextId="org.eclipse.tcf.te.ui.views.Editor"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M1+F">
- </key>
- <key
- commandId="org.eclipse.tcf.te.ui.views.command.quickfilter"
- contextId="org.eclipse.tcf.te.ui.views.View"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M1+T">
- </key>
- <key
- commandId="org.eclipse.tcf.te.ui.views.command.quickfilter"
- contextId="org.eclipse.tcf.te.ui.views.Editor"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="M1+T">
- </key>
- <key
- commandId="org.eclipse.tcf.te.ui.views.command.resetfilter"
- contextId="org.eclipse.tcf.te.ui.views.View"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="ESC">
- </key>
- <key
- commandId="org.eclipse.tcf.te.ui.views.command.resetfilter"
- contextId="org.eclipse.tcf.te.ui.views.Editor"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="ESC">
- </key>
- </extension>
- <extension
- point="org.eclipse.core.runtime.adapters">
- <factory
- adaptableType="org.eclipse.tcf.te.ui.views.internal.View"
- class="org.eclipse.tcf.te.ui.views.internal.adapters.ViewAdapterFactory">
- <adapter
- type="org.eclipse.ui.navigator.CommonViewer">
- </adapter>
- </factory>
- <factory
- adaptableType="org.eclipse.tcf.te.ui.views.editor.Editor"
- class="org.eclipse.tcf.te.ui.views.internal.adapters.EditorAdapterFactory">
- <adapter
- type="org.eclipse.jface.viewers.TreeViewer">
- </adapter>
- </factory>
- </extension>
- <extension
- point="org.eclipse.ui.commandImages">
- <image
- commandId="org.eclipse.tcf.te.ui.views.command.find"
- icon="icons/obj16/search.gif">
- </image>
- <image
- commandId="org.eclipse.tcf.te.ui.views.command.quickfilter"
- icon="platform:/plugin/org.eclipse.ui.navigator/icons/full/elcl16/filter_ps.gif">
- </image>
- </extension>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> + +<!-- Extension Points --> + <extension-point id="editorPageBindings" name="%ExtensionPoint.editorPageBindings.name" schema="schema/editorPageBindings.exsd"/> + <extension-point id="editorPages" name="%ExtensionPoint.editorPages.name" schema="schema/editorPages.exsd"/> + <extension-point id="categories" name="%ExtensionPoint.categories.name" schema="schema/categories.exsd"/> + +<!-- Common Navigator contributions --> + <extension point="org.eclipse.ui.navigator.viewer"> + <viewer + helpContext="org.eclipse.tcf.te.ui.views.View" + viewerId="org.eclipse.tcf.te.ui.views.View"> + <popupMenu + id="org.eclipse.tcf.te.ui.views.View#Popup" + allowsPlatformContributions="true"> + <insertionPoint name="group.new" separator="true"/> + <insertionPoint name="group.goto"/> + <insertionPoint name="group.expandto" separator="true"/> + <insertionPoint name="group.expand"/> + <insertionPoint name="group.open" separator="true"/> + <insertionPoint name="group.openWith"/> + <insertionPoint name="group.showIn"/> + <insertionPoint name="group.connect" separator="true"/> + <insertionPoint name="group.redirect" separator="true"/> + <insertionPoint name="group.symbols" separator="true"/> + <insertionPoint name="group.symbols.rd"/> + <insertionPoint name="group.symbols.loadunload"/> + <insertionPoint name="group.symbols.additions"/> + <insertionPoint name="group.launch" separator="true"/> + <insertionPoint name="group.launch.rundebug"/> + <insertionPoint name="group.launch.modes"/> + <insertionPoint name="group.launch.additions"/> + <insertionPoint name="group.show" separator="true"/> + <insertionPoint name="group.edit" separator="true"/> + <insertionPoint name="group.delete"/> + <insertionPoint name="group.build" separator="true"/> + <insertionPoint name="group.refresh" separator="true"/> + <insertionPoint name="group.syncop"/> + <insertionPoint name="group.categories" separator="true"/> + <insertionPoint name="group.reorganize"/> + <insertionPoint name="group.reorder"/> + <insertionPoint name="group.port"/> + <insertionPoint name="group.generate" separator="true"/> + <insertionPoint name="group.search" separator="true"/> + <insertionPoint name="group.connection" separator="true"/> + <insertionPoint name="group.operations" separator="true"/> + <insertionPoint name="group.analysis" separator="true"/> + <insertionPoint + name="group.filter" + separator="true"> + </insertionPoint> + <insertionPoint name="additions" separator="true"/> + <insertionPoint name="group.properties" separator="true"/> + </popupMenu> + <options> + <property + name="org.eclipse.ui.navigator.hideLinkWithEditorAction" + value="true"> + </property> + <property + name="org.eclipse.ui.navigator.hideAvailableCustomizationsDialog" + value="true"> + </property> + <property + name="org.eclipse.ui.navigator.enforceHasChildren" + value="true"> + </property> + </options> + </viewer> + + <viewerContentBinding viewerId="org.eclipse.tcf.te.ui.views.View"> + <includes> + <contentExtension + pattern="org.eclipse.tcf.te.ui.views.navigator.*"> + </contentExtension> + + </includes> + </viewerContentBinding> + + <viewerActionBinding + viewerId="org.eclipse.tcf.te.ui.views.View"> + <includes> + <actionExtension + pattern="org.eclipse.tcf.te.ui.views.navigator.actions.*"> + </actionExtension> + </includes> + </viewerActionBinding> + </extension> + +<!-- Common navigator contributions --> + <extension point="org.eclipse.ui.navigator.navigatorContent"> + +<!-- Default navigator content contibutions --> + <navigatorContent + activeByDefault="true" + appearsBefore="org.eclipse.tcf.te.tcf.ui.navigator.content" + contentProvider="org.eclipse.tcf.te.ui.views.navigator.ContentProviderDelegate" + icon="icons/eview16/targets_view.gif" + id="org.eclipse.tcf.te.ui.views.navigator.content" + labelProvider="org.eclipse.tcf.te.ui.views.navigator.LabelProviderDelegate" + name="%navigatorContent.name" + priority="higher"> + <triggerPoints> + <instanceof value="org.eclipse.tcf.te.ui.views.interfaces.IRoot"/> + </triggerPoints> + <possibleChildren> + <instanceof value="org.eclipse.tcf.te.ui.views.interfaces.ICategory"/> + </possibleChildren> + <commonSorter + class="org.eclipse.tcf.te.ui.views.navigator.ViewerSorter" + id="org.eclipse.tcf.te.ui.views.navigator.sorter"/> + </navigatorContent> + +<!-- Default navigator action contributions --> + <actionProvider + class="org.eclipse.tcf.te.ui.views.actions.NewActionProvider" + id="org.eclipse.tcf.te.ui.views.navigator.actions.NewActionProvider"> + <enablement> + </enablement> + </actionProvider> + + <actionProvider + class="org.eclipse.tcf.te.ui.views.actions.GoIntoActionProvider" + id="org.eclipse.tcf.te.ui.views.navigator.actions.GoIntoActionProvider"> + <enablement></enablement> + </actionProvider> + + </extension> + +<!-- View contributions --> + <extension point="org.eclipse.ui.views"> + <category + id="org.eclipse.tcf.te.ui.views.category" + name="%ViewCategory.name"> + </category> + <view + category="org.eclipse.tcf.te.ui.views.category" + class="org.eclipse.tcf.te.ui.views.internal.View" + icon="icons/eview16/targets_view.gif" + id="org.eclipse.tcf.te.ui.views.View" + name="%View.name" + restorable="true"> + </view> + </extension> + +<!-- View categories contributions --> + <extension point="org.eclipse.tcf.te.ui.views.categories"> + <category + class="org.eclipse.tcf.te.ui.views.categories.Category" + icon="icons/obj16/favorites.gif" + id="org.eclipse.tcf.te.ui.views.category.favorites" + label="%category.favorites.name" + rank="1"> + </category> + + <category + class="org.eclipse.tcf.te.ui.views.categories.Category" + icon="icons/obj16/targets.gif" + id="org.eclipse.tcf.te.ui.views.category.mytargets" + label="%category.mytargets.name" + rank="10"> + </category> + + <category + class="org.eclipse.tcf.te.ui.views.categories.Category" + icon="icons/obj16/neighborhood.gif" + id="org.eclipse.tcf.te.ui.views.category.neighborhood" + label="%category.neighborhood.name" + rank="20"> + </category> + </extension> + +<!-- Perspective --> + <extension point="org.eclipse.ui.perspectives"> + <perspective + class="org.eclipse.tcf.te.ui.views.perspective.PerspectiveFactory" + icon="icons/eview16/editor.gif" + id="org.eclipse.tcf.te.ui.perspective" + name="%Perspective.name"> + </perspective> + </extension> + +<!-- Perspective contributions --> + <extension point="org.eclipse.ui.perspectiveExtensions"> + <perspectiveExtension targetID="org.eclipse.tcf.te.ui.perspective"> + <!-- Run/Debug actions should be available --> + <actionSet id="org.eclipse.debug.ui.launchActionSet"/> + <!-- Register the view shortcuts --> + <viewShortcut id="org.eclipse.tcf.te.ui.views.View"/> + </perspectiveExtension> + </extension> + +<!-- Editor contributions --> + <extension point="org.eclipse.ui.editors"> + <editor + class="org.eclipse.tcf.te.ui.views.editor.Editor" + default="false" + icon="icons/eview16/prop_ps.gif" + id="org.eclipse.tcf.te.ui.views.Editor" + name="%Editor.name"> + </editor> + </extension> + +<!-- Tabbed properties view contributions --> + <extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor"> + <propertyContributor + contributorId="org.eclipse.tcf.te.ui" + labelProvider="org.eclipse.tcf.te.ui.views.internal.PropertyContributorLabelProvider"> + <propertyCategory category="org.eclipse.tcf.te"/> + </propertyContributor> + </extension> + +<!-- Menu contributions --> + <extension point="org.eclipse.ui.menus"> + <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.properties"> + <command + commandId="org.eclipse.ui.file.properties" + helpContextId="org.eclipse.tcf.te.ui.views.command_Properties" + id="properties" + label="%command.properties.label" + mnemonic="r" + tooltip="%command.properties.tooltip"> + <visibleWhen> + <with variable="selection"> + <count value="1"/> + <iterate operator="and" ifEmpty="false"> + <test property="org.eclipse.tcf.te.ui.views.hasApplicableEditorBindings" value="true"/> + </iterate> + </with> + </visibleWhen> + </command> + </menuContribution> + + <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.showIn"> + <menu + commandId="org.eclipse.tcf.te.ui.views.command.ShowInGroup" + id="org.eclipse.tcf.te.ui.views.View.showIn" + label="%menu.showIn.label"> + <command + commandId="org.eclipse.tcf.te.ui.views.command.ShowInProperties" + icon="icons/eview16/prop_ps.gif" + label="%menu.properties.label" + style="push"> + </command> + </menu> + </menuContribution> + + <menuContribution locationURI="menu:org.eclipse.tcf.te.ui.views.View?after=additions"> + <separator + name="group.filters" + visible="true"> + </separator> + <dynamic + class="org.eclipse.tcf.te.ui.views.handler.FilterMRUContribution" + id="org.eclipse.tcf.te.ui.views.dynamic.filterMRU"> + </dynamic> + <command + commandId="org.eclipse.tcf.te.ui.views.command.filters" + icon="platform:/plugin/org.eclipse.ui.navigator/icons/full/elcl16/filter_ps.gif" + id="org.eclipse.tcf.te.ui.views.command.filters" + label="%command.filters.label" + style="push"> + </command> + <separator + name="group.content" + visible="true"> + </separator> + <dynamic + class="org.eclipse.tcf.te.ui.views.handler.ContentMRUContribution" + id="org.eclipse.tcf.te.ui.views.dynamic.contentMRU"> + </dynamic> + <command + commandId="org.eclipse.tcf.te.ui.views.command.content" + icon="platform:/plugin/org.eclipse.ui.navigator/icons/full/elcl16/content.gif" + id="org.eclipse.tcf.te.ui.views.command.content" + label="%command.content.label" + style="push"> + </command> + </menuContribution> + + <menuContribution locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.categories"> + <menu + id="org.eclipse.tcf.te.ui.views.menu.categories.add" + label="%menu.categories.addto.label"> + <dynamic + id="org.eclipse.tcf.te.ui.views.dynamic.categories.add.multi" + class="org.eclipse.tcf.te.ui.views.handler.CategoryAddToContributionItem"> + <visibleWhen checkEnabled="false"> + <with variable="selection"> + <test property="org.eclipse.tcf.te.ui.views.validAddToCategoriesCount" value="(1-"/> + <iterate operator="and" ifEmpty="false"> + <adapt type="org.eclipse.tcf.te.ui.views.interfaces.categories.ICategorizable"/> + </iterate> + </with> + </visibleWhen> + </dynamic> + </menu> + + <dynamic + id="org.eclipse.tcf.te.ui.views.dynamic.categories.add.single" + class="org.eclipse.tcf.te.ui.views.handler.CategoryAddToContributionItem"> + <visibleWhen checkEnabled="false"> + <with variable="selection"> + <test property="org.eclipse.tcf.te.ui.views.validAddToCategoriesCount" value="1"/> + <iterate operator="and" ifEmpty="false"> + <adapt type="org.eclipse.tcf.te.ui.views.interfaces.categories.ICategorizable"/> + </iterate> + </with> + </visibleWhen> + </dynamic> + </menuContribution> + <menuContribution + locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.filter"> + <command + commandId="org.eclipse.tcf.te.ui.views.command.quickfilter" + label="%menu.filter.label" + mnemonic="t" + style="push"> + </command> + <command + commandId="org.eclipse.tcf.te.ui.views.command.resetfilter" + label="%menu.reset.label" + mnemonic="r" + style="push"> + </command> + </menuContribution> + <menuContribution + locationURI="popup:org.eclipse.tcf.te.ui.views.View#Popup?after=group.search"> + <command + commandId="org.eclipse.tcf.te.ui.views.command.find" + label="%menu.find.label" + mnemonic="f" + style="push"> + </command> + </menuContribution> + + </extension> + +<!-- Command contributions --> + <extension point="org.eclipse.ui.commands"> + <!-- Definition of the Common Navigator global retargetable open + action id as command. + --> + <command + categoryId="org.eclipse.tcf.te.ui.commands.category" + helpContextId="org.eclipse.ui.navigator.Open" + id="org.eclipse.ui.navigator.Open" + name="%command.open.name"> + </command> + <command + categoryId="org.eclipse.tcf.te.ui.commands.category" + helpContextId="org.eclipse.tcf.te.ui.views.command_ShowInGroup" + id="org.eclipse.tcf.te.ui.views.command.ShowInGroup" + name="%command.showin.name"> + </command> + + <command + categoryId="org.eclipse.tcf.te.ui.commands.category" + helpContextId="org.eclipse.tcf.te.ui.views.command_ShowInProperties" + id="org.eclipse.tcf.te.ui.views.command.ShowInProperties" + name="%command.showInProperties.label"> + </command> + <command + categoryId="org.eclipse.tcf.te.ui.commands.category" + helpContextId="org.eclipse.tcf.te.ui.views.command_Filters" + id="org.eclipse.tcf.te.ui.views.command.filters" + name="%command.filters.name"> + </command> + <command + categoryId="org.eclipse.tcf.te.ui.commands.category" + helpContextId="org.eclipse.tcf.te.ui.views.command_Content" + id="org.eclipse.tcf.te.ui.views.command.content" + name="%command.content.name"> + </command> + <command + categoryId="org.eclipse.tcf.te.ui.commands.category" + description="%command.find.description" + id="org.eclipse.tcf.te.ui.views.command.find" + name="%command.find.name"> + </command> + <command + categoryId="org.eclipse.tcf.te.ui.commands.category" + description="%command.filter.description" + id="org.eclipse.tcf.te.ui.views.command.quickfilter" + name="%command.filter.name"> + </command> + <command + categoryId="org.eclipse.tcf.te.ui.commands.category" + description="%command.reset.description" + id="org.eclipse.tcf.te.ui.views.command.resetfilter" + name="%command.reset.name"> + </command> + <command + categoryId="org.eclipse.tcf.te.ui.commands.category" + description="%command.showInSM.description" + id="org.eclipse.tcf.te.ui.command.showIn.systemManagement" + name="%command.showInSM.name"> + </command> + </extension> + +<!-- Handler contributions --> + <extension point="org.eclipse.ui.handlers"> + <handler + commandId="org.eclipse.ui.file.properties" + class="org.eclipse.tcf.te.ui.views.handler.PropertiesCommandHandler"> + <enabledWhen> + <with variable="selection"> + <count value="1"/> + </with> + </enabledWhen> + <activeWhen> + <and> + <with variable="activePartId"> + <equals value="org.eclipse.tcf.te.ui.views.View"/> + </with> + <with variable="selection"> + <iterate operator="and" ifEmpty="false"> + <test property="org.eclipse.tcf.te.ui.views.hasApplicableEditorBindings" value="true"/> + </iterate> + </with> + </and> + </activeWhen> + </handler> + + <handler + commandId="org.eclipse.ui.navigator.Open" + class="org.eclipse.tcf.te.ui.views.handler.OpenCommandHandler"> + <enabledWhen> + <with variable="selection"> + <count value="1"/> + </with> + </enabledWhen> + <activeWhen> + <with variable="activePartId"> + <equals value="org.eclipse.tcf.te.ui.views.View"/> + </with> + </activeWhen> + </handler> + + <handler + class="org.eclipse.tcf.te.ui.views.handler.ShowInPropertiesHandler" + commandId="org.eclipse.tcf.te.ui.views.command.ShowInProperties"> + <activeWhen> + <with variable="activePartId"> + <equals value="org.eclipse.tcf.te.ui.views.View"/> + </with> + </activeWhen> + </handler> + + <handler + class="org.eclipse.tcf.te.ui.views.handler.ConfigFiltersHandler" + commandId="org.eclipse.tcf.te.ui.views.command.filters"> + <activeWhen> + <with + variable="activePartId"> + <equals + value="org.eclipse.tcf.te.ui.views.View"> + </equals> + </with> + </activeWhen> + </handler> + <handler + class="org.eclipse.tcf.te.ui.views.handler.ConfigContentHandler" + commandId="org.eclipse.tcf.te.ui.views.command.content"> + <activeWhen> + <with + variable="activePartId"> + <equals + value="org.eclipse.tcf.te.ui.views.View"> + </equals> + </with> + </activeWhen> + </handler> + <handler + class="org.eclipse.tcf.te.ui.views.handler.ViewQuickFilterHanlder" + commandId="org.eclipse.tcf.te.ui.views.command.quickfilter"> + <activeWhen> + <with + variable="activePartId"> + <equals + value="org.eclipse.tcf.te.ui.views.View"> + </equals> + </with> + </activeWhen> + <enabledWhen> + <with + variable="activePart"> + <adapt + type="org.eclipse.ui.navigator.CommonViewer"> + <test + property="org.eclipse.tcf.te.ui.views.isFilterable"> + </test> + </adapt> + </with> + </enabledWhen> + </handler> + <handler + class="org.eclipse.tcf.te.ui.views.handler.ViewQuickFilterResetHanlder" + commandId="org.eclipse.tcf.te.ui.views.command.resetfilter"> + <activeWhen> + <with + variable="activePartId"> + <equals + value="org.eclipse.tcf.te.ui.views.View"> + </equals> + </with> + </activeWhen> + <enabledWhen> + <with + variable="activePart"> + <adapt + type="org.eclipse.ui.navigator.CommonViewer"> + <test + property="org.eclipse.tcf.te.ui.views.isFiltering"> + </test> + </adapt> + </with> + </enabledWhen> + </handler> + <handler + class="org.eclipse.tcf.te.ui.views.handler.EditorQuickFilterHanlder" + commandId="org.eclipse.tcf.te.ui.views.command.quickfilter"> + <activeWhen> + <with + variable="activePartId"> + <equals + value="org.eclipse.tcf.te.ui.views.Editor"> + </equals> + </with> + </activeWhen> + <enabledWhen> + <with + variable="activeEditor"> + <test + property="org.eclipse.tcf.te.ui.views.isEditorFilterable"> + </test> + </with> + </enabledWhen> + </handler> + <handler + class="org.eclipse.tcf.te.ui.views.handler.EditorQuickFilterResetHanlder" + commandId="org.eclipse.tcf.te.ui.views.command.resetfilter"> + <activeWhen> + <with + variable="activePartId"> + <equals + value="org.eclipse.tcf.te.ui.views.Editor"> + </equals> + </with> + </activeWhen> + <enabledWhen> + <with + variable="activeEditor"> + <adapt + type="org.eclipse.jface.viewers.TreeViewer"> + <test + property="org.eclipse.tcf.te.ui.views.isFiltering"> + </test> + </adapt> + </with> + </enabledWhen> + </handler> + <handler + class="org.eclipse.tcf.te.ui.views.handler.ViewSearchHandler" + commandId="org.eclipse.tcf.te.ui.views.command.find"> + <activeWhen> + <with + variable="activePartId"> + <equals + value="org.eclipse.tcf.te.ui.views.View"> + </equals> + </with> + </activeWhen> + <enabledWhen> + <with + variable="selection"> + <count + value="1"> + </count> + <iterate> + <or> + <instanceof + value="org.eclipse.tcf.te.ui.interfaces.ISearchable"> + </instanceof> + <adapt + type="org.eclipse.tcf.te.ui.interfaces.ISearchable"> + </adapt> + </or> + </iterate> + </with> + </enabledWhen> + </handler> + <handler + class="org.eclipse.tcf.te.ui.views.handler.EditorSearchHandler" + commandId="org.eclipse.tcf.te.ui.views.command.find"> + <activeWhen> + <with + variable="activePartId"> + <equals + value="org.eclipse.tcf.te.ui.views.Editor"> + </equals> + </with> + </activeWhen> + <enabledWhen> + <with + variable="selection"> + <count + value="1"> + </count> + <iterate> + <or> + <instanceof + value="org.eclipse.tcf.te.ui.interfaces.ISearchable"> + </instanceof> + <adapt + type="org.eclipse.tcf.te.ui.interfaces.ISearchable"> + </adapt> + </or> + </iterate> + </with> + </enabledWhen> + </handler> + </extension> + +<!-- Eclipse core expressions property tester --> + <extension point="org.eclipse.core.expressions.propertyTesters"> + <propertyTester + class="org.eclipse.tcf.te.ui.views.expressions.PropertyTester" + id="org.eclipse.tcf.te.ui.views.PropertyTester" + namespace="org.eclipse.tcf.te.ui.views" + properties="hasApplicableEditorBindings" + type="java.lang.Object"> + </propertyTester> + + <propertyTester + class="org.eclipse.tcf.te.ui.views.internal.categories.CategoryPropertyTester" + id="org.eclipse.tcf.te.ui.views.categories.CategoryPropertyTester" + namespace="org.eclipse.tcf.te.ui.views" + properties="isCategoryID,belongsTo" + type="org.eclipse.tcf.te.ui.views.interfaces.ICategory"> + </propertyTester> + + <propertyTester + class="org.eclipse.tcf.te.ui.views.internal.categories.CategoryPropertyTester" + id="org.eclipse.tcf.te.ui.views.categories.CategoryPropertyTester" + namespace="org.eclipse.tcf.te.ui.views" + properties="belongsTo" + type="org.eclipse.tcf.te.ui.views.interfaces.categories.ICategorizable"> + </propertyTester> + + <propertyTester + class="org.eclipse.tcf.te.ui.views.internal.categories.CategoryPropertyTester" + id="org.eclipse.tcf.te.ui.views.categories.CategoryPropertyTester" + namespace="org.eclipse.tcf.te.ui.views" + properties="parentCategoryId,validAddToCategoriesCount" + type="org.eclipse.jface.viewers.ISelection"> + </propertyTester> + <propertyTester + class="org.eclipse.tcf.te.ui.views.internal.quickfilter.QuickFilterTester" + id="org.eclipse.tcf.te.ui.views.quickfilter.QuickFilterTester" + namespace="org.eclipse.tcf.te.ui.views" + properties="isFilterable,isFiltering" + type="org.eclipse.jface.viewers.TreeViewer"> + </propertyTester> + <propertyTester + class="org.eclipse.tcf.te.ui.views.internal.quickfilter.EditorQuickFilterTester" + id="org.eclipse.tcf.te.ui.views.quickfilter.EditorQuickFilterTester" + namespace="org.eclipse.tcf.te.ui.views" + properties="isEditorFilterable" + type="org.eclipse.tcf.te.ui.views.editor.Editor"> + </propertyTester> + + </extension> + +<!-- Preference contributions --> + <extension point="org.eclipse.core.runtime.preferences"> + <initializer class="org.eclipse.tcf.te.ui.views.internal.preferences.PreferencesInitializer"/> + </extension> + +<!-- Element factory contributions --> + <extension point="org.eclipse.ui.elementFactories"> + <factory + class="org.eclipse.tcf.te.ui.views.internal.categories.CategoryFactory" + id="org.eclipse.tcf.te.ui.views.categoryFactory"> + </factory> + </extension> + <extension + point="org.eclipse.ui.bindings"> + <key + commandId="org.eclipse.tcf.te.ui.views.command.ShowInGroup" + contextId="org.eclipse.tcf.te.ui.views.View" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="M3+M2+W"> + </key> + <key + commandId="org.eclipse.tcf.te.ui.views.command.find" + contextId="org.eclipse.tcf.te.ui.views.View" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="M1+F"> + </key> + <key + commandId="org.eclipse.tcf.te.ui.views.command.find" + contextId="org.eclipse.tcf.te.ui.views.Editor" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="M1+F"> + </key> + <key + commandId="org.eclipse.tcf.te.ui.views.command.quickfilter" + contextId="org.eclipse.tcf.te.ui.views.View" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="M1+T"> + </key> + <key + commandId="org.eclipse.tcf.te.ui.views.command.quickfilter" + contextId="org.eclipse.tcf.te.ui.views.Editor" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="M1+T"> + </key> + <key + commandId="org.eclipse.tcf.te.ui.views.command.resetfilter" + contextId="org.eclipse.tcf.te.ui.views.View" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="ESC"> + </key> + <key + commandId="org.eclipse.tcf.te.ui.views.command.resetfilter" + contextId="org.eclipse.tcf.te.ui.views.Editor" + schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" + sequence="ESC"> + </key> + </extension> + <extension + point="org.eclipse.core.runtime.adapters"> + <factory + adaptableType="org.eclipse.tcf.te.ui.views.internal.View" + class="org.eclipse.tcf.te.ui.views.internal.adapters.ViewAdapterFactory"> + <adapter + type="org.eclipse.ui.navigator.CommonViewer"> + </adapter> + </factory> + <factory + adaptableType="org.eclipse.tcf.te.ui.views.editor.Editor" + class="org.eclipse.tcf.te.ui.views.internal.adapters.EditorAdapterFactory"> + <adapter + type="org.eclipse.jface.viewers.TreeViewer"> + </adapter> + </factory> + </extension> + <extension + point="org.eclipse.ui.commandImages"> + <image + commandId="org.eclipse.tcf.te.ui.views.command.find" + icon="icons/obj16/search.gif"> + </image> + <image + commandId="org.eclipse.tcf.te.ui.views.command.quickfilter" + icon="platform:/plugin/org.eclipse.ui.navigator/icons/full/elcl16/filter_ps.gif"> + </image> + </extension> + +</plugin> diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/editor/pages/AbstractCustomFormToolkitEditorPage.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/editor/pages/AbstractCustomFormToolkitEditorPage.java index ad383968f..e8be0440c 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/editor/pages/AbstractCustomFormToolkitEditorPage.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/editor/pages/AbstractCustomFormToolkitEditorPage.java @@ -1,207 +1,257 @@ -/*******************************************************************************
- * Copyright (c) 2011, 2012 Wind River Systems, Inc. and others. All rights reserved.
- * This program and the accompanying materials are made available under the terms
- * of the Eclipse Public License v1.0 which accompanies this distribution, and is
- * available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Wind River Systems - initial API and implementation
- *******************************************************************************/
-package org.eclipse.tcf.te.ui.views.editor.pages;
-
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.jface.action.Action;
-import org.eclipse.jface.action.IAction;
-import org.eclipse.jface.action.IToolBarManager;
-import org.eclipse.jface.action.Separator;
-import org.eclipse.jface.action.ToolBarManager;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.tcf.te.ui.forms.CustomFormToolkit;
-import org.eclipse.tcf.te.ui.forms.FormLayoutFactory;
-import org.eclipse.tcf.te.ui.views.activator.UIPlugin;
-import org.eclipse.tcf.te.ui.views.interfaces.ImageConsts;
-import org.eclipse.tcf.te.ui.views.nls.Messages;
-import org.eclipse.ui.IWorkbenchActionConstants;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.forms.IManagedForm;
-import org.eclipse.ui.menus.IMenuService;
-
-/**
- * Abstract details editor page implementation managing
- * an custom form toolkit instance.
- */
-public abstract class AbstractCustomFormToolkitEditorPage extends AbstractEditorPage {
- // Reference to the form toolkit instance
- private CustomFormToolkit toolkit = null;
-
- // The default help action class definition
- static protected class HelpAction extends Action {
- /* default */ final String helpID;
-
- /**
- * Constructor.
- *
- * @param helpID The context help id. Must not be <code>null</code>.
- */
- public HelpAction(String helpID) {
- super(Messages.AbstractCustomFormToolkitEditorPage_HelpAction_label, IAction.AS_PUSH_BUTTON);
- Assert.isNotNull(helpID);
- this.helpID = helpID;
- setToolTipText(Messages.AbstractCustomFormToolkitEditorPage_HelpAction_tooltip);
- setImageDescriptor(UIPlugin.getImageDescriptor(ImageConsts.HELP));
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.jface.action.Action#run()
- */
- @Override
- public void run() {
- PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
- @Override
- public void run() {
- PlatformUI.getWorkbench().getHelpSystem().displayHelp(helpID);
- }
- });
- }
- }
-
- /**
- * Returns the custom form toolkit instance.
- *
- * @return The custom form toolkit instance or <code>null</code>.
- */
- protected final CustomFormToolkit getFormToolkit() {
- return toolkit;
- }
-
- /**
- * Sets the custom form toolkit instance.
- *
- * @param toolkit The custom form toolkit instance or <code>null</code>.
- */
- protected final void setFormToolkit(CustomFormToolkit toolkit) {
- this.toolkit = toolkit;
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.forms.editor.FormPage#dispose()
- */
- @Override
- public void dispose() {
- // Get the menu service and release the toolbar manager
- if (toolkit != null) { toolkit.dispose(); toolkit = null; }
- super.dispose();
- }
-
- /* (non-Javadoc)
- * @see org.eclipse.ui.forms.editor.FormPage#createFormContent(org.eclipse.ui.forms.IManagedForm)
- */
- @Override
- protected void createFormContent(IManagedForm managedForm) {
- super.createFormContent(managedForm);
-
- Assert.isNotNull(managedForm);
-
- // Create the toolkit instance
- toolkit = new CustomFormToolkit(managedForm.getToolkit());
-
- // Configure the managed form
- configureManagedForm(managedForm);
-
- // Do create the content of the form now
- doCreateFormContent(managedForm.getForm().getBody(), getFormToolkit());
-
- // Re-arrange the controls
- managedForm.reflow(true);
- }
-
- /**
- * Configure the managed form to be ready for usage.
- *
- * @param managedForm The managed form. Must not be <code>null</code>.
- */
- protected void configureManagedForm(IManagedForm managedForm) {
- Assert.isNotNull(managedForm);
-
- // Configure main layout
- Composite body = managedForm.getForm().getBody();
- body.setLayout(FormLayoutFactory.createFormGridLayout(false, 1));
-
- // Set context help id
- if (getContextHelpId() != null) {
- PlatformUI.getWorkbench().getHelpSystem().setHelp(managedForm.getForm(), getContextHelpId());
- }
-
- // Decorate the form header
- getFormToolkit().getFormToolkit().decorateFormHeading(managedForm.getForm().getForm());
- // And set the header text and image
- if (getFormTitle() != null) managedForm.getForm().getForm().setText(getFormTitle());
- managedForm.getForm().getForm().setImage(getFormImage());
-
- // Add the toolbar items which will appear in the form header
- IToolBarManager manager = managedForm.getForm().getForm().getToolBarManager();
- // Add the default "additions" separator
- manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
- // Create fixed toolbar contribution items
- createToolbarContributionItems(manager);
- // Get the menu service and populate contributed toolbar actions
- IMenuService service = (IMenuService) getSite().getService(IMenuService.class);
- if (service != null) {
- service.populateContributionManager((ToolBarManager)manager, "toolbar:" + getId()); //$NON-NLS-1$
- }
- // Trigger an update of the toolbar widget
- manager.update(true);
- }
-
- /**
- * Returns the context help id to associate with the page form.
- *
- * @return The context help id.
- */
- protected String getContextHelpId() {
- return null;
- }
-
- /**
- * Returns the form title to set to the top form header.
- *
- * @return The form title.
- */
- protected String getFormTitle() {
- return null;
- }
-
- /**
- * Returns the image to be set to the top form header.
- *
- * @return The image or <code>null</code> to use no image.
- */
- protected Image getFormImage() {
- return null;
- }
-
- /**
- * Create the toolbar contribution items.
- *
- * @param manager The toolbar manager. Must not be <code>null</code>.
- */
- protected void createToolbarContributionItems(IToolBarManager manager) {
- Assert.isNotNull(manager);
-
- // If the page is associated with a context help id, add a default
- // help action button into the toolbar
- if (getContextHelpId() != null) {
- HelpAction helpAction = new HelpAction(getContextHelpId());
- manager.add(helpAction);
- }
- }
-
- /**
- * Do create the managed form content.
- *
- * @param parent The parent composite. Must not be <code>null</code>
- * @param toolkit The {@link CustomFormToolkit} instance. Must not be <code>null</code>.
- */
- protected abstract void doCreateFormContent(Composite parent, CustomFormToolkit toolkit);
-}
+/******************************************************************************* + * Copyright (c) 2011, 2012 Wind River Systems, Inc. and others. All rights reserved. + * This program and the accompanying materials are made available under the terms + * of the Eclipse Public License v1.0 which accompanies this distribution, and is + * available at http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * Wind River Systems - initial API and implementation + *******************************************************************************/ +package org.eclipse.tcf.te.ui.views.editor.pages; + +import org.eclipse.core.runtime.Assert; +import org.eclipse.jface.action.Action; +import org.eclipse.jface.action.IAction; +import org.eclipse.jface.action.IToolBarManager; +import org.eclipse.jface.action.Separator; +import org.eclipse.jface.action.ToolBarManager; +import org.eclipse.swt.graphics.Image; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.tcf.te.ui.forms.CustomFormToolkit; +import org.eclipse.tcf.te.ui.forms.FormLayoutFactory; +import org.eclipse.tcf.te.ui.views.activator.UIPlugin; +import org.eclipse.tcf.te.ui.views.interfaces.ImageConsts; +import org.eclipse.tcf.te.ui.views.nls.Messages; +import org.eclipse.ui.IWorkbenchActionConstants; +import org.eclipse.ui.IWorkbenchWindow; +import org.eclipse.ui.PlatformUI; +import org.eclipse.ui.forms.IManagedForm; +import org.eclipse.ui.internal.actions.CommandAction; +import org.eclipse.ui.menus.IMenuService; + +/** + * Abstract details editor page implementation managing + * an custom form toolkit instance. + */ +@SuppressWarnings("restriction") +public abstract class AbstractCustomFormToolkitEditorPage extends AbstractEditorPage { + // Reference to the form toolkit instance + private CustomFormToolkit toolkit = null; + + // The default help action class definition + static protected class HelpAction extends Action { + /* default */ final String helpID; + + /** + * Constructor. + * + * @param helpID The context help id. Must not be <code>null</code>. + */ + public HelpAction(String helpID) { + super(Messages.AbstractCustomFormToolkitEditorPage_HelpAction_label, IAction.AS_PUSH_BUTTON); + Assert.isNotNull(helpID); + this.helpID = helpID; + setToolTipText(Messages.AbstractCustomFormToolkitEditorPage_HelpAction_tooltip); + setImageDescriptor(UIPlugin.getImageDescriptor(ImageConsts.HELP)); + } + + /* (non-Javadoc) + * @see org.eclipse.jface.action.Action#run() + */ + @Override + public void run() { + PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() { + @Override + public void run() { + PlatformUI.getWorkbench().getHelpSystem().displayHelp(helpID); + } + }); + } + } + + /** + * Returns the custom form toolkit instance. + * + * @return The custom form toolkit instance or <code>null</code>. + */ + protected final CustomFormToolkit getFormToolkit() { + return toolkit; + } + + /** + * Sets the custom form toolkit instance. + * + * @param toolkit The custom form toolkit instance or <code>null</code>. + */ + protected final void setFormToolkit(CustomFormToolkit toolkit) { + this.toolkit = toolkit; + } + + /* (non-Javadoc) + * @see org.eclipse.ui.forms.editor.FormPage#dispose() + */ + @Override + public void dispose() { + // Get the menu service and release the toolbar manager + if (toolkit != null) { toolkit.dispose(); toolkit = null; } + super.dispose(); + } + + /* (non-Javadoc) + * @see org.eclipse.ui.forms.editor.FormPage#createFormContent(org.eclipse.ui.forms.IManagedForm) + */ + @Override + protected void createFormContent(IManagedForm managedForm) { + super.createFormContent(managedForm); + + Assert.isNotNull(managedForm); + + // Create the toolkit instance + toolkit = new CustomFormToolkit(managedForm.getToolkit()); + + // Configure the managed form + configureManagedForm(managedForm); + + // Do create the content of the form now + doCreateFormContent(managedForm.getForm().getBody(), getFormToolkit()); + + // Re-arrange the controls + managedForm.reflow(true); + } + + /** + * Configure the managed form to be ready for usage. + * + * @param managedForm The managed form. Must not be <code>null</code>. + */ + protected void configureManagedForm(IManagedForm managedForm) { + Assert.isNotNull(managedForm); + + // Configure main layout + Composite body = managedForm.getForm().getBody(); + body.setLayout(FormLayoutFactory.createFormGridLayout(false, 1)); + + // Set context help id + if (getContextHelpId() != null) { + PlatformUI.getWorkbench().getHelpSystem().setHelp(managedForm.getForm(), getContextHelpId()); + } + + // Decorate the form header + getFormToolkit().getFormToolkit().decorateFormHeading(managedForm.getForm().getForm()); + // And set the header text and image + if (getFormTitle() != null) managedForm.getForm().getForm().setText(getFormTitle()); + managedForm.getForm().getForm().setImage(getFormImage()); + + // Add the toolbar items which will appear in the form header + IToolBarManager manager = managedForm.getForm().getForm().getToolBarManager(); + // Add the default "additions" separator + manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS)); + // Create fixed toolbar contribution items + createToolbarContributionItems(manager); + // Get the menu service and populate contributed toolbar actions + IMenuService service = (IMenuService) getSite().getService(IMenuService.class); + if (service != null) { + service.populateContributionManager((ToolBarManager)manager, "toolbar:" + getId()); //$NON-NLS-1$ + } + // Trigger an update of the toolbar widget + manager.update(true); + } + + /** + * Returns the context help id to associate with the page form. + * + * @return The context help id. + */ + protected String getContextHelpId() { + return null; + } + + /** + * Returns the form title to set to the top form header. + * + * @return The form title. + */ + protected String getFormTitle() { + return null; + } + + /** + * Returns the image to be set to the top form header. + * + * @return The image or <code>null</code> to use no image. + */ + protected Image getFormImage() { + return null; + } + + /** + * Create the toolbar contribution items. + * + * @param manager The toolbar manager. Must not be <code>null</code>. + */ + protected void createToolbarContributionItems(IToolBarManager manager) { + Assert.isNotNull(manager); + + // If the page does have "Show In System Management", add the action into the toolbar + if (hasShowInSystemMangementAction()) { + Action showInAction = doCreateShowInSystemManagementAction(); + if (showInAction != null) manager.add(showInAction); + } + + // If the page is associated with a context help id, add a default + // help action button into the toolbar + if (getContextHelpId() != null) { + if (hasShowInSystemMangementAction()) manager.add(new Separator()); + Action helpAction = doCreateHelpAction(getContextHelpId()); + if(helpAction != null) manager.add(helpAction); + } + } + + /** + * Create the help action. + * + * @param contextHelpId The context help id. Must not be <code>null</code>. + * @return The help action or <code>null</code>. + */ + protected Action doCreateHelpAction(String contextHelpId) { + Assert.isNotNull(contextHelpId); + return new HelpAction(contextHelpId); + } + + /** + * Returns if or if not the page has the "Show In System Management" action. + * <p> + * The default implementation returns <code>false</code>. + * + * @return <code>True</code> if the action is visible in the form toolbar, <code>false</code> otherwise. + */ + protected boolean hasShowInSystemMangementAction() { + return false; + } + + /** + * Creates the "Show In System Management" action. + * + * @return The action or <code>null</code>. + */ + protected Action doCreateShowInSystemManagementAction() { + // To initialize the actions, the workbench window instance is required + IWorkbenchWindow window = getSite().getWorkbenchWindow(); + + Action action = new CommandAction(window, "org.eclipse.tcf.te.ui.command.showIn.systemManagement"); //$NON-NLS-1$ + action.setImageDescriptor(UIPlugin.getImageDescriptor(ImageConsts.VIEW)); + action.setText(Messages.AbstractCustomFormToolkitEditorPage_ShowInSystemManagementCommandAction_label); + action.setToolTipText(Messages.AbstractCustomFormToolkitEditorPage_ShowInSystemManagementCommandAction_tooltip); +// window.getWorkbench().getHelpSystem().setHelp(action, IContextHelpIds.NEW_TARGET_WIZARD); + + return action; + } + + /** + * Do create the managed form content. + * + * @param parent The parent composite. Must not be <code>null</code> + * @param toolkit The {@link CustomFormToolkit} instance. Must not be <code>null</code>. + */ + protected abstract void doCreateFormContent(Composite parent, CustomFormToolkit toolkit); +} diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/nls/Messages.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/nls/Messages.java index 610f5c086..a554cc2c4 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/nls/Messages.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/nls/Messages.java @@ -36,7 +36,9 @@ public class Messages extends NLS { public static String PropertiesCommandHandler_error_initPartFailed; public static String AddToCategoryAction_single_text; + public static String RemoveFromCategoryAction_single_text; + public static String RestoreJob_JobName; public static String RestoreJob_MainTask; public static String RestoreJob_Task1Name; @@ -44,6 +46,8 @@ public class Messages extends NLS { public static String AbstractCustomFormToolkitEditorPage_HelpAction_label; public static String AbstractCustomFormToolkitEditorPage_HelpAction_tooltip; + public static String AbstractCustomFormToolkitEditorPage_ShowInSystemManagementCommandAction_label; + public static String AbstractCustomFormToolkitEditorPage_ShowInSystemManagementCommandAction_tooltip; public static String CommonFilterDescriptorLabelProvider_ContentExtensionDescription; diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/nls/Messages.properties b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/nls/Messages.properties index 1e0226d4b..6e592e7da 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/nls/Messages.properties +++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.views/src/org/eclipse/tcf/te/ui/views/nls/Messages.properties @@ -29,6 +29,8 @@ RestoreJob_Task2Name=Restoring the expanded paths AbstractCustomFormToolkitEditorPage_HelpAction_label=Help AbstractCustomFormToolkitEditorPage_HelpAction_tooltip=Help +AbstractCustomFormToolkitEditorPage_ShowInSystemManagementCommandAction_label=Show In System Management +AbstractCustomFormToolkitEditorPage_ShowInSystemManagementCommandAction_tooltip=Show In System Management CommonFilterDescriptorLabelProvider_ContentExtensionDescription=Provides content from the "{0}" extension. |