public class ResultsProposalPopup
extends PopupDialog
Modifier and Type | Field and Description |
---|---|
protected boolean |
acceptNullValue |
protected java.util.List<MObject> |
elements |
protected org.eclipse.swt.widgets.List |
list |
protected Rectangle |
listRectangle |
protected boolean |
loop |
protected Composite |
parent |
protected MObject |
selected |
Constructor and Description |
---|
ResultsProposalPopup(Control control,
java.util.List<MObject> elements,
boolean acceptNullValue)
Constructor initializing a ResultsProposalPopup.
|
Modifier and Type | Method and Description |
---|---|
protected void |
adjustBounds() |
protected void |
configureShell(Shell shell) |
protected Control |
createDialogArea(Composite area) |
java.lang.Object |
getChoice()
Open a popup to choose elements from.
|
protected Point |
getInitialLocation(Point initialSize) |
protected Point |
getInitialSize() |
protected boolean loop
protected boolean acceptNullValue
protected java.util.List<MObject> elements
protected MObject selected
protected Composite parent
protected org.eclipse.swt.widgets.List list
protected Rectangle listRectangle
public ResultsProposalPopup(Control control, java.util.List<MObject> elements, boolean acceptNullValue)
control
- the swt control displaying the popup.elements
- the elements to display in the popup.acceptNullValue
- indicates whether or not the "null" value must be shown in the popup.public java.lang.Object getChoice()
null
.protected void adjustBounds()
protected Point getInitialSize()
protected Point getInitialLocation(Point initialSize)
protected Control createDialogArea(Composite area)
protected void configureShell(Shell shell)