|
| Re: RCP application : change workspace location @ RT [message #638081 is a reply to message #636910] |
Tue, 09 November 2010 15:56  |
Eric Rizzo Messages: 2011 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
|
|
|
Powered by
FUDForum. Page generated in 0.03150 seconds