Skip to main content



      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 10: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: Thu May 08 14:03:32 EDT 2025

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

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

Back to the top