|
|
Re: Override definitions in plugin.xml [message #634008 is a reply to message #633851] |
Wed, 20 October 2010 09:14 |
andy Messages: 13 Registered: October 2010 |
Junior Member |
|
|
Edit: Thanks for the response paul, the below post was written having not read it. I will look in to that register now.
(I'm trying to change File -> Refresh so that 'Refresh' is enabled more often than it currently is - I have some views for which Refresh should work, but eclipse won't let me push it!)
So far I have tried
1. Adding a commandListener to to the command 'org.eclipse.ui.file.refresh' to setEnabled(true) whenever it changes.
This does not work, I assume the change is fired before <enabledWhen> is evaluated.
2. Override the "org.eclipse.ui.examples.contributions.view.inView" definition by adding my own "org.eclipse.ui.examples.contributions.view.inView" definition to my plugin.xml
This does not work, I assume that the attempt to override is being ignored.
I can't believe there is no way to modify the behaviour of the standard menu in eclipse, what am I missing here?
[Updated on: Wed, 20 October 2010 09:16] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03407 seconds