|
|
|
Re: Run editors in the same environment [message #174938 is a reply to message #174900] |
Fri, 29 February 2008 10:14 |
Boris Blajer Messages: 217 Registered: July 2009 |
Senior Member |
|
|
Hi Bernd,
Well, it is possible, though it looks like hacking into the platform. We
do something very similar in GMF tests. Take a look at class
org.eclipse.gmf.tests.setup.GenProjectSetup in the org.eclipse.gmf.tests
plugin. Of course, you will need to have this code executed from within
the running instance, which means you should first create a plugin with
this functionality (a plugin that will interactively install and
uninstall generated bundles given an arbitrary URL). After you test this
plugin somehow, export it into your Eclipse installation. Restart
Eclipse, and you should be able to use this plugin to install and
uninstall bundles without restarting Eclipse.
Best regards,
Boris
Bernd Mühlböck wrote:
> Can you do this process (exporting, loading, ...) within the running
> environment, without restarting?
>
>
> Jacques LESCOT wrote:
>> You can export your generated editor plugin as a plug-in in your
>> eclipse installation folder (Export > Deployable plug-ins and
>> fragment). Then restart your Eclipse environment to load the new plugin.
>>
>> Bernd Mühlböck a écrit :
>>> Is it possible to run the generated editors in the same eclipse
>>> environment they were generated in, not in the runtime environment?
>>>
>>> thanks,
>>> Bernd
|
|
|
Re: Run editors in the same environment [message #175240 is a reply to message #174900] |
Mon, 03 March 2008 19:21 |
Eclipse User |
|
|
|
Originally posted by: jan.koehnlein.web.de
Even though OSGi is capable of reloading plug-ins, some parts of eclipse
will not work properly. E.g. extensions are in many cases read only once
on startup, thus allowing to load plug-ins only when the extension is used.
As a consequence, it is highly recommended to restart your workbench
when you change/add plug-ins. Not doing that is like sawing the branch
your sitting on.
Regards
Jan
Bernd Mühlböck wrote:
> Can you do this process (exporting, loading, ...) within the running
> environment, without restarting?
>
>
> Jacques LESCOT wrote:
>> You can export your generated editor plugin as a plug-in in your
>> eclipse installation folder (Export > Deployable plug-ins and
>> fragment). Then restart your Eclipse environment to load the new plugin.
>>
>> Bernd Mühlböck a écrit :
>>> Is it possible to run the generated editors in the same eclipse
>>> environment they were generated in, not in the runtime environment?
>>>
>>> thanks,
>>> Bernd
|
|
|
Powered by
FUDForum. Page generated in 0.03233 seconds