Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Dynamic plugin loading in RCP
Dynamic plugin loading in RCP [message #437633] Fri, 30 September 2005 13:58 Go to next message
Eclipse UserFriend
Originally posted by: huhaitao.cn.ibm.com

Hi All,

We have two application which are display and admin tool. They are all
based on RCP.

My question is :

Is there any convenient way I can perform to swith between them? I think
they are application based on RCP 3.0 runtime core, if we can dynamic
switch from one do another, that will be great. And will be very easy to
integrate two application wrotten by RcP together. That might be the
reason we choose RCP to write application.


Thank you very much!
Re: Dynamic plugin loading in RCP [message #437661 is a reply to message #437633] Fri, 30 September 2005 16:20 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
You should be able to do this without too many problems. All you need to do is ensure that the two components are set up as features, then install both feature sets into the one RCP app. It should be as easy as activating a new perspective to be able to switch between them; though rather than having the Open Perspective menu it might be easier for your users to have an Action that opens a new perspective.
Re: Dynamic plugin loading in RCP [message #437665 is a reply to message #437661] Fri, 30 September 2005 17:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: huhaitao.cn.ibm.com

Alex Blewitt wrote:
> You should be able to do this without too many problems. All you need to do is ensure that the two components are set up as features, then install both feature sets into the one RCP app. It should be as easy as activating a new perspective to be able to switch between them; though rather than having the Open Perspective menu it might be easier for your users to have an Action that opens a new perspective.

Hi Alex,

Thanks for your help.

I just lanch them in the single RcP, and switch perspective. But one
problem occurs, only the view switch. Tool bar and menu bar still live
there.....
Re: Dynamic plugin loading in RCP [message #437678 is a reply to message #437665] Sat, 01 October 2005 14:01 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
That's almost certainly because you've created the actions as 'global' actions, which are visible in any perspective. It's also possible to create actions that are specific to a single perspective (or, for a single view). If you were to associate all your 'admin' actions with the 'admin' perspecive(s), then they'd only be visible when the admin perspective visible.

This is why (for example) the Java perspective has Java-specific actions like 'Source' that are not visible in the Resource perspective.
Previous Topic:coolbar icon problem
Next Topic:J-Integra for COM in RCP causes NoClassDefFoundError while shutdown
Goto Forum:
  


Current Time: Sun Dec 08 23:04:57 GMT 2024

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

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

Back to the top