* @param layout the layout.
*/
private void defineLayout(IPageLayout layout) {
String editorArea = layout.getEditorArea();
IFolderLayout bottom = layout.createFolder(BOTTOM, IPageLayout.BOTTOM, (float) 0.70,
editorArea);
bottom.addView(ID_REVIEW_TABLE_VIEW);
IFolderLayout bottomRight = layout.createFolder("bottomRight", IPageLayout.RIGHT, (float) 0.50,
BOTTOM);
bottomRight.addView(ID_REVIEW_EDITOR_VIEW);
bottomRight.addPlaceholder(IPageLayout.ID_PROBLEM_VIEW);
// bottomRight.addPlaceholder(JavaUI.ID_JAVADOC_VIEW);
// bottomRight.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
bottomRight.addPlaceholder(NewSearchUI.SEARCH_VIEW_ID);
bottomRight.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
bottomRight.addPlaceholder(IPageLayout.ID_BOOKMARKS);
bottomRight.addPlaceholder(IProgressConstants.PROGRESS_VIEW_ID);
IFolderLayout folder = layout.createFolder("topLeft", IPageLayout.LEFT, (float) 0.25,
editorArea);
// TODO Use this constant instead of the string after support for Eclipse 3.4 has been dropped
// folder.addView(IPageLayout.ID_PROJECT_EXPLORER);
folder.addView("org.eclipse.ui.navigator.ProjectExplorer");
// folder.addView(JavaUI.ID_PACKAGES);
// folder.addView(IPageLayout.ID_RES_NAV);
// folder.addPlaceholder(JavaUI.ID_TYPE_HIERARCHY);