public class ResultsProposalPopup
extends org.eclipse.jface.dialogs.PopupDialog
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
acceptNullValue |
protected java.util.List<MObject> |
elements |
protected org.eclipse.swt.widgets.List |
list |
protected org.eclipse.swt.graphics.Rectangle |
listRectangle |
protected boolean |
loop |
protected org.eclipse.swt.widgets.Composite |
parent |
protected MObject |
selected |
| Constructor and Description |
|---|
ResultsProposalPopup(org.eclipse.swt.widgets.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(org.eclipse.swt.widgets.Shell shell) |
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite area) |
java.lang.Object |
getChoice()
Open a popup to choose elements from.
|
protected org.eclipse.swt.graphics.Point |
getInitialLocation(org.eclipse.swt.graphics.Point initialSize) |
protected org.eclipse.swt.graphics.Point |
getInitialSize() |
applyBackgroundColor, applyForegroundColor, close, createContents, createInfoTextArea, createTitleControl, createTitleMenuArea, fillDialogMenu, getBackground, getBackgroundColorExclusions, getDefaultLocation, getDefaultSize, getDialogSettings, getFocusControl, getForeground, getForegroundColorExclusions, getPersistBounds, getPersistLocation, getPersistSize, hasInfoArea, hasTitleArea, open, saveDialogBounds, setInfoText, setTabOrder, setTitleText, showDialogMenucanHandleShellCloseEvent, constrainShellSize, create, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, initializeBounds, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerprotected boolean loop
protected boolean acceptNullValue
protected java.util.List<MObject> elements
protected MObject selected
protected org.eclipse.swt.widgets.Composite parent
protected org.eclipse.swt.widgets.List list
protected org.eclipse.swt.graphics.Rectangle listRectangle
public ResultsProposalPopup(org.eclipse.swt.widgets.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()
adjustBounds in class org.eclipse.jface.dialogs.PopupDialogprotected org.eclipse.swt.graphics.Point getInitialSize()
getInitialSize in class org.eclipse.jface.dialogs.PopupDialogprotected org.eclipse.swt.graphics.Point getInitialLocation(org.eclipse.swt.graphics.Point initialSize)
getInitialLocation in class org.eclipse.jface.dialogs.PopupDialogprotected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite area)
createDialogArea in class org.eclipse.jface.dialogs.PopupDialogprotected void configureShell(org.eclipse.swt.widgets.Shell shell)
configureShell in class org.eclipse.jface.dialogs.PopupDialog