Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Get reference of an IProject outside a Wizard or a PropertyPage
Get reference of an IProject outside a Wizard or a PropertyPage [message #55480] Thu, 26 June 2003 14:10
Eclipse UserFriend
Originally posted by: Frederic.Bocquet.atosorigin.com

Hello, I tried to make a getProject(); in an GEF object and others. the
project
represents an object created or use by my wizard (IProject), It's easy to
get it in the property page with this line :
IResource resource =
(IResource)getElement().getAdapter(org.eclipse.core.resource s.IResource.clas
s);

IProject project = resource.getProject();

but I have some problem in othes classes that does not extends PropertyPage.

Can you help me ?
Previous Topic:Eclipse newbie
Next Topic:Get reference of an IProject outside a Wizard or a PropertyPage
Goto Forum:
  


Current Time: Fri Apr 26 23:10:01 GMT 2024

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

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

Back to the top