Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Open new RCP window from current RCP
Open new RCP window from current RCP [message #467592] Tue, 08 May 2007 10:54 Go to next message
Eclipse UserFriend
Originally posted by: re.moshe.gmail.com

Hello,
I new to RCP, but I've the following question without an answer.

Currently we are using RCP (plug-in) project (lets call it RCP1) and we've
added a button to this project. This button calls to another RCP project
(lets call it RCP2) using the Main launcher.
Since it calls to the same startup.jar and descriptive files it open the
current RCP (RCP1) and not the new one (RCP2) as needed.

Do you know how to add button or other action to current RCP project that
will launch other RCP project (without Runtime.exec).

Thanks in advance,
Moshe
Re: Open new RCP window from current RCP [message #467608 is a reply to message #467592] Tue, 08 May 2007 19:45 Go to previous message
Eclipse UserFriend
Why do you need to do that? Two RCP apps will quite happily run in one Eclipse install. If you want to open up a second window with a different perspective, that's fairly easy too.

I'm not sure if you can have two WorkbenchWindowAdvisors, so if that's how you've got your code set up (as opposed to Perspectives) you'll have to fork a new JVM with Runtime.exec().

Alex.
Previous Topic:Eclipse native launcher still shows Eclipse icon whislt splash is showing, despite of branding
Next Topic:How can I control view widt when resizing?
Goto Forum:
  


Current Time: Sun May 18 19:23:13 EDT 2025

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

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

Back to the top