org.pentaho.di.ui.trans.dialog
Class TransPreviewProgressDialog
java.lang.Object
org.pentaho.di.ui.trans.dialog.TransPreviewProgressDialog
public class TransPreviewProgressDialog
- extends Object
Takes care of displaying a dialog that will handle the wait while previewing a transformation...
- Since:
- 13-jan-2006
- Author:
- Matt
Constructor Summary |
TransPreviewProgressDialog(Shell shell,
TransMeta transMeta,
String[] previewStepNames,
int[] previewSize)
Creates a new dialog that will handle the wait while previewing a transformation... |
TransPreviewProgressDialog
public TransPreviewProgressDialog(Shell shell,
TransMeta transMeta,
String[] previewStepNames,
int[] previewSize)
- Creates a new dialog that will handle the wait while previewing a transformation...
open
public TransMeta open()
getPreviewRows
public List<Object[]> getPreviewRows(String stepname)
- Parameters:
stepname
- the name of the step to get the preview rows for
- Returns:
- A list of rows as the result of the preview run.
getPreviewRowsMeta
public RowMetaInterface getPreviewRowsMeta(String stepname)
- Parameters:
stepname
- the name of the step to get the preview rows for
- Returns:
- A description of the row (metadata)
isCancelled
public boolean isCancelled()
- Returns:
- true is the preview was canceled by the user
getLoggingText
public String getLoggingText()
- Returns:
- The logging text from the latest preview run
getTrans
public Trans getTrans()
- Returns:
- The transformation object that executed the preview TransMeta
getTransDebugMeta
public TransDebugMeta getTransDebugMeta()
- Returns:
- the transDebugMeta