Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsACTIVE_PART: exactly when is it set?
https://www.eclipse.org/forums/index.php/mv/msg/520573/1104322/#msg_1104322
I decided to migrate my little RCP project to Eclipse 4... and ran into this question:
When exactly is the ACTIVE_PART available?
I have a handler (see below) with a @CanExecute annotation. The "part" is usually not null and everything I expect it to be. However, right after startup - the part is restored alright - "part" is null and therefore the menu is disabled. Once I click into the part, or on the tab (it is a PartStack), everything works as expected.
I am using Kepler 4.3]]>Andreas Buchen2013-09-08T06:21:30-00:00Re: ACTIVE_PART: exactly when is it set?
https://www.eclipse.org/forums/index.php/mv/msg/520573/1104680/#msg_1104680
]]>Andreas Buchen2013-09-08T20:12:10-00:00Re: ACTIVE_PART: exactly when is it set?
https://www.eclipse.org/forums/index.php/mv/msg/520573/1115942/#msg_1115942
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=329458 for more details.
BTW, I've flagged that defect for a(nother) look in Luna M3.]]>Eric Moffatt2013-09-24T19:56:05-00:00