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
Fields Modifier and Type Field Description protected org.pentaho.di.trans.step.BaseStepMeta
baseStepMeta
protected org.pentaho.ui.xul.binding.BindingFactory
bf
protected org.pentaho.di.core.logging.LogChannel
log
static org.pentaho.di.core.logging.LoggingObjectInterface
loggingObject
protected org.pentaho.metastore.api.IMetaStore
metaStore
protected Object
parent
protected org.pentaho.di.repository.Repository
repository
protected org.pentaho.di.trans.step.StepMeta
stepMeta
protected String
stepname
protected org.pentaho.di.trans.TransMeta
transMeta
protected static org.pentaho.di.core.variables.VariableSpace
variables
protected org.pentaho.ui.xul.components.XulButton
wCancel
protected org.pentaho.ui.xul.components.XulButton
wCreate
protected org.pentaho.ui.xul.components.XulButton
wGet
protected org.pentaho.ui.xul.components.XulLabel
wlStepname
protected org.pentaho.ui.xul.components.XulButton
wOK
protected org.pentaho.ui.xul.components.XulButton
wPreview
protected org.pentaho.ui.xul.components.XulButton
wSQL
protected org.pentaho.ui.xul.components.XulTextbox
wStepname
protected org.pentaho.ui.xul.containers.XulDialog
xulDialog
-
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 void
addDatabases(org.pentaho.ui.xul.components.XulMenuList<?> wConnection)
void
addDatabases(org.pentaho.ui.xul.components.XulMenuList wConnection, Class<? extends org.pentaho.di.core.database.DatabaseInterface> databaseType)
abstract void
clear()
Reset this dialog and its controls to a default state.void
close()
abstract void
dispose()
protected org.pentaho.ui.xul.binding.BindingFactory
getBindingFactory()
protected abstract Class<?>
getClassForMessages()
protected List<org.pentaho.ui.xul.impl.XulEventHandler>
getEventHandlers()
org.pentaho.metastore.api.IMetaStore
getMetaStore()
String
getName()
protected org.pentaho.di.core.plugins.PluginInterface
getPlugin()
org.pentaho.di.repository.Repository
getRepository()
abstract ResourceBundle
getResourceBundle()
abstract org.pentaho.ui.xul.XulSettingsManager
getSettingsManager()
protected abstract void
initializeXul()
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 void
initializeXul(org.pentaho.ui.xul.XulLoader loader, org.pentaho.ui.xul.binding.BindingFactory bindingFactory, org.pentaho.ui.xul.XulRunner runner, Object parent)
boolean
isBasic()
boolean
isDebug()
boolean
isDetailed()
boolean
isRowLevel()
void
logBasic(String message)
void
logBasic(String message, Object... arguments)
void
logDebug(String message)
void
logDebug(String message, Object... arguments)
void
logDetailed(String message)
void
logDetailed(String message, Object... arguments)
void
logError(String message)
void
logError(String message, Object... arguments)
void
logError(String message, Throwable e)
void
logMinimal(String message)
void
logMinimal(String message, Object... arguments)
void
logRowlevel(String message)
void
logRowlevel(String message, Object... arguments)
abstract void
onAccept()
abstract void
onCancel()
void
onHelp()
String
open()
void
selectDatabase(org.pentaho.ui.xul.components.XulMenuList wConnection, String name)
void
setMetaStore(org.pentaho.metastore.api.IMetaStore metaStore)
void
setModalParent(Object p)
void
setRepository(org.pentaho.di.repository.Repository repository)
int
showClearDataMessage()
void
showMessage(String message, String title)
int
showPromptMessage(String message, String title)
int
showPromptMessage(String message, String title, Object[] buttons)
abstract boolean
validate()
-
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.XulException
The 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:
getName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
- Overrides:
getName
in classorg.pentaho.ui.xul.impl.AbstractXulEventHandler
-
open
public String open()
- Specified by:
open
in 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:
setRepository
in 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:
setMetaStore
in interfaceorg.pentaho.di.trans.step.StepDialogInterface
-
getPlugin
protected org.pentaho.di.core.plugins.PluginInterface getPlugin()
-
-