SystemDeveloperPerspectiveFactory.java
Go to the documentation of this file.
00001 package org.ros.model.ros.diagram;
00002 
00003 import org.eclipse.ui.IFolderLayout;
00004 import org.eclipse.ui.IPageLayout;
00005 import org.eclipse.ui.IPerspectiveFactory;
00006 
00007 public class SystemDeveloperPerspectiveFactory implements IPerspectiveFactory {
00008 
00009         @Override
00010         public void createInitialLayout(IPageLayout layout) {
00011                 // Add "new wizards".
00012         layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.folder");
00013         layout.addNewWizardShortcut("org.ros.model.ros_package.diagram.part.RosCreationWizardID");
00014 
00015         // Add "show views".
00016         layout.addShowViewShortcut(IPageLayout.ID_BOOKMARKS);
00017         layout.addShowViewShortcut(IPageLayout.ID_OUTLINE);
00018         layout.addShowViewShortcut(IPageLayout.ID_PROP_SHEET);
00019         layout.addShowViewShortcut(IPageLayout.ID_TASK_LIST);
00020         
00021         String editorArea = layout.getEditorArea();
00022         
00023         layout.addView("org.eclipse.ui.navigator.ProjectExplorer", IPageLayout.LEFT, (float) 0.2, editorArea);
00024     
00025         IFolderLayout bottom = layout.createFolder("topLeft", IPageLayout.BOTTOM, 0.75f,editorArea);
00026         bottom.addView(IPageLayout.ID_PROP_SHEET);
00027         bottom.addView("org.eclipse.ui.console.ConsoleView");
00028 
00029         }
00030 
00031 }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Wed Aug 14 2013 10:06:09