|
|
| Re: How to remove actions from toolbar of Navigator? [message #959965 is a reply to message #661153] |
Sat, 27 October 2012 00:26  |
David Hipshman Messages: 1 Registered: October 2012 |
Junior Member |
|
|
I was trying to do something similar. In this case removing the Collapse All action from a view that extends CommonNavigatorView. But I wanted to only remove that one action. For future reference here is how I did it. Just by setting a property to hide it in the plugin.xml file , adding this extension...
<extension
point="org.eclipse.ui.navigator.viewer">
<viewer
viewerId="yourViewerID">
<options>
<!-- Hide the "Collapse All" action from the toolbar etc of the viewer -->
<property
name="org.eclipse.ui.navigator.hideCollapseAllAction"
value="true"/>
</options>
</viewer>
</extension>
|
|
|
Powered by
FUDForum. Page generated in 0.02596 seconds