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 |
---|---|
protected DatabaseDialog |
databaseDialog
A reference to a database dialog
|
protected JobEntryInterface |
jobEntryInt
A reference to the job entry interface
|
protected JobMeta |
jobMeta
The job metadata object.
|
static LoggingObjectInterface |
loggingObject
The loggingObject for the dialog
|
protected org.pentaho.metastore.api.IMetaStore |
metaStore
the MetaStore
|
protected org.eclipse.swt.widgets.Shell |
parent
A reference to the parent shell
|
protected PropsUI |
props
A reference to the properties user interface
|
protected Repository |
rep
The repository
|
protected org.eclipse.swt.widgets.Shell |
shell
A reference to the shell object
|
Constructor and Description |
---|
JobEntryDialog(org.eclipse.swt.widgets.Shell parent,
JobEntryInterface jobEntry,
Repository rep,
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() |
protected String |
getPathOf(RepositoryElementMetaInterface object) |
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 LoggingObjectInterface loggingObject
protected JobEntryInterface jobEntryInt
protected Repository rep
protected org.pentaho.metastore.api.IMetaStore metaStore
protected JobMeta jobMeta
protected org.eclipse.swt.widgets.Shell shell
protected PropsUI props
protected org.eclipse.swt.widgets.Shell parent
protected DatabaseDialog databaseDialog
public JobEntryDialog(org.eclipse.swt.widgets.Shell parent, JobEntryInterface jobEntry, Repository rep, 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)
protected String getPathOf(RepositoryElementMetaInterface object)
Copyright © 2019 Hitachi Vantara. All rights reserved.