Package org.pentaho.di.ui.job.entry
Class JobEntryDialog
- java.lang.Object
-
- org.eclipse.swt.widgets.Dialog
-
- org.pentaho.di.ui.job.entry.JobEntryDialog
-
- Direct Known Subclasses:
JobEntryBaseDialog,JobEntryCheckFilesLockedDialog,JobEntryColumnsExistDialog,JobEntryConnectedToRepositoryDialog,JobEntryCopyFilesDialog,JobEntryCopyMoveResultFilenamesDialog,JobEntryCreateFileDialog,JobEntryCreateFolderDialog,JobEntryDelayDialog,JobEntryDeleteFileDialog,JobEntryDeleteFilesDialog,JobEntryDeleteFoldersDialog,JobEntryDeleteResultFilenamesDialog,JobEntryDosToUnixDialog,JobEntryEvalDialog,JobEntryEvalFilesMetricsDialog,JobEntryEvalTableContentDialog,JobEntryExportRepositoryDialog,JobEntryFileCompareDialog,JobEntryFileExistsDialog,JobEntryFilesExistDialog,JobEntryFolderIsEmptyDialog,JobEntryFoldersCompareDialog,JobEntryFTPDeleteDialog,JobEntryFTPDialog,JobEntryFTPPUTDialog,JobEntryFTPSGetDialog,JobEntryFTPSPUTDialog,JobEntryGetPOPDialog,JobEntryHTTPDialog,JobEntryMailDialog,JobEntryMailValidatorDialog,JobEntryMoveFilesDialog,JobEntryMsgBoxInfoDialog,JobEntryMssqlBulkLoadDialog,JobEntryMysqlBulkFileDialog,JobEntryMysqlBulkLoadDialog,JobEntryPGPDecryptFilesDialog,JobEntryPGPEncryptFilesDialog,JobEntryPGPVerifyDialog,JobEntryPingDialog,JobEntrySendNagiosPassiveCheckDialog,JobEntrySetVariablesDialog,JobEntrySFTPDialog,JobEntrySFTPPUTDialog,JobEntryShellDialog,JobEntrySimpleEvalDialog,JobEntrySNMPTrapDialog,JobEntrySpecialDialog,JobEntrySQLDialog,JobEntrySuccessDialog,JobEntrySyslogDialog,JobEntryTableExistsDialog,JobEntryTalendJobExecDialog,JobEntryTelnetDialog,JobEntryTruncateTablesDialog,JobEntryUnZipDialog,JobEntryWaitForFileDialog,JobEntryWaitForSQLDialog,JobEntryWebServiceAvailableDialog,JobEntryWriteToFileDialog,JobEntryWriteToLogDialog,JobEntryZipFileDialog,JobStepDialog,MissingEntryDialog
public class JobEntryDialog extends org.eclipse.swt.widgets.DialogThe JobEntryDialog class is responsible for constructing and opening the settings dialog for the job entry. Whenever the user opens the job entry settings in Spoon, it will instantiate the dialog class passing in the JobEntryInterface object and call theopen()
method on the dialog. SWT is the native windowing environment of Spoon, and it is typically the framework used for implementing job entry dialogs.
-
-
Field Summary
Fields Modifier and Type Field Description protected DatabaseDialogdatabaseDialogA reference to a database dialogprotected org.pentaho.di.job.entry.JobEntryInterfacejobEntryIntA reference to the job entry interfaceprotected org.pentaho.di.job.JobMetajobMetaThe job metadata object.static org.pentaho.di.core.logging.LoggingObjectInterfaceloggingObjectThe loggingObject for the dialogprotected org.pentaho.metastore.api.IMetaStoremetaStorethe MetaStoreprotected org.eclipse.swt.widgets.ShellparentA reference to the parent shellprotected PropsUIpropsA reference to the properties user interfaceprotected org.pentaho.di.repository.RepositoryrepThe repositoryprotected org.eclipse.swt.widgets.ShellshellA reference to the shell object
-
Constructor Summary
Constructors Constructor Description JobEntryDialog(org.eclipse.swt.widgets.Shell parent, org.pentaho.di.job.entry.JobEntryInterface jobEntry, org.pentaho.di.repository.Repository rep, org.pentaho.di.job.JobMeta jobMeta)Instantiates a new job entry dialog.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.swt.custom.CComboaddConnectionLine(org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control previous, int middle, int margin)Adds the connection line for the given parent and previous control, and returns a combo box UI componentorg.eclipse.swt.custom.CComboaddConnectionLine(org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control previous, int middle, int margin, org.eclipse.swt.widgets.Label wlConnection, org.eclipse.swt.widgets.Button wbwConnection, org.eclipse.swt.widgets.Button wbnConnection, org.eclipse.swt.widgets.Button wbeConnection)Adds the connection line for the given parent and previous control, and returns a combo box UI componentvoidaddDatabases(org.eclipse.swt.custom.CCombo wConnection)Adds the databases from the job metadata to the combo box.org.pentaho.metastore.api.IMetaStoregetMetaStore()protected StringgetPathOf(org.pentaho.di.repository.RepositoryElementMetaInterface object)voidselectDatabase(org.eclipse.swt.custom.CCombo wConnection, String name)Selects a database from the combo boxvoidsetMetaStore(org.pentaho.metastore.api.IMetaStore metaStore)
-
-
-
Field Detail
-
loggingObject
public static final org.pentaho.di.core.logging.LoggingObjectInterface loggingObject
The loggingObject for the dialog
-
jobEntryInt
protected org.pentaho.di.job.entry.JobEntryInterface jobEntryInt
A reference to the job entry interface
-
rep
protected org.pentaho.di.repository.Repository rep
The repository
-
metaStore
protected org.pentaho.metastore.api.IMetaStore metaStore
the MetaStore
-
jobMeta
protected org.pentaho.di.job.JobMeta jobMeta
The job metadata object.
-
shell
protected org.eclipse.swt.widgets.Shell shell
A reference to the shell object
-
props
protected PropsUI props
A reference to the properties user interface
-
parent
protected org.eclipse.swt.widgets.Shell parent
A reference to the parent shell
-
databaseDialog
protected DatabaseDialog databaseDialog
A reference to a database dialog
-
-
Constructor Detail
-
JobEntryDialog
public JobEntryDialog(org.eclipse.swt.widgets.Shell parent, org.pentaho.di.job.entry.JobEntryInterface jobEntry, org.pentaho.di.repository.Repository rep, org.pentaho.di.job.JobMeta jobMeta)Instantiates a new job entry dialog.- Parameters:
parent- the parent shelljobEntry- the job entry interfacerep- the repositoryjobMeta- the job metadata object
-
-
Method Detail
-
addConnectionLine
public org.eclipse.swt.custom.CCombo addConnectionLine(org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control previous, int middle, int margin)Adds the connection line for the given parent and previous control, and returns a combo box UI component- Parameters:
parent- the parent composite objectprevious- the previous controlmiddle- the middlemargin- the margin- Returns:
- the combo box UI component
-
addConnectionLine
public org.eclipse.swt.custom.CCombo addConnectionLine(org.eclipse.swt.widgets.Composite parent, org.eclipse.swt.widgets.Control previous, int middle, int margin, org.eclipse.swt.widgets.Label wlConnection, org.eclipse.swt.widgets.Button wbwConnection, org.eclipse.swt.widgets.Button wbnConnection, org.eclipse.swt.widgets.Button wbeConnection)Adds the connection line for the given parent and previous control, and returns a combo box UI component- Parameters:
parent- the parent composite objectprevious- the previous controlmiddle- the middlemargin- the marginwlConnection- the connection labelwbnConnection- the "new connection" buttonwbeConnection- the "edit connection" button- Returns:
- the combo box UI component
-
addDatabases
public void addDatabases(org.eclipse.swt.custom.CCombo wConnection)
Adds the databases from the job metadata to the combo box.- Parameters:
wConnection- the w connection
-
selectDatabase
public void selectDatabase(org.eclipse.swt.custom.CCombo wConnection, String name)Selects a database from the combo box- Parameters:
wConnection- the combo box list of connectionsname- the name
-
getMetaStore
public org.pentaho.metastore.api.IMetaStore getMetaStore()
-
setMetaStore
public void setMetaStore(org.pentaho.metastore.api.IMetaStore metaStore)
-
getPathOf
protected String getPathOf(org.pentaho.di.repository.RepositoryElementMetaInterface object)
-
-