CommonNavigator: removing the "Link with Editor" button [message #714950] |
Thu, 11 August 2011 17:18  |
Eclipse User |
|
|
|
Hi,
I'm developing an RCP application with Eclipse 3.7.0. My application has several perspectives, all having only views, there is no editor at all in the application.
Now, I need to create several views rendering data as trees with drag n' drop functionalities, context (= right click) pop-up menus, etc. I'm considering extending the CommonNavigator, for it provides must of the features I'm interested in. So far, I'm doing quite well but I would like to do a bit of UI tunning. For instance, as I have no editors at all in my application, I would like to get rid of the yellow button "Link with Editor".
Do you know how to do that?
Thanks a lot,
McNuggets
|
|
|
|
Re: CommonNavigator: removing the "Link with Editor" button [message #714961 is a reply to message #714954] |
Thu, 11 August 2011 18:22  |
Eclipse User |
|
|
|
Yes!! Well done, thank you Francis!! That looks so easy, now. I give the XML code, in case this may help some other:
<extension
point="org.eclipse.ui.navigator.viewer">
<viewer
viewerId="my.view.ID">
<options>
<property
name="org.eclipse.ui.navigator.hideLinkWithEditorAction"
value="true">
</property>
</options>
</viewer>
|
|
|
Powered by
FUDForum. Page generated in 0.03102 seconds