Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsProblem using plugin extensions from another plugin
https://www.eclipse.org/forums/index.php/mv/msg/315669/828075/#msg_828075
I'm working with GMF and I have two models, two diagrams.
I imported one of the diagrams into an RCP and the other into a "simple" plugin without Application or Activator.
The problem is, when I give the second as a dependency to the first, its functionality doesn't appear, e.g. I can't select that kind of diagram from the "new" menu or do anything related to it.
If I select the plugin under the run configuration/plugins and set autostart to true, an SWTError appears during startup telling that multiple displays are not supported.
I also tried this with a simple RCP app (generated by the wizard without any modification) that depends on the simple plugin but that also didn't work.
Could someone give me some resources on how to do this?
thanks
david
----
update:
it works if I define both as a plugin, create a third plugin that depends on them and otherwise empty and then run this one. But of course it launches the whole thing as an eclipse workbench.
Should I define extension points shadowing the original eclipse ones in the RCP GMF app and the plugin have to contribute to them?]]>david borsodi2012-03-24T06:38:37-00:00Re: Problem using plugin extensions from another plugin
https://www.eclipse.org/forums/index.php/mv/msg/315669/845852/#msg_845852
A stack trace would be helpful. Did you try the GMF group?
Regards,
Wim
> Hello,
>
> I'm working with GMF and I have two models, two diagrams.
> I imported one of the diagrams into an RCP and the other into a "simple"
plugin without Application or Activator.
> The problem is, when I give the second as a dependency to the first, its
functionality doesn't appear, e.g. I can't select that kind of diagram from
the "new" menu or do anything related to it.
> If I select the plugin under the run configuration/plugins and set
autostart to true, an SWTError appears during startup telling that multiple
displays are not supported.
>
> I also tried this with a simple RCP app (generated by the wizard without
any modification) that depends on the simple plugin but that also didn't
work.
>
> Could someone give me some resources on how to do this?
>
> thanks
> david]]>Wim Jongman2012-04-15T13:32:01-00:00