public abstract class AbstractPreviewRowsXulDialog
extends org.pentaho.ui.xul.impl.AbstractXulEventHandler
Modifier and Type | Field and Description |
---|---|
protected org.pentaho.ui.xul.binding.BindingFactory |
bf |
protected LogChannel |
log |
protected Object |
parent |
protected org.pentaho.ui.xul.containers.XulDialog |
xulDialog |
Constructor and Description |
---|
AbstractPreviewRowsXulDialog(Object parent,
BaseStepMeta stepMeta,
int maxRows) |
Modifier and Type | Method and Description |
---|---|
void |
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 |
getBindingFactory() |
protected abstract Class<?> |
getClassForMessages() |
protected List<org.pentaho.ui.xul.impl.XulEventHandler> |
getEventHandlers() |
String |
getName() |
abstract ResourceBundle |
getResourceBundle() |
abstract org.pentaho.ui.xul.XulSettingsManager |
getSettingsManager() |
void |
init() |
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() |
String |
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)
|
bind, bind, getData, getXulDomContainer, setData, setName, setXulDomContainer
protected Object parent
protected org.pentaho.ui.xul.containers.XulDialog xulDialog
protected org.pentaho.ui.xul.binding.BindingFactory bf
protected LogChannel log
public AbstractPreviewRowsXulDialog(Object parent, BaseStepMeta stepMeta, int maxRows)
public void init()
protected abstract void createPreviewRows(List<Object[]> data, List<String> columns)
data
- columns
- protected void previewStep(List<Object[]> data, List<String> columns)
data
- columns
- protected abstract void initializeXul() throws org.pentaho.ui.xul.XulException
org.pentaho.ui.xul.XulException
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
org.pentaho.ui.xul.XulException
public abstract org.pentaho.ui.xul.XulSettingsManager getSettingsManager()
public abstract ResourceBundle getResourceBundle()
protected org.pentaho.ui.xul.binding.BindingFactory getBindingFactory()
protected List<org.pentaho.ui.xul.impl.XulEventHandler> getEventHandlers()
public String getName()
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
getName
in class org.pentaho.ui.xul.impl.AbstractXulEventHandler
public String open()
public void close()
public abstract void onAccept()
public abstract void onCancel()
protected abstract Class<?> getClassForMessages()
public abstract void dispose()
public boolean isBasic()
public boolean isDetailed()
public boolean isDebug()
public boolean isRowLevel()
public void logMinimal(String message)
public void logBasic(String message)
public void logDetailed(String message)
public void logDebug(String message)
public void logRowlevel(String message)
public void logError(String message)
Copyright © 2019 Hitachi Vantara. All rights reserved.