Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Plugin to share icons and strings
Plugin to share icons and strings [message #486669] Fri, 18 September 2009 14:53 Go to next message
drew frantz is currently offline drew frantzFriend
Messages: 340
Registered: July 2009
Senior Member
I have a basic plugin (that currently defines no extension) I have placed
the images and resources in this plugin, but I try to access it form another
plugin using Activator.getDefault(), the plugin has not yet been started by
eclipse so the Activator.getDefault() is null. What extension do I define to
make sure that the plugin gets started when eclipse starts. Or is there
another way to force its creation on startup?
Re: Plugin to share icons and strings [message #486685 is a reply to message #486669] Fri, 18 September 2009 14:58 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 9/18/09 10:53 AM, drew wrote:
> I have a basic plugin (that currently defines no extension) I have placed
> the images and resources in this plugin, but I try to access it form another
> plugin using Activator.getDefault(), the plugin has not yet been started by
> eclipse so the Activator.getDefault() is null. What extension do I define to
> make sure that the plugin gets started when eclipse starts. Or is there
> another way to force its creation on startup?
>
>

In the plugin's manifest editor, have you selected the "Active this
plugin when one of its classes is loaded" option?

Hope this helps,
Eric
Re: Plugin to share icons and strings [message #486686 is a reply to message #486685] Fri, 18 September 2009 15:16 Go to previous messageGo to next message
drew frantz is currently offline drew frantzFriend
Messages: 340
Registered: July 2009
Senior Member
Yes that option is checked. I also tried unchecking it, same result.
"Eric Rizzo" <eclipse-bugs@rizzoweb.com> wrote in message
news:h90764$eda$1@build.eclipse.org...
> On 9/18/09 10:53 AM, drew wrote:
>> I have a basic plugin (that currently defines no extension) I have placed
>> the images and resources in this plugin, but I try to access it form
>> another
>> plugin using Activator.getDefault(), the plugin has not yet been started
>> by
>> eclipse so the Activator.getDefault() is null. What extension do I define
>> to
>> make sure that the plugin gets started when eclipse starts. Or is there
>> another way to force its creation on startup?
>>
>>
>
> In the plugin's manifest editor, have you selected the "Active this plugin
> when one of its classes is loaded" option?
>
> Hope this helps,
> Eric
>
Re: Plugin to share icons and strings [message #486751 is a reply to message #486686] Fri, 18 September 2009 22:48 Go to previous message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
On Fri, 18 Sep 2009 11:16:15 -0400, drew wrote:

> Yes that option is checked. I also tried unchecking it, same result.

Verify that your Bundle-Activator definition is correct then.

Though, it is not clear to me why you even need the bundle's activator
when all you care about are some image and resource files.

Regards,
Remy
Previous Topic:Failed To Load HTML From Bundle Using Browser
Next Topic:Common Navigator tooltips
Goto Forum:
  


Current Time: Thu Sep 19 09:07:13 GMT 2024

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

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

Back to the top