Changed gather.bin target to include all resources
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.sql / src / net / sourceforge / phpdt / sql / perspective / DBPerspective.java
1 package net.sourceforge.phpdt.sql.perspective;
2
3 import net.sourceforge.phpdt.sql.view.PHPSourceConsole;
4
5 import org.eclipse.ui.IFolderLayout;
6 import org.eclipse.ui.IPageLayout;
7 import org.eclipse.ui.IPerspectiveFactory;
8
9 /**
10  * @author root
11  *
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.
16  */
17 public class DBPerspective implements IPerspectiveFactory {
18         public void createInitialLayout(IPageLayout layout) {
19                 layout.setEditorAreaVisible(false);
20                 IFolderLayout side =
21                         layout.createFolder(
22                                 "side",
23                                 IPageLayout.LEFT,
24                                 0.33F,
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 =
30                         layout.createFolder(
31                                 "bottomRight",
32                                 IPageLayout.LEFT,
33                                 0.33F,
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);
38         }
39
40 }