Package org.pentaho.di.ui.trans.step
Class BaseFileStepDialog<T extends org.pentaho.di.trans.steps.file.BaseFileInputMeta<?,?,?>>
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- org.pentaho.di.ui.trans.step.BaseStepDialog
-
- org.pentaho.di.ui.trans.step.BaseFileStepDialog<T>
-
- All Implemented Interfaces:
org.pentaho.di.trans.step.StepDialogInterface
public abstract class BaseFileStepDialog<T extends org.pentaho.di.trans.steps.file.BaseFileInputMeta<?,?,?>> extends BaseStepDialog implements org.pentaho.di.trans.step.StepDialogInterface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BaseFileStepDialog.FD
Class for apply layout settings to SWT controls.-
Nested classes/interfaces inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
BaseStepDialog.AddConnectionListener, BaseStepDialog.EditConnectionListener, BaseStepDialog.FieldsChoiceDialogProvider
-
-
Field Summary
Fields Modifier and Type Field Description protected T
input
protected org.eclipse.swt.events.ModifyListener
lsMod
protected Class<?>
PKG
-
Fields inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
backupChanged, baseStepMeta, BUTTON_ALIGNMENT_CENTER, BUTTON_ALIGNMENT_LEFT, BUTTON_ALIGNMENT_RIGHT, buttonAlignment, changed, databaseDialog, fdCancel, fdCreate, fdGet, fdlStepname, fdOK, fdPreview, fdSQL, fdStepname, log, loggingObject, lsCancel, lsCreate, lsDef, lsGet, lsOK, lsPreview, lsResize, lsSQL, metaStore, props, repository, shell, stepMeta, stepname, transMeta, variables, wCancel, wCreate, wGet, wlStepname, wOK, wPreview, wSQL, wStepname
-
-
Constructor Summary
Constructors Constructor Description BaseFileStepDialog(org.eclipse.swt.widgets.Shell parent, T in, org.pentaho.di.trans.TransMeta transMeta, String sname)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
cancel()
protected abstract void
createUI()
protected abstract void
getData(T meta)
Read the data from the meta object and show it in this dialog.protected abstract void
getInfo(T meta, boolean preview)
Fill meta object from UI options.protected void
ok()
String
open()
-
Methods inherited from class org.pentaho.di.ui.trans.step.BaseStepDialog
addConnectionLine, addConnectionLine, addConnectionLine, addConnectionLine, addDatabases, addDatabases, centerButtons, createHelpButton, dispose, generateFieldMapping, getButtonAlignment, getDatabaseDialog, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getFieldsFromPrevious, getMetaStore, getModifyListenerTooltipText, getPathOf, getRepository, isBasic, isDebug, isDetailed, isRowLevel, leftAlignButtons, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, positionBottomButtons, positionBottomButtons, positionBottomLeftButtons, positionBottomRightButtons, reinitConnectionDropDown, rightAlignButtons, selectDatabase, setButtonPositions, setMetaStore, setMinimalShellHeight, setRepository, setShellImage, setSize, setSize, setSize, setSize, setTraverseOrder, showDbDialogUnlessCancelledOrValid, showDbExistsDialog, storeScreenSize, toString
-
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
-
-
-
Method Detail
-
open
public String open()
- Specified by:
open
in interfaceorg.pentaho.di.trans.step.StepDialogInterface
-
cancel
protected void cancel()
-
ok
protected void ok()
-
createUI
protected abstract void createUI()
-
getData
protected abstract void getData(T meta)
Read the data from the meta object and show it in this dialog.- Parameters:
meta
- The meta object to obtain the data from.
-
getInfo
protected abstract void getInfo(T meta, boolean preview)
Fill meta object from UI options.- Parameters:
meta
- meta objectpreview
- flag for preview or real options should be used. Currently, only one option is differ for preview - EOL chars. It uses as "mixed" for be able to preview any file.
-
-