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
Modifier and TypeFieldDescriptionprotected org.pentaho.di.trans.step.BaseStepMeta
protected org.pentaho.ui.xul.binding.BindingFactory
protected org.pentaho.di.core.logging.LogChannel
static final org.pentaho.di.core.logging.LoggingObjectInterface
protected org.pentaho.metastore.api.IMetaStore
protected Object
protected org.pentaho.di.repository.Repository
protected org.pentaho.di.trans.step.StepMeta
protected String
protected org.pentaho.di.trans.TransMeta
protected static org.pentaho.di.core.variables.VariableSpace
protected org.pentaho.ui.xul.components.XulButton
protected org.pentaho.ui.xul.components.XulButton
protected org.pentaho.ui.xul.components.XulButton
protected org.pentaho.ui.xul.components.XulLabel
protected org.pentaho.ui.xul.components.XulButton
protected org.pentaho.ui.xul.components.XulButton
protected org.pentaho.ui.xul.components.XulButton
protected org.pentaho.ui.xul.components.XulTextbox
protected org.pentaho.ui.xul.containers.XulDialog
Fields inherited from class org.pentaho.ui.xul.impl.AbstractXulEventHandler
document, name, xulDomContainer
Fields inherited from class org.pentaho.ui.xul.XulEventSourceAdapter
changeSupport
-
Constructor Summary
ConstructorDescriptionBaseStepGenericXulDialog
(String xulFile, Object parent, org.pentaho.di.trans.step.BaseStepMeta baseStepMeta, org.pentaho.di.trans.TransMeta transMeta, String stepname) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
protected abstract Class<?>
protected List<org.pentaho.ui.xul.impl.XulEventHandler>
org.pentaho.metastore.api.IMetaStore
getName()
protected org.pentaho.di.core.plugins.PluginInterface
org.pentaho.di.repository.Repository
abstract ResourceBundle
abstract org.pentaho.ui.xul.XulSettingsManager
protected abstract void
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
boolean
void
void
void
void
void
logDetailed
(String message) void
logDetailed
(String message, Object... arguments) void
void
void
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()
open()
void
selectDatabase
(org.pentaho.ui.xul.components.XulMenuList wConnection, String name) void
setMetaStore
(org.pentaho.metastore.api.IMetaStore metaStore) void
void
setRepository
(org.pentaho.di.repository.Repository repository) int
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
Methods 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:
getName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
- Overrides:
getName
in classorg.pentaho.ui.xul.impl.AbstractXulEventHandler
-
open
- Specified by:
open
in 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:
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
-
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:
setMetaStore
in interfaceorg.pentaho.di.trans.step.StepDialogInterface
-
getPlugin
protected org.pentaho.di.core.plugins.PluginInterface getPlugin()
-