Class XulDatabaseExplorerController
- java.lang.Object
-
- org.pentaho.ui.xul.XulEventSourceAdapter
-
- org.pentaho.ui.xul.impl.AbstractXulEventHandler
-
- org.pentaho.di.ui.core.database.dialog.XulDatabaseExplorerController
-
- All Implemented Interfaces:
IUiActionStatus
,org.pentaho.ui.xul.impl.XulEventHandler
,org.pentaho.ui.xul.XulEventSource
public class XulDatabaseExplorerController extends org.pentaho.ui.xul.impl.AbstractXulEventHandler implements IUiActionStatus
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.swt.widgets.Shell
shell
-
Constructor Summary
Constructors Constructor Description XulDatabaseExplorerController(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.core.database.DatabaseMeta databaseMeta, List<org.pentaho.di.core.database.DatabaseMeta> databases, boolean aLook)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept()
void
cancel()
void
close()
void
dataProfile()
void
displayRowCount()
void
expandCollapse()
UiPostActionStatus
getActionStatus()
org.pentaho.di.core.database.DatabaseMeta
getDatabaseMeta()
void
getDDL()
void
getDDLForOther()
String
getName()
String
getSelectedSchema()
String
getSelectedTable()
void
init()
void
preview(boolean askLimit)
void
refresh()
void
setSelectedSchemaAndTable(String aSchema, String aTable)
void
showLayout()
void
truncate()
void
viewSql()
-
Methods inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer
-
-
-
-
Constructor Detail
-
XulDatabaseExplorerController
public XulDatabaseExplorerController(org.eclipse.swt.widgets.Shell shell, org.pentaho.di.core.database.DatabaseMeta databaseMeta, List<org.pentaho.di.core.database.DatabaseMeta> databases, boolean aLook)
-
-
Method Detail
-
init
public void init()
-
setSelectedSchemaAndTable
public void setSelectedSchemaAndTable(String aSchema, String aTable) throws org.pentaho.di.core.exception.KettleDatabaseException
- Throws:
org.pentaho.di.core.exception.KettleDatabaseException
-
getSelectedTable
public String getSelectedTable()
-
getDatabaseMeta
public org.pentaho.di.core.database.DatabaseMeta getDatabaseMeta()
-
getSelectedSchema
public String getSelectedSchema()
-
accept
public void accept()
-
cancel
public void cancel()
-
truncate
public void truncate()
-
viewSql
public void viewSql()
-
showLayout
public void showLayout()
-
displayRowCount
public void displayRowCount()
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
- Overrides:
getName
in classorg.pentaho.ui.xul.impl.AbstractXulEventHandler
-
preview
public void preview(boolean askLimit)
-
refresh
public void refresh()
-
close
public void close()
-
expandCollapse
public void expandCollapse()
-
getDDL
public void getDDL()
-
getDDLForOther
public void getDDLForOther()
-
dataProfile
public void dataProfile()
-
getActionStatus
public UiPostActionStatus getActionStatus()
- Specified by:
getActionStatus
in interfaceIUiActionStatus
-
-