public class TransPreviewDelegate extends SpoonDelegate implements org.pentaho.ui.xul.impl.XulEventHandler
Modifier and Type | Class and Description |
---|---|
static class |
TransPreviewDelegate.PreviewMode |
Modifier and Type | Field and Description |
---|---|
protected StepMeta |
lastSelectedStep |
protected Map<StepMeta,List<RowMetaAndData>> |
previewDataMap |
protected Map<StepMeta,StringBuffer> |
previewLogMap |
protected Map<StepMeta,RowMetaInterface> |
previewMetaMap |
log, loggingObject, spoon
Constructor and Description |
---|
TransPreviewDelegate(Spoon spoon,
TransGraph transGraph) |
Modifier and Type | Method and Description |
---|---|
void |
addPreviewData(StepMeta stepMeta,
RowMetaInterface rowMeta,
List<Object[]> rowsData,
StringBuffer buffer) |
void |
addTransPreview()
Add a grid with the execution metrics per step in a table view
|
void |
capturePreviewData(Trans trans,
List<StepMeta> stepMetas) |
void |
first() |
Object |
getData() |
String |
getName() |
Map<StepMeta,List<Object[]>> |
getPreviewDataMap() |
TransPreviewDelegate.PreviewMode |
getPreviewMode() |
StepMeta |
getSelectedStep() |
org.eclipse.swt.custom.CTabItem |
getTransGridTab() |
org.pentaho.ui.xul.XulDomContainer |
getXulDomContainer() |
protected void |
hidePreviewGrid() |
boolean |
isActive() |
void |
last() |
void |
off() |
void |
refreshView()
This refresh is driven by outside influenced using listeners and so on.
|
void |
setData(Object data) |
void |
setName(String name) |
void |
setPreviewMode(TransPreviewDelegate.PreviewMode previewMode) |
void |
setSelectedStep(StepMeta selectedStep) |
void |
setXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer) |
protected void |
showLogText(StepMeta stepMeta,
String loggingText) |
protected void |
showPreviewGrid(TransMeta transMeta,
StepMeta stepMeta,
RowMetaInterface rowMeta,
List<RowMetaAndData> rowsData) |
void |
showPreviewView() |
getMaxTabLength
protected Map<StepMeta,RowMetaInterface> previewMetaMap
protected Map<StepMeta,List<RowMetaAndData>> previewDataMap
protected Map<StepMeta,StringBuffer> previewLogMap
protected StepMeta lastSelectedStep
public TransPreviewDelegate(Spoon spoon, TransGraph transGraph)
spoon
- transGraph
- public void showPreviewView()
public void addTransPreview()
public void refreshView()
protected void hidePreviewGrid()
protected void showPreviewGrid(TransMeta transMeta, StepMeta stepMeta, RowMetaInterface rowMeta, List<RowMetaAndData> rowsData) throws KettleException
KettleException
public org.eclipse.swt.custom.CTabItem getTransGridTab()
public Object getData()
getData
in interface org.pentaho.ui.xul.impl.XulEventHandler
public String getName()
getName
in interface org.pentaho.ui.xul.impl.XulEventHandler
public org.pentaho.ui.xul.XulDomContainer getXulDomContainer()
getXulDomContainer
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setData(Object data)
setData
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setName(String name)
setName
in interface org.pentaho.ui.xul.impl.XulEventHandler
public void setXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer)
setXulDomContainer
in interface org.pentaho.ui.xul.impl.XulEventHandler
public boolean isActive()
public void setPreviewMode(TransPreviewDelegate.PreviewMode previewMode)
public void addPreviewData(StepMeta stepMeta, RowMetaInterface rowMeta, List<Object[]> rowsData, StringBuffer buffer)
public StepMeta getSelectedStep()
public void setSelectedStep(StepMeta selectedStep)
selectedStep
- the selectedStep to setpublic TransPreviewDelegate.PreviewMode getPreviewMode()
public void first()
public void last()
public void off()
Copyright © 2019 Hitachi Vantara. All rights reserved.