Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Inter-communication Between Plugins
Inter-communication Between Plugins [message #160798] Tue, 07 December 2004 14:53 Go to next message
Eclipse UserFriend
Originally posted by: dakanalis.ced.tuc.gr

Hello!
I have build a GEF based graphical editor as an eclipse plugin and a View as
another eclipse plugin. I would like to find a way of communication between
the two
plug-ins. In particular, I want to pass the results that are produced by the
one plug-in (a list of IDs for example) to the other plug-in in order to
make some other kind of processing.

In general the question is how can achieve inter-communication among eclipse
plug-ins.

Thanks in advance.
Re: Inter-communication Between Plugins [message #160841 is a reply to message #160798] Tue, 07 December 2004 16:23 Go to previous messageGo to next message
Florian Georg is currently offline Florian GeorgFriend
Messages: 22
Registered: July 2009
Junior Member
Not sure what you want to do ....
The "inter-communication" is normally achived through dependencies:
The special plugin classloaders "know" the classes from the dependend
plugins. So you can simply share your model between plugins, if you get
your dependencies right.

If you're interested of writing the editor's content to a workspace file
and re-read this from some other point, you may want to take a look at
"ResourcePlugin" and the ResourceChangeListener concept.

Hope that helps

greetings
Florian


the wrote:

> Hello!
> I have build a GEF based graphical editor as an eclipse plugin and a View as
> another eclipse plugin. I would like to find a way of communication between
> the two
> plug-ins. In particular, I want to pass the results that are produced by the
> one plug-in (a list of IDs for example) to the other plug-in in order to
> make some other kind of processing.
>
> In general the question is how can achieve inter-communication among eclipse
> plug-ins.
>
> Thanks in advance.
>
>
Re: Inter-communication Between Plugins [message #160857 is a reply to message #160798] Tue, 07 December 2004 16:35 Go to previous message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

the wrote:
> Hello!
> I have build a GEF based graphical editor as an eclipse plugin and a View as
> another eclipse plugin. I would like to find a way of communication between
> the two
> plug-ins. In particular, I want to pass the results that are produced by the
> one plug-in (a list of IDs for example) to the other plug-in in order to
> make some other kind of processing.
>
> In general the question is how can achieve inter-communication among eclipse
> plug-ins.
>
> Thanks in advance.
>
>

you can instantiate a class that a plugin exposes, and pass data in that
way. One plugin can expose an extension point, an the other can make
use of it.

Depends on which way the data is passing and the nature of the
relationship you would like between them. Be more specific about what
you want to happen, and I can give you some tips.



--
Respectfully,


CL Gilbert

"Verily, verily, I say unto you, He that entereth not by the door() into
the sheepfold{}, but climbeth up some other *way, the same is a thief
and a robber."

GnuPG Key Fingerprint:
82A6 8893 C2A1 F64E A9AD 19AE 55B2 4CD7 80D2 0A2D

For a free Java interface to Freechess.org see
http://www.rigidsoftware.com/Chess/chess.html
Previous Topic:could one EditPart have two ContentPane?
Next Topic:Multi selection and Properties View
Goto Forum:
  


Current Time: Fri Apr 19 05:59:05 GMT 2024

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

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

Back to the top