Class JobEntryCopyFilesDialog
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- org.pentaho.di.ui.job.entry.JobEntryDialog
-
- org.pentaho.di.ui.job.entries.copyfiles.JobEntryCopyFilesDialog
-
- All Implemented Interfaces:
org.pentaho.di.job.entry.JobEntryDialogInterface
public class JobEntryCopyFilesDialog extends JobEntryDialog implements org.pentaho.di.job.entry.JobEntryDialogInterface
This dialog allows you to edit the Copy Files job entry settings.- Since:
- 06-05-2007
- Author:
- Samatar Hassan
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanchangedprotected static String[]FILETYPESprotected org.pentaho.di.job.entries.copyfiles.JobEntryCopyFilesjobEntrystatic StringLOCAL_ENVIRONMENTprotected org.eclipse.swt.widgets.Shellshellstatic StringSTATIC_ENVIRONMENTprotected org.eclipse.swt.widgets.ButtonwAddFileToResultprotected org.eclipse.swt.widgets.ButtonwCopyEmptyFoldersprotected org.eclipse.swt.widgets.ButtonwCreateDestinationFolderprotected org.eclipse.swt.widgets.ButtonwDestinationIsAFileprotected TableViewwFieldsprotected org.eclipse.swt.widgets.ButtonwIncludeSubfoldersprotected org.eclipse.swt.widgets.TextwNameprotected org.eclipse.swt.widgets.ButtonwOverwriteFilesprotected org.eclipse.swt.widgets.ButtonwPreviousprotected org.eclipse.swt.widgets.ButtonwRemoveSourceFiles-
Fields inherited from class org.pentaho.di.ui.job.entry.JobEntryDialog
databaseDialog, jobEntryInt, jobMeta, loggingObject, metaStore, parent, props, rep
-
-
Constructor Summary
Constructors Constructor Description JobEntryCopyFilesDialog(org.eclipse.swt.widgets.Shell parent, org.pentaho.di.job.entry.JobEntryInterface jobEntryInt, org.pentaho.di.repository.Repository rep, org.pentaho.di.job.JobMeta jobMeta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.widgets.ButtoncreateSettingsButton(org.eclipse.swt.widgets.Composite p, String text, String title, org.eclipse.swt.widgets.Control top, org.eclipse.swt.events.SelectionAdapter sa)voiddispose()booleanevaluates()voidgetData()Copy information from the meta-data input to the dialog fields.protected org.eclipse.swt.events.SelectionAdaptergetFileSelectionAdapter()protected org.eclipse.swt.graphics.ImagegetImage()protected voidinitUI()booleanisUnconditional()protected voidok()org.pentaho.di.job.entry.JobEntryInterfaceopen()protected voidsetComboValues(ColumnInfo colInfo)booleanshowFileButtons()-
Methods inherited from class org.pentaho.di.ui.job.entry.JobEntryDialog
addConnectionLine, addConnectionLine, addDatabases, getMetaStore, getPathOf, selectDatabase, setMetaStore
-
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
-
-
-
Field Detail
-
FILETYPES
protected static final String[] FILETYPES
-
LOCAL_ENVIRONMENT
public static final String LOCAL_ENVIRONMENT
- See Also:
- Constant Field Values
-
STATIC_ENVIRONMENT
public static final String STATIC_ENVIRONMENT
- See Also:
- Constant Field Values
-
wName
protected org.eclipse.swt.widgets.Text wName
-
wPrevious
protected org.eclipse.swt.widgets.Button wPrevious
-
wCopyEmptyFolders
protected org.eclipse.swt.widgets.Button wCopyEmptyFolders
-
wOverwriteFiles
protected org.eclipse.swt.widgets.Button wOverwriteFiles
-
wIncludeSubfolders
protected org.eclipse.swt.widgets.Button wIncludeSubfolders
-
wRemoveSourceFiles
protected org.eclipse.swt.widgets.Button wRemoveSourceFiles
-
wAddFileToResult
protected org.eclipse.swt.widgets.Button wAddFileToResult
-
wDestinationIsAFile
protected org.eclipse.swt.widgets.Button wDestinationIsAFile
-
wCreateDestinationFolder
protected org.eclipse.swt.widgets.Button wCreateDestinationFolder
-
jobEntry
protected org.pentaho.di.job.entries.copyfiles.JobEntryCopyFiles jobEntry
-
shell
protected org.eclipse.swt.widgets.Shell shell
-
changed
protected boolean changed
-
wFields
protected TableView wFields
-
-
Method Detail
-
initUI
protected void initUI()
-
open
public org.pentaho.di.job.entry.JobEntryInterface open()
- Specified by:
openin interfaceorg.pentaho.di.job.entry.JobEntryDialogInterface
-
createSettingsButton
protected org.eclipse.swt.widgets.Button createSettingsButton(org.eclipse.swt.widgets.Composite p, String text, String title, org.eclipse.swt.widgets.Control top, org.eclipse.swt.events.SelectionAdapter sa)
-
getFileSelectionAdapter
protected org.eclipse.swt.events.SelectionAdapter getFileSelectionAdapter()
-
dispose
public void dispose()
-
getData
public void getData()
Copy information from the meta-data input to the dialog fields.
-
ok
protected void ok()
-
evaluates
public boolean evaluates()
-
isUnconditional
public boolean isUnconditional()
-
getImage
protected org.eclipse.swt.graphics.Image getImage()
-
showFileButtons
public boolean showFileButtons()
-
setComboValues
protected void setComboValues(ColumnInfo colInfo)
-
-