Sunday, 15 April 2012

eclipse - How to include Switch Workspace in File menu -


I am trying to develop an eclipse RCP application, but I have a problem. I do not know how to implement "Switch Workspace" in the File menu.

Can anyone help me? You can create a workspace switch script in the category derived from your RCP actionbase advisor

:

  iWorkbench Action Switch Works Space Action = IDEActionFactory.OPEN_WORKSPACE.create (window); Register (switchWorkspaceAction);  

and then add it to a menu manager.

You should be in the form of a org.eclipse.ui.ide plugin.


No comments:

Post a Comment