public abstract class AbstractMavenDialog
extends org.eclipse.ui.dialogs.SelectionStatusDialog
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
KEY_HEIGHT |
protected static java.lang.String |
KEY_WIDTH |
private static java.lang.String |
KEY_X |
private static java.lang.String |
KEY_Y |
private org.eclipse.swt.graphics.Point |
location |
protected org.eclipse.jface.dialogs.IDialogSettings |
settings |
private org.eclipse.swt.graphics.Point |
size |
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, dialogArea, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS
Modifier | Constructor and Description |
---|---|
protected |
AbstractMavenDialog(org.eclipse.swt.widgets.Shell parent,
java.lang.String settingsSection) |
Modifier and Type | Method and Description |
---|---|
boolean |
close() |
private static org.eclipse.jface.dialogs.IDialogSettings |
getDialogSettings(java.lang.String settingsSection) |
protected org.eclipse.swt.graphics.Point |
getInitialLocation(org.eclipse.swt.graphics.Point initialSize) |
protected org.eclipse.swt.graphics.Point |
getInitialSize() |
protected void |
readSettings()
Initializes itself from the dialog settings with the same state as at the previous invocation.
|
private void |
writeSettings()
Stores it current configuration in the dialog store.
|
computeResult, configureShell, create, createButtonBar, getFirstResult, okPressed, setImage, setResult, setStatusLineAboveButtons, updateButtonsEnableState, updateStatus
createButtonsForButtonBar, createMessageArea, getDialogBoundsSettings, getDialogBoundsStrategy, getInitialElementSelections, getInitialSelections, getMessage, getOkButton, getResult, isResizable, setDialogBoundsSettings, setInitialElementSelections, setInitialSelections, setMessage, setResult, setSelectionResult, setTitle
closeTray, createHelpControl, getLayout, getTray, handleShellCloseEvent, isDialogHelpAvailable, isHelpAvailable, openTray, setDialogHelpAvailable, setHelpAvailable
applyDialogFont, buttonPressed, cancelPressed, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createContents, createDialogArea, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getImage, getOKButton, initializeBounds, initializeDialogUnits, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenText
canHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManager
protected static final java.lang.String KEY_WIDTH
protected static final java.lang.String KEY_HEIGHT
private static final java.lang.String KEY_X
private static final java.lang.String KEY_Y
protected final org.eclipse.jface.dialogs.IDialogSettings settings
private org.eclipse.swt.graphics.Point location
private org.eclipse.swt.graphics.Point size
protected AbstractMavenDialog(org.eclipse.swt.widgets.Shell parent, java.lang.String settingsSection)
parent
- private static org.eclipse.jface.dialogs.IDialogSettings getDialogSettings(java.lang.String settingsSection)
protected org.eclipse.swt.graphics.Point getInitialSize()
getInitialSize
in class org.eclipse.jface.dialogs.Dialog
protected org.eclipse.swt.graphics.Point getInitialLocation(org.eclipse.swt.graphics.Point initialSize)
getInitialLocation
in class org.eclipse.jface.dialogs.Dialog
public boolean close()
close
in class org.eclipse.jface.dialogs.Dialog
protected void readSettings()
private void writeSettings()