|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.sqlpower.wabit.swingui.WorkspacePanel
public class WorkspacePanel
This panel will display information about the workspace. It will also allow the user to add and remove data sources.
| Nested Class Summary | |
|---|---|
static class |
WorkspacePanel.FurryPanel
This is the panel which paints the hair on the back of the wabit welcome screen and the hair on the back of the WorkspacePanel. |
static class |
WorkspacePanel.LogoLayout
This layout generates the Wabit logo panel with the version number in it. |
| Constructor Summary | |
|---|---|
WorkspacePanel(WabitSwingSession session)
|
|
| Method Summary | |
|---|---|
static void |
addJDBCDataSource(ca.sqlpower.sql.JDBCDataSource ds,
WabitSwingSession session)
This method is used in the DB connection manager to add the selected db to the workspace. |
static void |
addOlap4jDataSource(ca.sqlpower.sql.Olap4jDataSource ds,
WabitSwingSession session)
This method is used in the DB connection manager to add the selected olap connection to the workspace. |
boolean |
applyChanges()
|
static ca.sqlpower.swingui.db.DatabaseConnectionManager |
createDBConnectionManager(WabitSwingSession session,
java.awt.Window owner)
This will create the DBConnectionManager for the WorkspacePanel and other panels that need to allow users to add a data source to the workspace. |
void |
discardChanges()
|
javax.swing.JComponent |
getPanel()
|
javax.swing.JComponent |
getSourceComponent()
Returns the component (often a JTree or JList, but can be anything) that contains all the workspace items that can be dragged into this editor. |
java.lang.String |
getTitle()
Returns a suitable string that can be used in the title of a containing window or frame. |
javax.swing.JToolBar |
getToolbar()
Returns the toolbar. |
boolean |
hasUnsavedChanges()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkspacePanel(WabitSwingSession session)
| Method Detail |
|---|
public static ca.sqlpower.swingui.db.DatabaseConnectionManager createDBConnectionManager(WabitSwingSession session,
java.awt.Window owner)
session -
public static void addJDBCDataSource(ca.sqlpower.sql.JDBCDataSource ds,
WabitSwingSession session)
public static void addOlap4jDataSource(ca.sqlpower.sql.Olap4jDataSource ds,
WabitSwingSession session)
public boolean applyChanges()
applyChanges in interface ca.sqlpower.swingui.DataEntryPanelpublic void discardChanges()
discardChanges in interface ca.sqlpower.swingui.DataEntryPanelpublic javax.swing.JComponent getPanel()
getPanel in interface ca.sqlpower.swingui.DataEntryPanelpublic boolean hasUnsavedChanges()
hasUnsavedChanges in interface ca.sqlpower.swingui.DataEntryPanelpublic java.lang.String getTitle()
WabitPanel
getTitle in interface WabitPanelpublic javax.swing.JComponent getSourceComponent()
WabitPanel
getSourceComponent in interface WabitPanelpublic javax.swing.JToolBar getToolbar()
WabitPanel
getToolbar in interface WabitPanel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||