Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to get the resource
How to get the resource [message #97241] Sun, 20 July 2003 06:44 Go to next message
Eclipse UserFriend
Originally posted by: mircohering.gmx.de

I would like to add an action which transfer the file which is marked in the
resource navigator via ftp to another PC. But i do not know how to get the
Resource which is selected.

Can you help me?
Re: How to get the resource [message #97286 is a reply to message #97241] Sun, 20 July 2003 11:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bhaskar26.calavista.com

Mirco wrote:

> I would like to add an action which transfer the file which is marked in the
> resource navigator via ftp to another PC. But i do not know how to get the
> Resource which is selected.

> Can you help me?

Mirco,
If you are implementing this thing as a popup menu action then the class
which defines this action would have to implement IObjectActionDelegate
Interface. U can use "selectionChanged(IAction action,ISelection
selection)" method of this interface to get the resource which was
selected in Navigator view.

Regards,
Bhaskar
Re: How to get the resource [message #97368 is a reply to message #97286] Tue, 22 July 2003 11:03 Go to previous message
Eclipse UserFriend
Originally posted by: ich.mircohering.de

Well I am implementing the action as a toolbar action, so would your
explanation work with a toolbar action.
I did not try yet.
Previous Topic:[Resend]View: How to set the selection
Next Topic:These newsgroups.
Goto Forum:
  


Current Time: Sun Jul 13 10:10:44 EDT 2025

Powered by FUDForum. Page generated in 0.03180 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top