|
| 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  |
David Wegener Messages: 1157 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.
|
|
|
Powered by
FUDForum. Page generated in 0.02248 seconds