1
edit
Changes
no edit summary
2.1 Add necessary extensions to the <code>plugin.xml</code>:<br/>
[[Image: PluginXml.png | 400px]]<br/>
2.2Specify the id ''cs.ecl.simpleRCP.perspective'', name ''RCP Perspective'' and class ''cs.ecl.rcp.simplercp.Perspective'':<br/>[[Image: PluginXml2.png | 400px]]<br/>2.3 Click on the <code>class*</code> link to create a class. The method <code>createInitialLayout()</code> in this class is responsible for creating the new perspective.2.4 The perspective is defined but not yet reachable via the application. To activate the switch between perspectives add the following line to the<br/> <code>ApplicationWorkbenchWindowAdvisor.java</code> in method preWindowOpen():<br/> <code>configurer.setShowPerspectiveBar(true);</code><br/>2.5 Run the application. You should be able to select your perspective interactively:<br/>[[Image: Perspective1.png | 400px]]