Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » get Current Project-novice question
get Current Project-novice question [message #461345] Wed, 21 September 2005 04:57 Go to next message
Eclipse UserFriend
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 #461360 is a reply to message #461345] Wed, 21 September 2005 12:10 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
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.
Re: get Current Project-novice question [message #461401 is a reply to message #461360] Thu, 22 September 2005 05:56 Go to previous message
Eclipse UserFriend
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.
Previous Topic:ScrolledComposite problem.
Next Topic:SWT and Qt
Goto Forum:
  


Current Time: Sun Jun 16 12:48:25 GMT 2019

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

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

Back to the top