Package org.pentaho.di.ui.spoon.trans
Class TransPreviewDelegate
java.lang.Object
org.pentaho.di.ui.spoon.delegates.SpoonDelegate
org.pentaho.di.ui.spoon.trans.TransPreviewDelegate
- All Implemented Interfaces:
org.pentaho.ui.xul.impl.XulEventHandler
public class TransPreviewDelegate
extends SpoonDelegate
implements org.pentaho.ui.xul.impl.XulEventHandler
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.pentaho.di.trans.step.StepMeta
protected Map<org.pentaho.di.trans.step.StepMeta,
StringBuffer> protected Map<org.pentaho.di.trans.step.StepMeta,
org.pentaho.di.core.row.RowMetaInterface> Fields inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate
log, loggingObject, spoon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPreviewData
(org.pentaho.di.trans.step.StepMeta stepMeta, org.pentaho.di.core.row.RowMetaInterface rowMeta, List<Object[]> rowsData, StringBuffer buffer) void
Add a grid with the execution metrics per step in a table viewvoid
capturePreviewData
(org.pentaho.di.trans.Trans trans, List<org.pentaho.di.trans.step.StepMeta> stepMetas) void
first()
getData()
getName()
org.pentaho.di.trans.step.StepMeta
org.eclipse.swt.custom.CTabItem
org.pentaho.ui.xul.XulDomContainer
protected void
boolean
isActive()
void
last()
void
off()
void
This refresh is driven by outside influenced using listeners and so on.void
void
void
setPreviewMode
(TransPreviewDelegate.PreviewMode previewMode) void
setSelectedStep
(org.pentaho.di.trans.step.StepMeta selectedStep) void
setXulDomContainer
(org.pentaho.ui.xul.XulDomContainer xulDomContainer) protected void
showLogText
(org.pentaho.di.trans.step.StepMeta stepMeta, String loggingText) protected void
showPreviewGrid
(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta stepMeta, org.pentaho.di.core.row.RowMetaInterface rowMeta, List<org.pentaho.di.core.RowMetaAndData> rowsData) void
Methods inherited from class org.pentaho.di.ui.spoon.delegates.SpoonDelegate
getMaxTabLength
-
Field Details
-
previewMetaMap
protected Map<org.pentaho.di.trans.step.StepMeta,org.pentaho.di.core.row.RowMetaInterface> previewMetaMap -
previewDataMap
-
previewLogMap
-
lastSelectedStep
protected org.pentaho.di.trans.step.StepMeta lastSelectedStep
-
-
Constructor Details
-
TransPreviewDelegate
- Parameters:
spoon
-transGraph
-
-
-
Method Details
-
showPreviewView
public void showPreviewView() -
addTransPreview
public void addTransPreview()Add a grid with the execution metrics per step in a table view -
refreshView
public void refreshView()This refresh is driven by outside influenced using listeners and so on. -
hidePreviewGrid
protected void hidePreviewGrid() -
showPreviewGrid
protected void showPreviewGrid(org.pentaho.di.trans.TransMeta transMeta, org.pentaho.di.trans.step.StepMeta stepMeta, org.pentaho.di.core.row.RowMetaInterface rowMeta, List<org.pentaho.di.core.RowMetaAndData> rowsData) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
showLogText
-
getTransGridTab
public org.eclipse.swt.custom.CTabItem getTransGridTab() -
getData
- Specified by:
getData
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
getName
- Specified by:
getName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
getXulDomContainer
public org.pentaho.ui.xul.XulDomContainer getXulDomContainer()- Specified by:
getXulDomContainer
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setData
- Specified by:
setData
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setName
- Specified by:
setName
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
setXulDomContainer
public void setXulDomContainer(org.pentaho.ui.xul.XulDomContainer xulDomContainer) - Specified by:
setXulDomContainer
in interfaceorg.pentaho.ui.xul.impl.XulEventHandler
-
isActive
public boolean isActive()- Returns:
- the active
-
setPreviewMode
-
capturePreviewData
public void capturePreviewData(org.pentaho.di.trans.Trans trans, List<org.pentaho.di.trans.step.StepMeta> stepMetas) -
addPreviewData
public void addPreviewData(org.pentaho.di.trans.step.StepMeta stepMeta, org.pentaho.di.core.row.RowMetaInterface rowMeta, List<Object[]> rowsData, StringBuffer buffer) -
getSelectedStep
public org.pentaho.di.trans.step.StepMeta getSelectedStep()- Returns:
- the selectedStep
-
setSelectedStep
public void setSelectedStep(org.pentaho.di.trans.step.StepMeta selectedStep) - Parameters:
selectedStep
- the selectedStep to set
-
getPreviewMode
-
first
public void first() -
last
public void last() -
off
public void off() -
getPreviewDataMap
-