Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Calls functionalities of a plugin with another one
Calls functionalities of a plugin with another one [message #507802] Thu, 14 January 2010 12:37 Go to next message
Eclipse UserFriend
Hi Community
I'm a plug-in newbie. I first of all developed a plug-in which extends the eclipse menu. This plug-in has a command. Another existing plug-in in my eclipse environment adds items to a specific workbench view. I want that by clicking on the command of my new plug-in an item must be added to that view. In other words i want my plug-in to call the plug-in responsible for these workbench items so that it adds them to the related workbench view. This view would be active. Can anyone tell me how i can handle?
Thanks for help
Gaetan
Re: Calls functionalities of a plugin with another one [message #508706 is a reply to message #507802] Tue, 19 January 2010 12:32 Go to previous message
Eclipse UserFriend
Hi Gaetan,

Ugly but quick: make a static method in the view that delivers its instance.
Then you can add whatever view you want.
Better: Implement some kind of listener framework.

other pointers: eclipse databinding, osgi services

--

Best Regards,
Wim Jongman
-- RAM disk is not an installation procedure.
(Eclipse Old Skool Quote Service)
> Hi Community
> I'm a plug-in newbie. I first of all developed a plug-in which extends the
eclipse menu. This plug-in has a command. Another existing plug-in in my
eclipse environment adds items to a specific workbench view. I want that by
clicking on the command of my new plug-in an item must be added to that view.
In other words i want my plug-in to call the plug-in responsible for these
workbench items so that it adds them to the related workbench view. This view
would be active. Can anyone tell me how i can handle?
> Thanks for help
> Gaetan
Previous Topic:Detached views
Next Topic:Update Toolbar
Goto Forum:
  


Current Time: Thu Jul 17 19:27:41 EDT 2025

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

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

Back to the top