1 package net.sourceforge.phpdt.sql.perspective;
3 import net.sourceforge.phpdt.sql.view.PHPSourceConsole;
5 import org.eclipse.ui.IFolderLayout;
6 import org.eclipse.ui.IPageLayout;
7 import org.eclipse.ui.IPerspectiveFactory;
12 * To change this generated comment edit the template variable "typecomment":
13 * Window>Preferences>Java>Templates.
14 * To enable and disable the creation of type comments go to
15 * Window>Preferences>Java>Code Generation.
17 public class DBPerspective implements IPerspectiveFactory {
18 public void createInitialLayout(IPageLayout layout) {
19 layout.setEditorAreaVisible(false);
25 layout.getEditorArea());
26 side.addView("net.sourceforge.phpdt.sql.view.bookmarkview");
27 side.addView("net.sourceforge.phpdt.sql.view.queryhistoryview");
28 layout.addView("net.sourceforge.phpdt.sql.view.sqlqueryview", IPageLayout.TOP, 0.33F, layout.getEditorArea());
29 IFolderLayout bottomRight =
34 layout.getEditorArea());
35 bottomRight.addView("net.sourceforge.phpdt.sql.view.tableview");
36 bottomRight.addView("net.sourceforge.phpdt.sql.view.logview");
37 // bottomRight.addView(PHPSourceConsole.CONSOLE_ID);