パースペクティブの初期状態にトレースポイントビューを追加した。
1 parent 2f64ab3 commit 2cb780a39f4f8da2032ea3178803e785e73f7da1
r-isitani authored on 6 Jul 2020
Showing 1 changed file
View
16
src/org/ntlab/traceDebugger/TraceDebuggerPerspective.java
public void createInitialLayout(IPageLayout layout) {
// エディタの場所を取得
String editorArea = layout.getEditorArea();
 
// // 左上にコールスタックのビューを配置
// IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.TOP, 0.35f, editorArea);
// topLeft.addView(CallStackView.ID);
//
// // 右上にブレークポイントのビューを配置
// IFolderLayout topRight = layout.createFolder("topRight", IPageLayout.RIGHT, 0.5f, "topLeft");
// topRight.addView(BreakPointView.ID);
//
// // 右上に変数のビューを配置
// IFolderLayout topRight2 = layout.createFolder("topRight2", IPageLayout.RIGHT, 0.5f, "topLeft");
// topRight2.addView(VariableView.ID);
 
// 右にブレークポイントのビューを配置
IFolderLayout right = layout.createFolder("right", IPageLayout.RIGHT, 0.5f, editorArea);
right.addView(BreakPointView.ID);
// 右下にトレースポイントのビューを配置
IFolderLayout rightBottom = layout.createFolder("rightBottom", IPageLayout.BOTTOM, 0.5f, "right");
rightBottom.addView(TracePointsView.ID);
// 右上に変数のビューを配置
IFolderLayout topRight = layout.createFolder("topRight", IPageLayout.TOP, 0.25f, editorArea);
topRight.addView(VariableView.ID);