diff options
author | Uwe Stieber | 2013-11-27 13:44:09 +0000 |
---|---|---|
committer | Uwe Stieber | 2013-11-27 13:45:06 +0000 |
commit | 31738bfe60685cb81744b26a581a4e29bdce0709 (patch) | |
tree | 74127b12889757e1fca5788d3935b478f4c34698 /plugins | |
parent | 79e63f0d28123bb3b7e18af1fa1c570bc3dc10ed (diff) | |
download | org.eclipse.tcf-31738bfe60685cb81744b26a581a4e29bdce0709.tar.gz org.eclipse.tcf-31738bfe60685cb81744b26a581a4e29bdce0709.tar.xz org.eclipse.tcf-31738bfe60685cb81744b26a581a4e29bdce0709.zip |
TCF Debugger: Provide common contribution anchors into the Debug View view menu.
The change add two empty menus to the Debug View view menu, "Filter" and "Sorting". Both menus are not visible if empty (no contributions). Vendor and/or target type specific contributions spread across multiple plug-in's can contribute to the same menu id's and therefore can avoid duplicating the menus within the Debug View view menu.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/org.eclipse.tcf.debug.ui/plugin.properties | 5 | ||||
-rw-r--r-- | plugins/org.eclipse.tcf.debug.ui/plugin.xml | 17 |
2 files changed, 21 insertions, 1 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/plugin.properties b/plugins/org.eclipse.tcf.debug.ui/plugin.properties index 94d6643f2..70929365c 100644 --- a/plugins/org.eclipse.tcf.debug.ui/plugin.properties +++ b/plugins/org.eclipse.tcf.debug.ui/plugin.properties @@ -58,4 +58,7 @@ BackResume.description=Run backwards RegisterVectorDisplay.label = Display Register As Vector Of... -propertyPage.name = Debug Element
\ No newline at end of file +propertyPage.name = Debug Element + +debugview.menu.filters=Filter +debugview.menu.sorters=Sorting diff --git a/plugins/org.eclipse.tcf.debug.ui/plugin.xml b/plugins/org.eclipse.tcf.debug.ui/plugin.xml index bc8b221d7..76f6ee2aa 100644 --- a/plugins/org.eclipse.tcf.debug.ui/plugin.xml +++ b/plugins/org.eclipse.tcf.debug.ui/plugin.xml @@ -715,4 +715,21 @@ <extension point="org.eclipse.core.runtime.preferences"> <initializer class="org.eclipse.tcf.internal.debug.ui.preferences.TCFPreferencesInitializer"/> </extension> + + <extension point="org.eclipse.ui.menus"> + <!-- Root nodes for the debug view view menu to provide common contribution anchors for + debug view context tree filters and sorters --> + <menuContribution locationURI="menu:org.eclipse.debug.ui.DebugView?after=additions"> + <separator name="group.filter" visible="true"/> + <menu + id="org.eclipse.tcf.debug.ui.DebugView.menu.filters" + label="%debugview.menu.filters"> + </menu> + <separator name="group.sort" visible="false"/> + <menu + id="org.eclipse.tcf.debug.ui.DebugView.menu.sorters" + label="%debugview.menu.sorters"> + </menu> + </menuContribution> + </extension> </plugin> |