Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Action gets invoked - which project is the active one?
Action gets invoked - which project is the active one? [message #307321] Sat, 19 August 2006 18:38 Go to next message
Eclipse UserFriend
Originally posted by: hiran.chaudhuri.softwareag.com

Trying to write my first own action I somehow cannot determine which project
is the current one.

There is an selectionChanged method on my class which implements
IWorkbenchWindowActionDelegate, but what is it supposed to do? What can I do
with an ISelection instance? How can I find the project that it refers to?

Hiran Chaudhuri
Re: Action gets invoked - which project is the active one? [message #307322 is a reply to message #307321] Sat, 19 August 2006 19:17 Go to previous message
Eclipse UserFriend
Originally posted by: hiran.chaudhuri.softwareag.com

"Hiran Chaudhuri" <hiran.chaudhuri@softwareag.com> wrote in message
news:ec83vd$dvd$1@utils.eclipse.org...
> Trying to write my first own action I somehow cannot determine which
> project is the current one.

Meanwhile I found how to determine the project from an ISelection by casting
to IStructuredSelection etc.
Thanks to all who pay attention to this....

Hiran Chaudhuri
Previous Topic:How to create new project with the resources api
Next Topic:IDE features in an RCP or vice versa?
Goto Forum:
  


Current Time: Sat Jul 19 11:36:13 EDT 2025

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

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

Back to the top