--- /dev/null
+package net.sourceforge.phpdt.sql.perspective;
+
+import net.sourceforge.phpdt.sql.view.PHPSourceConsole;
+
+import org.eclipse.ui.IFolderLayout;
+import org.eclipse.ui.IPageLayout;
+import org.eclipse.ui.IPerspectiveFactory;
+
+/**
+ * @author root
+ *
+ * To change this generated comment edit the template variable "typecomment":
+ * Window>Preferences>Java>Templates.
+ * To enable and disable the creation of type comments go to
+ * Window>Preferences>Java>Code Generation.
+ */
+public class DBPerspective implements IPerspectiveFactory {
+ public void createInitialLayout(IPageLayout layout) {
+ layout.setEditorAreaVisible(false);
+ IFolderLayout side =
+ layout.createFolder(
+ "side",
+ IPageLayout.LEFT,
+ 0.33F,
+ layout.getEditorArea());
+ side.addView("net.sourceforge.phpdt.sql.view.bookmarkview");
+ side.addView("net.sourceforge.phpdt.sql.view.queryhistoryview");
+ layout.addView("net.sourceforge.phpdt.sql.view.sqlqueryview", IPageLayout.TOP, 0.33F, layout.getEditorArea());
+ IFolderLayout bottomRight =
+ layout.createFolder(
+ "bottomRight",
+ IPageLayout.LEFT,
+ 0.33F,
+ layout.getEditorArea());
+ bottomRight.addView("net.sourceforge.phpdt.sql.view.tableview");
+ bottomRight.addView("net.sourceforge.phpdt.sql.view.logview");
+ // bottomRight.addView(PHPSourceConsole.CONSOLE_ID);
+ }
+
+}