Skip to main content


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] Sat, 30 May 2009 01:19 Go to next message
Alex Le is currently offline Alex LeFriend
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] Sat, 30 May 2009 03:49 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
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: Thu Apr 25 11:59:17 GMT 2024

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

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

Back to the top