Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » RCP application : change workspace location @ RT
RCP application : change workspace location @ RT [message #636910] Wed, 03 November 2010 10:17 Go to next message
eclipsed  is currently offline eclipsed
Messages: 1
Registered: November 2010
Junior Member
Hi all

How to change your rcp application workspace location at run time.
in IWorkspaceRoot there is no setlocation or some thing similar.

can some one gives me a solution or a hint.
Re: RCP application : change workspace location @ RT [message #638081 is a reply to message #636910] Tue, 09 November 2010 20:56 Go to previous message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2252
Registered: July 2009
Senior Member
On 11/3/10 6:17 AM, eclipsed wrote:
> Hi all
>
> How to change your rcp application workspace location at run time.
> in IWorkspaceRoot there is no setlocation or some thing similar.
>
> can some one gives me a solution or a hint.

You can use the Plug-in Menu Spy feature (Shift+Alt+F2) and then point
at any menu item to see the plugin name that contributes that menu item.
From there you can go find the source code and see how it is
accomplishing its task.
For your case, there is the File > Switch Workspace menu that seems
relevant.

It's plugin info is
The active contribution item class:
OpenWorkspaceAction$OpenDialogAction
The contributing plug-in:
org.eclipse.ui.ide (3.6.0.I20100601-0800)


Eric
Previous Topic:Looks like I have a lot to learn
Next Topic:Importing EMFatic into an EMF project
Goto Forum:
  


Current Time: Tue Sep 23 14:24:22 GMT 2014

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

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