public class MavenPropertyDialog
extends org.eclipse.jface.dialogs.Dialog
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
initialName |
private java.lang.String |
initialValue |
private java.lang.String |
name |
protected org.eclipse.swt.widgets.Text |
nameText |
private java.lang.String |
title |
private java.lang.String |
value |
protected org.eclipse.swt.widgets.Text |
valueText |
private org.eclipse.swt.events.VerifyListener |
verifyListener |
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| Constructor and Description |
|---|
MavenPropertyDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String initialName,
java.lang.String initialValue,
org.eclipse.swt.events.VerifyListener verifyListener) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buttonPressed(int buttonId) |
protected void |
configureShell(org.eclipse.swt.widgets.Shell shell) |
void |
create()
Enable the buttons on creation.
|
protected org.eclipse.swt.widgets.Control |
createDialogArea(org.eclipse.swt.widgets.Composite parent) |
java.lang.String |
getName() |
java.lang.String |
getValue() |
protected void |
updateButtons()
Enable the OK button if valid input
|
applyDialogFont, cancelPressed, close, convertHeightInCharsToPixels, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, convertWidthInCharsToPixels, createButton, createButtonBar, createButtonsForButtonBar, createContents, dialogFontIsDefault, getBlockedHandler, getButton, getButtonBar, getCancelButton, getDialogArea, getDialogBoundsSettings, getDialogBoundsStrategy, getImage, getInitialLocation, getInitialSize, getOKButton, initializeBounds, initializeDialogUnits, isResizable, okPressed, setBlockedHandler, setButtonLayoutData, setButtonLayoutFormData, shortenTextcanHandleShellCloseEvent, constrainShellSize, createShell, getConstrainedShellBounds, getContents, getDefaultImage, getDefaultImages, getDefaultOrientation, getLayout, getParentShell, getReturnCode, getShell, getShellListener, getShellStyle, getWindowManager, handleFontChange, handleShellCloseEvent, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setParentShell, setReturnCode, setShellStyle, setWindowManagerprivate final java.lang.String title
private final java.lang.String initialName
private final java.lang.String initialValue
private final org.eclipse.swt.events.VerifyListener verifyListener
protected org.eclipse.swt.widgets.Text nameText
protected org.eclipse.swt.widgets.Text valueText
private java.lang.String name
private java.lang.String value
public MavenPropertyDialog(org.eclipse.swt.widgets.Shell shell,
java.lang.String title,
java.lang.String initialName,
java.lang.String initialValue,
org.eclipse.swt.events.VerifyListener verifyListener)
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
createDialogArea in class org.eclipse.jface.dialogs.Dialogpublic java.lang.String getName()
public java.lang.String getValue()
protected void buttonPressed(int buttonId)
buttonPressed in class org.eclipse.jface.dialogs.Dialogprotected void configureShell(org.eclipse.swt.widgets.Shell shell)
configureShell in class org.eclipse.jface.window.Windowprotected void updateButtons()
public void create()
create in class org.eclipse.jface.dialogs.DialogWindow.create()