ca.sqlpower.architect.swingui
Class KettleDataSourceOptionsPanel
java.lang.Object
ca.sqlpower.architect.swingui.KettleDataSourceOptionsPanel
- All Implemented Interfaces:
- ca.sqlpower.swingui.DataEntryPanel
public class KettleDataSourceOptionsPanel
- extends java.lang.Object
- implements ca.sqlpower.swingui.DataEntryPanel
The KettleDataSourceOptionsPanel is an editor for all data source
options specific to the Architect's Kettle ETL integration features.
|
Constructor Summary |
KettleDataSourceOptionsPanel(ca.sqlpower.sql.SPDataSource dbcs)
Creates a panel for editing the Kettle-specific properties of
the given data source. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KettleDataSourceOptionsPanel
public KettleDataSourceOptionsPanel(ca.sqlpower.sql.SPDataSource dbcs)
- Creates a panel for editing the Kettle-specific properties of
the given data source. It is not possible to change which data
source this new instance edits.
- Parameters:
dbcs - The data source to edit. Null is not allowed.
parentTypeChanged
public void parentTypeChanged(ca.sqlpower.sql.SPDataSourceType dsType)
- Sets each of the database fields to be enabled only if their
data doesn't exist in the url.
applyChanges
public boolean applyChanges()
- Specified by:
applyChanges in interface ca.sqlpower.swingui.DataEntryPanel
discardChanges
public void discardChanges()
- Specified by:
discardChanges in interface ca.sqlpower.swingui.DataEntryPanel
getPanel
public javax.swing.JComponent getPanel()
- Specified by:
getPanel in interface ca.sqlpower.swingui.DataEntryPanel
hasUnsavedChanges
public boolean hasUnsavedChanges()
- Specified by:
hasUnsavedChanges in interface ca.sqlpower.swingui.DataEntryPanel
Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca