Package org.jbpm.ui

Source Code of org.jbpm.ui.DesignerPerspectiveFactory

package org.jbpm.ui;

import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import org.jbpm.ui.view.ErrorLogView;
import org.jbpm.ui.view.PropertiesView;

public class DesignerPerspectiveFactory implements IPerspectiveFactory {

    public void createInitialLayout(IPageLayout layout) {
        String editorArea = layout.getEditorArea();
        IFolderLayout propsFolder = layout.createFolder("bottom", IPageLayout.BOTTOM, (float) 0.70, editorArea);
        propsFolder.addView(PropertiesView.ID/*IPageLayout.ID_PROP_SHEET*/);
        propsFolder.addView(ErrorLogView.ID);
    }

}
TOP

Related Classes of org.jbpm.ui.DesignerPerspectiveFactory

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.