|
Re: Reuse property tester from dependent plugin [message #1064880 is a reply to message #1064555] |
Fri, 21 June 2013 13:57 |
|
On 06/19/2013 05:04 PM, Rashmy A wrote:
> Issue:
> Launch the UI
> Select the required object and RMB
> The RMB shows only 'menuB2'. The 'menuB1' is not visibile.
> If I execute 'menuB2', it ends up calling some Java classes from pluginA.
> After this, the RMB on a slection UI shows both menuB1 and menuB2
> This means the pluginA was not activated initally.
This is known behaviour, a property tester won't be loaded until its
plugin is activated. It can actually return 3 states, TRUE, FALSE, and
NOT_LOADED.
But NOT_LOADED is supposed to be the equivalent to TRUE for visibility
of menus. If the menu doesn't show up, it doesn't sound like NOT_LOADED
is being treated as TRUE.
Could you please open a bug at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Platform&component=UI
If you could include an example zip that demonstrates the problem, that
would help debug it.
Later,
PW
--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
|
|
|
|
Powered by
FUDForum. Page generated in 0.01768 seconds