Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Problem using plugin extensions from another plugin
icon9.gif  Problem using plugin extensions from another plugin [message #828075] Sat, 24 March 2012 06:38 Go to next message
david borsodi is currently offline david borsodiFriend
Messages: 19
Registered: July 2009
Junior Member
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

----
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?

[Updated on: Sat, 24 March 2012 07:20]

Report message to a moderator

Re: Problem using plugin extensions from another plugin [message #845852 is a reply to message #828075] Sun, 15 April 2012 13:32 Go to previous message
Wim Jongman is currently offline Wim JongmanFriend
Messages: 418
Registered: July 2009
Senior Member
Hi David,

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
Previous Topic:Register to be system mail handler?
Next Topic:Creating Features and Plugins in a RCP-App
Goto Forum:
  


Current Time: Sat Nov 29 07:59:04 GMT 2014

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

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