Skip to content
Snippets Groups Projects
Commit bbb8c4a0 authored by dgelessus's avatar dgelessus
Browse files

Remove unused duplicate BMotion Studio perspective classes

parent 11e51e26
No related branches found
No related tags found
No related merge requests found
/**
* (c) 2009 Lehrstuhl fuer Softwaretechnik und Programmiersprachen,
* Heinrich Heine Universitaet Duesseldorf
* This software is licenced under EPL 1.0 (http://www.eclipse.org/org/documents/epl-v10.html)
* */
package de.bmotionstudio.gef.editor.internal;
import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
import de.bmotionstudio.gef.editor.library.LibraryView;
public class PerspectiveEditFactory implements IPerspectiveFactory {
public void createInitialLayout(final IPageLayout layout) {
final String editorArea = layout.getEditorArea();
// Place the project explorer to left of editor area.
final IFolderLayout left = layout.createFolder("left",
IPageLayout.LEFT, 0.15f, editorArea);
left.addView("fr.systerel.explorer.navigator.view");
// Place the outline to right of editor area.
final IFolderLayout righttop = layout.createFolder("right",
IPageLayout.RIGHT, 0.8f, editorArea);
righttop.addView(IPageLayout.ID_OUTLINE);
// Library view
final IFolderLayout rightbot = layout.createFolder("rightb",
IPageLayout.BOTTOM, 0.6f, "right");
rightbot.addView(LibraryView.ID);
final IFolderLayout bottom = layout.createFolder("bottom",
IPageLayout.BOTTOM, 0.75f, editorArea);
// Properties view
bottom.addView(IPageLayout.ID_PROP_SHEET);
}
}
/**
* (c) 2009 Lehrstuhl fuer Softwaretechnik und Programmiersprachen,
* Heinrich Heine Universitaet Duesseldorf
* This software is licenced under EPL 1.0 (http://www.eclipse.org/org/documents/epl-v10.html)
* */
package de.bmotionstudio.gef.editor.internal;
import org.eclipse.ui.IFolderLayout;
import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;
public class PerspectiveRunFactory implements IPerspectiveFactory {
public void createInitialLayout(IPageLayout layout) {
String editorArea = layout.getEditorArea();
// ProB Event View (Top-Left)
IFolderLayout left = layout.createFolder("left", IPageLayout.LEFT,
0.15f, editorArea);
left.addView("de.prob.ui.OperationView");
// Navigator + Rodin Problem View (Bottom-Left)
IFolderLayout leftb = layout.createFolder("leftb", IPageLayout.BOTTOM,
0.6f, "left");
leftb.addView("fr.systerel.explorer.navigator.view");
// leftb.addView("org.eventb.ui.views.RodinProblemView");
// ProB State View (Right)
IFolderLayout right1 = layout.createFolder("right1", IPageLayout.RIGHT,
0.7f, editorArea);
right1.addView("de.prob.ui.StateView");
// ProB History + ProB Event Error View (Right)
IFolderLayout right2 = layout.createFolder("right2", IPageLayout.RIGHT,
0.6f, "right1");
right2.addView("de.prob.ui.HistoryView");
right2.addView("de.prob.ui.EventErrorView");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment