1 package net.sourceforge.phpdt.sql.perspective;
3 import org.eclipse.ui.IFolderLayout;
4 import org.eclipse.ui.IPageLayout;
5 import org.eclipse.ui.IPerspectiveFactory;
7 import net.sourceforge.phpdt.sql.view.PHPSourceConsole;
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"); //$NON-NLS-1$
27 side.addView("net.sourceforge.phpdt.sql.view.queryhistoryview"); //$NON-NLS-1$
28 layout.addView("net.sourceforge.phpdt.sql.view.sqlqueryview", IPageLayout.TOP, 0.33F, layout.getEditorArea()); //$NON-NLS-1$
29 IFolderLayout bottomRight =
31 "bottomRight", //$NON-NLS-1$
34 layout.getEditorArea());
35 bottomRight.addView("net.sourceforge.phpdt.sql.view.tableview"); //$NON-NLS-1$
36 bottomRight.addView("net.sourceforge.phpdt.sql.view.logview"); //$NON-NLS-1$
37 bottomRight.addView(PHPSourceConsole.CONSOLE_ID);