Manipulation of IAction instance of IViewActionDelegate [message #452848] |
Tue, 18 July 2006 09:30 |
Eclipse User |
|
|
|
Originally posted by: nagel.trium.de
Hi all,
I have problems with an IViewActionDelegate implementation, because I want
to enable / disable the wrapped IAction instance based on changes that
cannot be sensed by the selectionChanged(IAction action, ISelection
selection) method of this class. Is it possible to get the IAction
instance (right at the beginning) so that I can set it enabled / disabled,
whenever I want?
Thanks in advance,
Lars
|
|
|
|
Re: Manipulation of IAction instance of IViewActionDelegate [message #452904 is a reply to message #452886] |
Tue, 18 July 2006 19:08 |
Eclipse User |
|
|
|
Originally posted by: nagel.trium.de
Thank you!
Now the problem is that the init method is not called immediately when the
perspective and its view are opened. The button is marked enabled,
although it is said in a Popup that it is disabled as soon as I click on
it. How can I disable the button from the beginning (without setting
enablesFor in the XML file)?
Thanks in advance,
Lars
|
|
|
|
Powered by
FUDForum. Page generated in 0.03337 seconds