|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Dialog org.pentaho.di.ui.job.entry.JobEntryDialog
public class JobEntryDialog
The 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 the
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.
Field Summary | |
---|---|
static LoggingObjectInterface |
loggingObject
The loggingObject for the dialog |
Constructor Summary | |
---|---|
JobEntryDialog(Shell parent,
JobEntryInterface jobEntry,
Repository rep,
JobMeta jobMeta)
Instantiates a new job entry dialog. |
Method Summary | |
---|---|
CCombo |
addConnectionLine(Composite parent,
Control previous,
int middle,
int margin)
Adds the connection line for the given parent and previous control, and returns a combo box UI component |
CCombo |
addConnectionLine(Composite parent,
Control previous,
int middle,
int margin,
Label wlConnection,
Button wbnConnection,
Button wbeConnection)
Adds the connection line for the given parent and previous control, and returns a combo box UI component |
void |
addDatabases(CCombo wConnection)
Adds the databases from the job metadata to the combo box. |
void |
selectDatabase(CCombo wConnection,
String name)
Selects a database from the combo box |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final LoggingObjectInterface loggingObject
Constructor Detail |
---|
public JobEntryDialog(Shell parent, JobEntryInterface jobEntry, Repository rep, JobMeta jobMeta)
parent
- the parent shelljobEntry
- the job entry interfacerep
- the repositoryjobMeta
- the job metadata objectMethod Detail |
---|
public CCombo addConnectionLine(Composite parent, Control previous, int middle, int margin)
parent
- the parent composite objectprevious
- the previous controlmiddle
- the middlemargin
- the margin
public CCombo addConnectionLine(Composite parent, Control previous, int middle, int margin, Label wlConnection, Button wbnConnection, Button wbeConnection)
parent
- the parent composite objectprevious
- the previous controlmiddle
- the middlemargin
- the marginwlConnection
- the connection labelwbnConnection
- the "new connection" buttonwbeConnection
- the "edit connection" button
public void addDatabases(CCombo wConnection)
wConnection
- the w connectionpublic void selectDatabase(CCombo wConnection, String name)
wConnection
- the combo box list of connectionsname
- the name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |