Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » No more Activator.getDefault().getBundle().getLocation() and Activator.getDefault().getStateLocation
No more Activator.getDefault().getBundle().getLocation() and Activator.getDefault().getStateLocation [message #336220] Fri, 29 May 2009 21:19 Go to next message
Alex Le is currently offline Alex Le
Messages: 649
Registered: July 2009
Senior Member
Hi,

In eclipse 3.4.0, a plug-in's activator class has the getBundle() and
getStateLocation() methods. In 3.4.2, they are gone. :-(

Is there a substitution to this?

I am basically find way to access the artifacts (the files) that I have
in my plug-in when it's running.

Thanks.
Re: No more Activator.getDefault().getBundle().getLocation() and Activator.getDefault().getStateLoca [message #336221 is a reply to message #336220] Fri, 29 May 2009 23:49 Go to previous message
David Wegener is currently offline David Wegener
Messages: 1336
Registered: July 2009
Senior Member
AL wrote:
> Hi,
>
> In eclipse 3.4.0, a plug-in's activator class has the getBundle() and
> getStateLocation() methods. In 3.4.2, they are gone. :-(
>
> Is there a substitution to this?
>
> I am basically find way to access the artifacts (the files) that I have
> in my plug-in when it's running.
>
> Thanks.

Not sure what you are seeing, but both methods should definitely be
there. I know that they are there in 3.5. They are defined in the
org.eclipse.core.runtime.Plugin class. Your Activator should subclass
Plugin.
Previous Topic:Wizard and getNextPage
Next Topic:space value in plugin.xml
Goto Forum:
  


Current Time: Fri Aug 22 07:49:27 EDT 2014

Powered by FUDForum. Page generated in 0.01664 seconds