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,
HasDatabasesInterface databasesInterface) |
EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent,
String[] choices,
String shellText,
String message,
int shellWidth,
int shellHeight) |
EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent,
String[] choices,
String shellText,
String message,
String constant,
VariableSpace variableSpace) |
Modifier and Type | Method and Description |
---|---|
protected void |
addDataSource() |
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 |
setCurrentValue(String currentValue) |
void |
setFixed(boolean fixed) |
void |
setMulti(boolean multi) |
void |
setSelectedNrs(int[] selectedNrs) |
void |
setViewOnly() |
protected void |
updateFilter() |
@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, int shellWidth, int shellHeight)
public EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent, String[] choices, String shellText, String message, HasDatabasesInterface databasesInterface)
public EnterSelectionDialog(org.eclipse.swt.widgets.Shell parent, String[] choices, String shellText, String message, String constant, VariableSpace variableSpace)
public org.eclipse.swt.widgets.Shell getShell()
public void setViewOnly()
public void setAvoidQuickSearch()
public void setCurrentValue(String currentValue)
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 setprotected void updateFilter()
protected void addDataSource()
Copyright © 2019 Hitachi Vantara. All rights reserved.