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
Modifier and TypeFieldDescriptionprotected org.pentaho.ui.xul.binding.BindingFactory
protected org.pentaho.di.core.logging.LogChannel
protected Object
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
ConstructorDescriptionAbstractPreviewRowsXulDialog
(Object parent, org.pentaho.di.trans.step.BaseStepMeta stepMeta, int maxRows) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected abstract void
createPreviewRows
(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 void
dispose()
protected org.pentaho.ui.xul.binding.BindingFactory
protected abstract Class<?>
protected List<org.pentaho.ui.xul.impl.XulEventHandler>
getName()
abstract ResourceBundle
abstract org.pentaho.ui.xul.XulSettingsManager
void
init()
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()
open()
protected void
previewStep
(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, setXulDomContainer
Methods 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:
getName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
- Overrides:
getName
in 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
-