Class AbstractPreviewRowsXulDialog
java.lang.Object
org.pentaho.ui.xul.XulEventSourceAdapter
org.pentaho.ui.xul.impl.AbstractXulEventHandler
org.pentaho.di.ui.xul.common.preview.AbstractPreviewRowsXulDialog
- All Implemented Interfaces:
org.pentaho.ui.xul.impl.XulEventHandler,org.pentaho.ui.xul.XulEventSource
public abstract class AbstractPreviewRowsXulDialog
extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
User: gmoran Date: Jan 28, 2013
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.pentaho.ui.xul.binding.BindingFactoryprotected org.pentaho.di.core.logging.LogChannelprotected Objectprotected 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
ConstructorsConstructorDescriptionAbstractPreviewRowsXulDialog(Object parent, org.pentaho.di.trans.step.BaseStepMeta stepMeta, int maxRows) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected abstract voidcreatePreviewRows(List<Object[]> data, List<String> columns) TODO: This method should not be necessary once a XulTable can take bindings for creating xulcolumn definitions at runtime and mapping the data to the columns.abstract voiddispose()protected org.pentaho.ui.xul.binding.BindingFactoryprotected abstract Class<?>protected List<org.pentaho.ui.xul.impl.XulEventHandler>getName()abstract ResourceBundleabstract org.pentaho.ui.xul.XulSettingsManagervoidinit()protected 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()open()protected voidpreviewStep(List<Object[]> data, List<String> columns) TODO: This method needs to communicate and control a UI wait status indicator (aka, progress monitor)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
-
parent
-
xulDialog
protected org.pentaho.ui.xul.containers.XulDialog xulDialog -
bf
protected org.pentaho.ui.xul.binding.BindingFactory bf -
log
protected org.pentaho.di.core.logging.LogChannel log
-
-
Constructor Details
-
AbstractPreviewRowsXulDialog
public AbstractPreviewRowsXulDialog(Object parent, org.pentaho.di.trans.step.BaseStepMeta stepMeta, int maxRows)
-
-
Method Details
-
init
public void init() -
createPreviewRows
TODO: This method should not be necessary once a XulTable can take bindings for creating xulcolumn definitions at runtime and mapping the data to the columns.- Parameters:
data-columns-
-
previewStep
TODO: This method needs to communicate and control a UI wait status indicator (aka, progress monitor)- Parameters:
data-columns-
-
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
-
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
-
close
public void close() -
onAccept
public abstract void onAccept() -
onCancel
public abstract void onCancel() -
getClassForMessages
-
dispose
public abstract void dispose() -
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
-