Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] Re: how to filter out the appearance of context menu over RSE's remote system view

More info about Eclipse Platform Menus and commands:

http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm
 is the starting place for 3.3, it walks through the
org.eclipse.ui.examples.contributions plugin. This plugin has been updated with more examples in HEAD for 3.4 as per the eclipsecon talk,
http://www.eclipsecon.org/2008/?page=sub/&id=221

There's no "getting started", but use these wiki pages for references:
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping

There is an article in the works as well, although it's not likely to be
finished until after 3.4. Paul Webster will be collaborating/providing information to them:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=223445

If none of these helps, ask Paul on eclipse.platform or eclipse.platform.rcp newsgroups.

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




vrush wrote:
Hi All,

It is regarding the plugin i am developing by extending RSE eclipse plugin.
I am expected to have context menu in RSE's Remote Systems View,enabled on few remote files. The context menu that i have made is generalised i.e. it is appearing on every remote file(which is not expected) since it was created by extending the interface - org.eclipse.rse.subsystems.files.core.subsystems.IRemoteFile I have also gone through the help document for developers provided by RSE where they have shown the way of filtering out the context menu over the files only with .jar extension(with the help of regular expression).

But i need the context menu to appear over those remote files whose parent remote directory satisfies few conditions.

I am stuck up at this point.
Please direct me with the possible solutions or any tutorials regarding filter implementation and even suggest if there is any other way of fixing it.
Thanks in advance.
  Thanks,
Vrushali.




Back to the top