Package OntoUML.diagram.application

Source Code of OntoUML.diagram.application.DiagramEditorPerspective

package OntoUML.diagram.application;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

/**
* @generated
*/
public class DiagramEditorPerspective implements IPerspectiveFactory {
  /**
   * @generated
   */
  public void createInitialLayout(IPageLayout layout) {
    layout.setEditorAreaVisible(true);
    layout
        .addPerspectiveShortcut(OntoUML.diagram.application.DiagramEditorWorkbenchAdvisor.PERSPECTIVE_ID);
    IFolderLayout right = layout.createFolder(
        "right", IPageLayout.RIGHT, 0.6f, layout.getEditorArea()); //$NON-NLS-1$
    right.addView(IPageLayout.ID_OUTLINE);
    IFolderLayout bottomRight = layout.createFolder(
        "bottomRight", IPageLayout.BOTTOM, 0.6f, "right"); //$NON-NLS-1$  //$NON-NLS-2$
    bottomRight.addView(IPageLayout.ID_PROP_SHEET);
  }
}
TOP

Related Classes of OntoUML.diagram.application.DiagramEditorPerspective

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.