Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Plugin / Bundle Initialization


In Eclipse 2.1 it was Plugin.startup().

In Eclipse 3.0, if you are using the compatibility plugin (org.eclipse.core.runtime.compatibility), you can continue with this pattern.

Without the compatibility plugin you should simply change your startup() method to have the following signature
        public void start(BundleContext context)
and change your super.startup() call (you did have one right?) to be super.start().

Similarly for shutdown (changes to stop(BundleContext)).

We have been crafting the doc in this area over the past couple days.  Should be releasing today or tomorrow.

Jeff



"Domsch, Christian" <Christian.Domsch@xxxxxxxxx>
Sent by: equinox-dev-admin@xxxxxxxxxxx

04/08/2004 03:56 AM

Please respond to
equinox-dev

To
"Equinox-Dev (E-Mail)" <equinox-dev@xxxxxxxxxxx>
cc
Subject
[equinox-dev] Plugin / Bundle Initialization





Hi all,

Where does initialization code for a plugin go? As with the old runtime, it
was Plugin.start(), but I read somewhere, that this isnt the right place
anymore. But I couldnt find any hint where I should place init code now.

Could you point me to some tutorials/FAQs/example code?

Thanks in advance,

Christian.

Christian Domsch
Anwendungsentwickler
> Entire Software AG
> Lise-Meitner-Straße 14
> D-89081 Ulm
>
> Tel: +49 7 31 9 74 95-4 83
> Fax: +49 7 31 9 74 95-20
> Mailto:Christian.Domsch@xxxxxxxxx
>
> http://www.entire.de
>
>
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/equinox-dev


Back to the top