get Current Project-novice question [message #461345] |
Wed, 21 September 2005 04:57 |
Eclipse User |
|
|
|
Originally posted by: deepu.sandblue.com
Hi all,
How could we acces the current active project in the worskapce from a wizard
page ?
Looked through the apis, couldnt find a good solution yet.
regards
deepu
|
|
|
|
Re: get Current Project-novice question [message #461401 is a reply to message #461360] |
Thu, 22 September 2005 05:56 |
Eclipse User |
|
|
|
Originally posted by: deepu.sandblue.com
Hi Alex,
Thanks a lot for the reply!
Alos please excuse me for using teh wrong forum to post this question.
regards
dsundar.
"Alex Blewitt" <alex_blewitt@yahoo.com> wrote in message
news:3745580.1127304640687.JavaMail.root@cp1.javalobby.org...
> This should probably be posted on the platform newsgroup, rather than SWT.
>
> In any case, there's no 'Active' project; but what you can do is find the
> currently selected item, then find out what it belongs to. From the
> IResource, you can get IProject. To track selections, use the
> ISelectionListener to be notified when the selection changes.
|
|
|
Powered by
FUDForum. Page generated in 0.04030 seconds