Declare an extension as optional? [message #59128] |
Thu, 30 April 2009 18:31  |
Eclipse User |
|
|
|
Hey all,
i have an UML profile (don't panic, it is no UML-specific questions),
which i want to reuse for several IDE's (Papyrus, RSM, etc.), but every
IDE has its own internal registration mechanism via an Extension Point.
Is it possible to declare in one plugin, several extension and set these
extensions to a kind of "optional"? The problem is, that if the required
plugin was not found in the environment, the whole plugin will not be
registered! But, i didn't want to duplicate the Profile/Resource/What
ever for every new IDE.
Thanks a lot
Timothy
|
|
|
|
|
Re: Declare an extension as optional? [message #59278 is a reply to message #59228] |
Sat, 02 May 2009 09:32  |
Eclipse User |
|
|
|
> what do you want to say with this fragment? Was this an additional
> question or an answer? :)
Hey Timothy. Sorry. I wanted to say: If it is possible to
programatically register an extension at runtime, then you could do:
if (plugin1 is present){
register extension for plugin1
}
Now we just need someone who can answer my question. Then yours would be
answered too :-)
Felix
|
|
|
Re: Declare an extension as optional? [message #596652 is a reply to message #59128] |
Fri, 01 May 2009 18:17  |
Eclipse User |
|
|
|
Hey Timothy, > Is it possible to declare in one plugin, several
extension and set these
> extensions to a kind of "optional"? The problem is, that if the required
> plugin was not found in the environment, the whole plugin will not be
> registered!
Is it possible to programatically register an extension at runtime?
Felix
|
|
|
Re: Declare an extension as optional? [message #596662 is a reply to message #59203] |
Sat, 02 May 2009 05:57  |
Eclipse User |
|
|
|
Felix,
what do you want to say with this fragment? Was this an additional
question or an answer? :)
Timothy
Felix Dorner schrieb:
> Hey Timothy, > Is it possible to declare in one plugin, several
> extension and set these
>> extensions to a kind of "optional"? The problem is, that if the
>> required plugin was not found in the environment, the whole plugin
>> will not be registered!
> Is it possible to programatically register an extension at runtime?
>
> Felix
>
>
|
|
|
Re: Declare an extension as optional? [message #596680 is a reply to message #59228] |
Sat, 02 May 2009 09:32  |
Eclipse User |
|
|
|
> what do you want to say with this fragment? Was this an additional
> question or an answer? :)
Hey Timothy. Sorry. I wanted to say: If it is possible to
programatically register an extension at runtime, then you could do:
if (plugin1 is present){
register extension for plugin1
}
Now we just need someone who can answer my question. Then yours would be
answered too :-)
Felix
|
|
|
Powered by
FUDForum. Page generated in 0.04622 seconds