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.StepDialogInterfaceUser: gmoran Date: Jan 28, 2013
-
-
Field Summary
Fields Modifier and Type Field Description protected org.pentaho.di.trans.step.BaseStepMetabaseStepMetaprotected org.pentaho.ui.xul.binding.BindingFactorybfprotected org.pentaho.di.core.logging.LogChannellogstatic org.pentaho.di.core.logging.LoggingObjectInterfaceloggingObjectprotected org.pentaho.metastore.api.IMetaStoremetaStoreprotected Objectparentprotected org.pentaho.di.repository.Repositoryrepositoryprotected org.pentaho.di.trans.step.StepMetastepMetaprotected Stringstepnameprotected org.pentaho.di.trans.TransMetatransMetaprotected static org.pentaho.di.core.variables.VariableSpacevariablesprotected org.pentaho.ui.xul.components.XulButtonwCancelprotected org.pentaho.ui.xul.components.XulButtonwCreateprotected org.pentaho.ui.xul.components.XulButtonwGetprotected org.pentaho.ui.xul.components.XulLabelwlStepnameprotected org.pentaho.ui.xul.components.XulButtonwOKprotected org.pentaho.ui.xul.components.XulButtonwPreviewprotected org.pentaho.ui.xul.components.XulButtonwSQLprotected org.pentaho.ui.xul.components.XulTextboxwStepnameprotected org.pentaho.ui.xul.containers.XulDialogxulDialog
-
Constructor Summary
Constructors Constructor Description BaseStepGenericXulDialog(String xulFile, Object parent, org.pentaho.di.trans.step.BaseStepMeta baseStepMeta, org.pentaho.di.trans.TransMeta transMeta, String stepname)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddDatabases(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.BindingFactorygetBindingFactory()protected abstract Class<?>getClassForMessages()protected List<org.pentaho.ui.xul.impl.XulEventHandler>getEventHandlers()org.pentaho.metastore.api.IMetaStoregetMetaStore()StringgetName()protected org.pentaho.di.core.plugins.PluginInterfacegetPlugin()org.pentaho.di.repository.RepositorygetRepository()abstract ResourceBundlegetResourceBundle()abstract org.pentaho.ui.xul.XulSettingsManagergetSettingsManager()protected abstract voidinitializeXul()The 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()booleanisDetailed()booleanisRowLevel()voidlogBasic(String message)voidlogBasic(String message, Object... arguments)voidlogDebug(String message)voidlogDebug(String message, Object... arguments)voidlogDetailed(String message)voidlogDetailed(String message, Object... arguments)voidlogError(String message)voidlogError(String message, Object... arguments)voidlogError(String message, Throwable e)voidlogMinimal(String message)voidlogMinimal(String message, Object... arguments)voidlogRowlevel(String message)voidlogRowlevel(String message, Object... arguments)abstract voidonAccept()abstract voidonCancel()voidonHelp()Stringopen()voidselectDatabase(org.pentaho.ui.xul.components.XulMenuList wConnection, String name)voidsetMetaStore(org.pentaho.metastore.api.IMetaStore metaStore)voidsetModalParent(Object p)voidsetRepository(org.pentaho.di.repository.Repository repository)intshowClearDataMessage()voidshowMessage(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, setXulDomContainer
-
-
-
-
Field Detail
-
loggingObject
public static final org.pentaho.di.core.logging.LoggingObjectInterface loggingObject
-
variables
protected static org.pentaho.di.core.variables.VariableSpace variables
-
stepname
protected String 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
protected Object 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
-
-
Method Detail
-
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
public abstract ResourceBundle 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
protected List<org.pentaho.ui.xul.impl.XulEventHandler> getEventHandlers()
-
getName
public String getName()
- Specified by:
getNamein interfaceorg.pentaho.ui.xul.impl.XulEventHandler- Overrides:
getNamein classorg.pentaho.ui.xul.impl.AbstractXulEventHandler
-
open
public String open()
- Specified by:
openin interfaceorg.pentaho.di.trans.step.StepDialogInterface
-
close
public void close()
-
setModalParent
public void setModalParent(Object p)
-
showClearDataMessage
public int showClearDataMessage()
-
onAccept
public abstract void onAccept()
-
onCancel
public abstract void onCancel()
-
onHelp
public void onHelp()
-
getClassForMessages
protected abstract Class<?> 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
public void selectDatabase(org.pentaho.ui.xul.components.XulMenuList wConnection, String name)
-
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
public void logMinimal(String message)
-
logBasic
public void logBasic(String message)
-
logDetailed
public void logDetailed(String message)
-
logDebug
public void logDebug(String message)
-
logRowlevel
public void logRowlevel(String message)
-
logError
public void logError(String message)
-
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()
-
-