Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Invoking RCP plugin(RCP plugin calling another RCP plugin in software)
Invoking RCP plugin [message #1001541] Wed, 16 January 2013 22:33 Go to next message
T K is currently offline T KFriend
Messages: 3
Registered: January 2013
Junior Member
I'm afraid this might be a common question, which already have been answered on the forum. However, after spending quite much time trying to find the answer, please help.

I have created 2 RCP plugins, both singletons - I want them to run as separate processes.

Question. How do I start plugin #2 from plugin #1, in the java code. Can someone please advice me where to find this information.

Grateful for help.
Cheers
Kabo
Re: Invoking RCP plugin [message #1002333 is a reply to message #1001541] Fri, 18 January 2013 12:16 Go to previous messageGo to next message
sumit singh is currently offline sumit singhFriend
Messages: 139
Registered: October 2012
Location: Bangalore
Senior Member

Can you please elaborate. What "How do I start plugin #2 from plugin #1" means..?
Re: Invoking RCP plugin [message #1002349 is a reply to message #1002333] Fri, 18 January 2013 12:42 Go to previous messageGo to next message
T K is currently offline T KFriend
Messages: 3
Registered: January 2013
Junior Member
Yes. Thanks.
I've created
plugin_1
feature_1, using plugin_1
and product_1, using feature_1, starting a window application defined in plugin_1.

Then I've created
plugin_2
feature_2, using plugin_2
and product_2, using feature_2, starting a window application defined in plugin_2.

Both of those products runs fine as standalone programs.

Now, when I press a button in plugin_1, I want to make some java software call to start plugin_2 as a standalone software (the two plugins will do some inter-process communication testing). Is this possible or is there even an easy way to do this? Smile

[Updated on: Fri, 18 January 2013 13:41]

Report message to a moderator

Re: Invoking RCP plugin [message #1003872 is a reply to message #1002349] Tue, 22 January 2013 07:05 Go to previous messageGo to next message
sumit singh is currently offline sumit singhFriend
Messages: 139
Registered: October 2012
Location: Bangalore
Senior Member

I don't think this you can do Because of following :

1. Both Plugin is the part of Diff-2 RCP.
2. Both plugins are running in different JVM.


In My knowledge, For calling function from different plugins, then that plugin should be the part of this RCP. Its simply if This RCP is doesn't know about that plugin than how it will call it.
Re: Invoking RCP plugin [message #1003880 is a reply to message #1003872] Tue, 22 January 2013 07:15 Go to previous message
T K is currently offline T KFriend
Messages: 3
Registered: January 2013
Junior Member
Hi!

Thanks.
Previous Topic:Add specific visual Editor from plugin to E4 RCP Application
Next Topic:Invalid preference page path: Security
Goto Forum:
  


Current Time: Sun Dec 21 12:10:42 GMT 2014

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

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