Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-tm-dev] Fwd: filtering out the appearance of context menuover RSE's remote system view

[fwd from org.eclipse.dsdp.tm newsgroup]
Hello Vrushnali,

I think the recommended way for contributing menu items with complex enablement conditions (like checking a parent folder) is to use the
org.eclipse.ui.menus extension point, with visibleWhen markup and
a Property Tester

http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_ui_menus.html
http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/reference/api/org/eclipse/core/expressions/IPropertyTester.html
http://help.eclipse.org/help33/topic/org.eclipse.platform.doc.isv/reference/extension-points/org_eclipse_core_expressions_propertyTesters.html

For getting started, you might find the EclipseCon 2007 presentation helpful:
http://www.eclipsecon.org/2007/index.php?page=sub/&id=3692
and lots of good examples come on the Eclipse Wiki:
http://wiki.eclipse.org/Menu_Contributions

You might want to ask in the org.eclipse.platform newsgroup for more
help using the ui.menus and propertyTester extensions.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
 


From: dsdp-tm-dev-bounces@xxxxxxxxxxx [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of vrushali babar
Sent: Montag, 31. März 2008 16:38
To: dsdp-tm-dev@xxxxxxxxxxx
Subject: [dsdp-tm-dev] Fwd: filtering out the appearance of context menuover RSE's remote system view



Note: forwarded message attached.


Like movies? Here's a limited-time offer: Blockbuster Total Access for one month at no cost.

Back to the top