Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » examples for communicating plugins?!
examples for communicating plugins?! [message #272446] Wed, 22 September 2004 10:10 Go to next message
Eclipse UserFriend
Originally posted by: s.frank.vierundsechzig.de

some more newbie questions: I browsed through the Tutorials on
http://www.eclipse.org/articles/index.html - pretty cool, but each
example focuses on a single plugin. Is there a tutorial on how to make
plugins communicate with each other?!

My simple use-case is a plugin that provides a simple box to log into a
server, with lots of other plugins depending on a successful login.
Therefore I need to get some Objects (eg. a userId and a session for
making subsequent calls).

The plugins are loosely coupled and have to send informations back and
forth - eg. I select an Item in a tree-view containing an Id and I want
to send this Id to another Plugin for Display. Is this a concept that
fits into the Eclipse-Philosophy or is it better to write a
self-contained, monolithic plug-in/application that contains all the
functionality?!

cheers
stefan
Re: examples for communicating plugins?! [message #272466 is a reply to message #272446] Wed, 22 September 2004 11:55 Go to previous message
Eclipse UserFriend
Originally posted by: news.karsten-becker.de

s.frank@vierundsechzig.de wrote:

> some more newbie questions: I browsed through the Tutorials on
> http://www.eclipse.org/articles/index.html - pretty cool, but each
> example focuses on a single plugin. Is there a tutorial on how to make
> plugins communicate with each other?!
I'm not sure whether there is a tutorial. But what you are looking for
is to create your own Extension Point. It is not very difficult.
For example, you have your own Plugin Login and another plugin chatbox.
Then I would create a extension point loginEvent in plugin login where
the chatBox plugin can include itself. So the plugin login doesn't need
to know anything about the chatBox plugin except that what is mentioned
in the plugin.xml of chatBox.

Karsten
Previous Topic:adding submenus to a context menu
Next Topic:Automated UI Testing
Goto Forum:
  


Current Time: Sun Jun 01 01:19:19 EDT 2025

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

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

Back to the top