Show Perspective switch bar in Eclipse RCP application
Open file ApplicationWorkbenchWindowAdvisor.java in your plug-in project.
Override the method, preWindowOpen and as shown below, setShowPerspectiveBar as True.
Override the method, preWindowOpen and as shown below, setShowPerspectiveBar as True.
@Override public void preWindowOpen () { IWorkbenchWindowConfigurer configurer = getWindowConfigurer(); configurer.setShowPerspectiveBar( true ); }
Run your RCP application, and on Right side top, you will be able to see perspective Switch.
Following Books are good to refer :
Comments
Post a Comment