Package org.pentaho.di.ui.trans.step
Class BaseStepGenericXulDialog
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.ui.xul.impl.AbstractXulEventHandler
org.pentaho.di.ui.trans.step.BaseStepGenericXulDialog
- All Implemented Interfaces:
org.pentaho.di.trans.step.StepDialogInterface,org.pentaho.ui.xul.impl.XulEventHandler,org.pentaho.ui.xul.XulEventSource
- Direct Known Subclasses:
BaseStepXulDialog
public abstract class BaseStepGenericXulDialog
extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
implements org.pentaho.di.trans.step.StepDialogInterface
User: gmoran Date: Jan 28, 2013
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.pentaho.di.trans.step.BaseStepMetaprotected org.pentaho.ui.xul.binding.BindingFactoryprotected org.pentaho.di.core.logging.LogChannelstatic final org.pentaho.di.core.logging.LoggingObjectInterfaceprotected org.pentaho.metastore.api.IMetaStoreprotected Objectprotected org.pentaho.di.repository.Repositoryprotected org.pentaho.di.trans.step.StepMetaprotected Stringprotected org.pentaho.di.trans.TransMetaprotected static org.pentaho.di.core.variables.VariableSpaceprotected org.pentaho.ui.xul.components.XulButtonprotected org.pentaho.ui.xul.components.XulButtonprotected org.pentaho.ui.xul.components.XulButtonprotected org.pentaho.ui.xul.components.XulLabelprotected org.pentaho.ui.xul.components.XulButtonprotected org.pentaho.ui.xul.components.XulButtonprotected org.pentaho.ui.xul.components.XulButtonprotected org.pentaho.ui.xul.components.XulTextboxprotected org.pentaho.ui.xul.containers.XulDialogFields inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
document, name, xulDomContainerFields inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
changeSupport -
Constructor Summary
ConstructorsConstructorDescriptionBaseStepGenericXulDialog(String xulFile, Object parent, org.pentaho.di.trans.step.BaseStepMeta baseStepMeta, org.pentaho.di.trans.TransMeta transMeta, String stepname) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDatabases(org.pentaho.ui.xul.components.XulMenuList<?> wConnection) voidaddDatabases(org.pentaho.ui.xul.components.XulMenuList wConnection, Class<? extends org.pentaho.di.core.database.DatabaseInterface> databaseType) abstract voidclear()Reset this dialog and its controls to a default state.voidclose()abstract voiddispose()protected org.pentaho.ui.xul.binding.BindingFactoryprotected abstract Class<?>protected List<org.pentaho.ui.xul.impl.XulEventHandler>org.pentaho.metastore.api.IMetaStoregetName()protected org.pentaho.di.core.plugins.PluginInterfaceorg.pentaho.di.repository.Repositoryabstract ResourceBundleabstract org.pentaho.ui.xul.XulSettingsManagerprotected abstract voidThe implementors of this method should call the sibling method initializeXul(XulLoder, BindingFactory, XulRunner, parent) with the desired Xul implementation classes - SWT or Swing.protected voidinitializeXul(org.pentaho.ui.xul.XulLoader loader, org.pentaho.ui.xul.binding.BindingFactory bindingFactory, org.pentaho.ui.xul.XulRunner runner, Object parent) booleanisBasic()booleanisDebug()booleanbooleanvoidvoidvoidvoidvoidlogDetailed(String message) voidlogDetailed(String message, Object... arguments) voidvoidvoidvoidlogMinimal(String message) voidlogMinimal(String message, Object... arguments) voidlogRowlevel(String message) voidlogRowlevel(String message, Object... arguments) abstract voidonAccept()abstract voidonCancel()voidonHelp()open()voidselectDatabase(org.pentaho.ui.xul.components.XulMenuList wConnection, String name) voidsetMetaStore(org.pentaho.metastore.api.IMetaStore metaStore) voidvoidsetRepository(org.pentaho.di.repository.Repository repository) intvoidshowMessage(String message, String title) intshowPromptMessage(String message, String title) intshowPromptMessage(String message, String title, Object[] buttons) abstract booleanvalidate()Methods inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainerMethods inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener
-
Field Details
-
loggingObject
public static final org.pentaho.di.core.logging.LoggingObjectInterface loggingObject -
variables
protected static org.pentaho.di.core.variables.VariableSpace variables -
stepname
-
wlStepname
protected org.pentaho.ui.xul.components.XulLabel wlStepname -
wStepname
protected org.pentaho.ui.xul.components.XulTextbox wStepname -
wOK
protected org.pentaho.ui.xul.components.XulButton wOK -
wGet
protected org.pentaho.ui.xul.components.XulButton wGet -
wPreview
protected org.pentaho.ui.xul.components.XulButton wPreview -
wSQL
protected org.pentaho.ui.xul.components.XulButton wSQL -
wCreate
protected org.pentaho.ui.xul.components.XulButton wCreate -
wCancel
protected org.pentaho.ui.xul.components.XulButton wCancel -
transMeta
protected org.pentaho.di.trans.TransMeta transMeta -
parent
-
baseStepMeta
protected org.pentaho.di.trans.step.BaseStepMeta baseStepMeta -
repository
protected org.pentaho.di.repository.Repository repository -
metaStore
protected org.pentaho.metastore.api.IMetaStore metaStore -
stepMeta
protected org.pentaho.di.trans.step.StepMeta stepMeta -
log
protected org.pentaho.di.core.logging.LogChannel log -
xulDialog
protected org.pentaho.ui.xul.containers.XulDialog xulDialog -
bf
protected org.pentaho.ui.xul.binding.BindingFactory bf
-
-
Constructor Details
-
BaseStepGenericXulDialog
-
-
Method Details
-
initializeXul
protected abstract void initializeXul() throws org.pentaho.ui.xul.XulExceptionThe implementors of this method should call the sibling method initializeXul(XulLoder, BindingFactory, XulRunner, parent) with the desired Xul implementation classes - SWT or Swing.- Throws:
org.pentaho.ui.xul.XulException
-
initializeXul
protected void initializeXul(org.pentaho.ui.xul.XulLoader loader, org.pentaho.ui.xul.binding.BindingFactory bindingFactory, org.pentaho.ui.xul.XulRunner runner, Object parent) throws org.pentaho.ui.xul.XulException - Throws:
org.pentaho.ui.xul.XulException
-
getSettingsManager
public abstract org.pentaho.ui.xul.XulSettingsManager getSettingsManager() -
getResourceBundle
-
clear
public abstract void clear()Reset this dialog and its controls to a default state. -
getBindingFactory
protected org.pentaho.ui.xul.binding.BindingFactory getBindingFactory() -
getEventHandlers
-
getName
- Specified by:
getNamein interfaceorg.pentaho.ui.xul.impl.XulEventHandler- Overrides:
getNamein classorg.pentaho.ui.xul.impl.AbstractXulEventHandler
-
open
- Specified by:
openin interfaceorg.pentaho.di.trans.step.StepDialogInterface
-
close
public void close() -
setModalParent
-
showMessage
-
showClearDataMessage
public int showClearDataMessage() -
showPromptMessage
-
showPromptMessage
-
onAccept
public abstract void onAccept() -
onCancel
public abstract void onCancel() -
onHelp
public void onHelp() -
getClassForMessages
-
dispose
public abstract void dispose() -
validate
public abstract boolean validate() -
addDatabases
public void addDatabases(org.pentaho.ui.xul.components.XulMenuList<?> wConnection) -
addDatabases
public void addDatabases(org.pentaho.ui.xul.components.XulMenuList wConnection, Class<? extends org.pentaho.di.core.database.DatabaseInterface> databaseType) -
selectDatabase
-
getRepository
public org.pentaho.di.repository.Repository getRepository() -
setRepository
public void setRepository(org.pentaho.di.repository.Repository repository) - Specified by:
setRepositoryin interfaceorg.pentaho.di.trans.step.StepDialogInterface
-
isBasic
public boolean isBasic() -
isDetailed
public boolean isDetailed() -
isDebug
public boolean isDebug() -
isRowLevel
public boolean isRowLevel() -
logMinimal
-
logMinimal
-
logBasic
-
logBasic
-
logDetailed
-
logDetailed
-
logDebug
-
logDebug
-
logRowlevel
-
logRowlevel
-
logError
-
logError
-
logError
-
getMetaStore
public org.pentaho.metastore.api.IMetaStore getMetaStore() -
setMetaStore
public void setMetaStore(org.pentaho.metastore.api.IMetaStore metaStore) - Specified by:
setMetaStorein interfaceorg.pentaho.di.trans.step.StepDialogInterface
-
getPlugin
protected org.pentaho.di.core.plugins.PluginInterface getPlugin()
-