public class EnterSelectionDialog
extends org.eclipse.swt.widgets.Dialog
Constructor and Description |
---|
EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent,
PropsUI props,
String[] choices,
String shellText,
String lineText)
Deprecated.
Use CT without props parameter
|
EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent,
String[] choices,
String shellText,
String message)
Create a new dialog allow someone to pick one value out of a list of values
|
EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent,
String[] choices,
String shellText,
String message,
org.pentaho.di.trans.HasDatabasesInterface databasesInterface) |
EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent,
String[] choices,
String shellText,
String message,
String constant,
org.pentaho.di.core.variables.VariableSpace variableSpace) |
Modifier and Type | Method and Description |
---|---|
void |
clearModal() |
void |
dispose() |
void |
getData() |
int[] |
getSelectedNrs() |
int[] |
getSelectionIndeces() |
int |
getSelectionNr() |
int |
getSelectionNr(String str) |
org.eclipse.swt.widgets.Shell |
getShell() |
boolean |
isFixed() |
boolean |
isMulti() |
String |
open() |
String |
open(int nr) |
String |
openRepoDialog() |
void |
setAvoidQuickSearch() |
void |
setFixed(boolean fixed) |
void |
setMulti(boolean multi) |
void |
setSelectedNrs(int[] selectedNrs) |
void |
setViewOnly() |
@Deprecated public EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent, PropsUI props, String[] choices, String shellText, String lineText)
public EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent, String[] choices, String shellText, String message)
parent
- the parent shell.choices
- The available list of optionsshellText
- The shell textmessage
- the message to display as extra information about the possible choicespublic EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent, String[] choices, String shellText, String message, org.pentaho.di.trans.HasDatabasesInterface databasesInterface)
public org.eclipse.swt.widgets.Shell getShell()
public void setViewOnly()
public void setAvoidQuickSearch()
public void clearModal()
public String open(int nr)
public String open()
public String openRepoDialog()
public void dispose()
public void getData()
public int getSelectionNr(String str)
public int getSelectionNr()
public boolean isMulti()
public void setMulti(boolean multi)
public int[] getSelectionIndeces()
public boolean isFixed()
public void setFixed(boolean fixed)
fixed
- the fixed to setpublic int[] getSelectedNrs()
public void setSelectedNrs(int[] selectedNrs)
selectedNrs
- the selectedNrs to set