public class JobEntryDialog
extends org.eclipse.swt.widgets.Dialog
open()method on the dialog. SWT is the native windowing environment of Spoon, and it is typically the framework used for implementing job entry dialogs.
| Modifier and Type | Field and Description |
|---|---|
static org.pentaho.di.core.logging.LoggingObjectInterface |
loggingObject
The loggingObject for the dialog
|
| Constructor and 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.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
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
|
void |
addDatabases(org.eclipse.swt.custom.CCombo wConnection)
Adds the databases from the job metadata to the combo box.
|
org.pentaho.metastore.api.IMetaStore |
getMetaStore() |
void |
selectDatabase(org.eclipse.swt.custom.CCombo wConnection,
String name)
Selects a database from the combo box
|
void |
setMetaStore(org.pentaho.metastore.api.IMetaStore metaStore) |
public static final org.pentaho.di.core.logging.LoggingObjectInterface loggingObject
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)
parent - the parent shelljobEntry - the job entry interfacerep - the repositoryjobMeta - the job metadata objectpublic org.eclipse.swt.custom.CCombo addConnectionLine(org.eclipse.swt.widgets.Composite parent,
org.eclipse.swt.widgets.Control previous,
int middle,
int margin)
parent - the parent composite objectprevious - the previous controlmiddle - the middlemargin - the marginpublic 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)
parent - the parent composite objectprevious - the previous controlmiddle - the middlemargin - the marginwlConnection - the connection labelwbnConnection - the "new connection" buttonwbeConnection - the "edit connection" buttonpublic void addDatabases(org.eclipse.swt.custom.CCombo wConnection)
wConnection - the w connectionpublic void selectDatabase(org.eclipse.swt.custom.CCombo wConnection,
String name)
wConnection - the combo box list of connectionsname - the namepublic org.pentaho.metastore.api.IMetaStore getMetaStore()
public void setMetaStore(org.pentaho.metastore.api.IMetaStore metaStore)