Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-dev] how to filter out context menu on remote system's viewover unexpected remote files?

Hello Vrushnali,
 
In general such kind of questions are preferred on the DSDP TM Newsgroup,
   news://eclipse.dsdp.tm
or category "DSDP" / "Target Management" on
   
http://www.eclipse.org/newsgroups/index_project.php
 
To answer your question, for filtering the set of files on which a context
menu should appear, see the TM Tutorial on
   http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.doc.isv/guide/tutorial/popup.html
it uses nameFilter="*.jar" markup. More information is also in the
docs about filtering, when you navigate the org.eclipse.ui.popupMenus extension point:
   http://dsdp.eclipse.org/help/latest/topic/org.eclipse.rse.doc.isv/guide/plugin/popup.html
 
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-dev-bounces@xxxxxxxxxxx [mailto:dsdp-dev-bounces@xxxxxxxxxxx] On Behalf Of vrushali babar
Sent: Dienstag, 25. März 2008 08:34
To: dsdp-dev@xxxxxxxxxxx
Subject: [dsdp-dev] how to filter out context menu on remote system's viewover unexpected remote files?

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
 
Two probable solutions i could think of are,
 
1 - filtering out the appearance of context menu on the unexpected remote files.
     So,is there any way of doing it programmatically?
 
2 - having my own view similar to RSE's Remote System's view so that i will have the
     flexibility in providing the context menu over the particular files and even i can have suitable icons ,etc.
But here also i dont know the way to fix this.
 
Please direct me with the possible solutions or any tutorials regarding filter implementation and even suggest if there is any other perspective of fixing it.
Thanks in advance.
 
Thanks,
Vrushali.


Never miss a thing. Make Yahoo your homepage.

Back to the top