public class CancelOrderDialog extends ConfiguredTitleAreaDialog
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CANCEL_ORDER_BUTTON_BAR_MANAGED_COMPOSITE_ID
Managed composite identifier for dialog button bar.
|
static java.lang.String | CANCEL_ORDER_DIALOG_AREA_MANAGED_COMPOSITE_ID
Managed composite identifier for dialog area.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
CancelOrderDialog()
Construct a new instance of the Add Address dialog.
|
Modifier and Type | Method and Description |
---|---|
void | cancelPressed()
Notifies that the Cancel button of this dialog has been pressed.
|
void | configureShell(org.eclipse.swt.widgets.Shell newShell)
Configures the given shell with the following style SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL in preparation for opening this window in it.
|
org.eclipse.swt.widgets.Control | createDialogArea(org.eclipse.swt.widgets.Composite parent)
Creates and returns the contents of the upper part of the dialog (above the button bar).
|
protected java.lang.String | getButtonBarManagedCompositeId()
Returns the dialog area managed composite ID.
|
java.lang.String | getDefaultMessage()
Returns the default message for this dialog.
|
protected java.lang.String | getDialogAreaManagedCompositeId()
Returns the button bar managed composite ID.
|
java.lang.String | getHelpContextId()
Retrieves the help context ID.
|
java.lang.Object | getResult()
Returns the result to the caller.
|
void | okPressed()
Override the okPressed method to capture set the Order model object to the result.
|
void | setResult(java.lang.Object data)
Sets the Order ModelObject to the result resulting from the pressing the OK button.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CANCEL_ORDER_DIALOG_AREA_MANAGED_COMPOSITE_ID
public static final java.lang.String CANCEL_ORDER_BUTTON_BAR_MANAGED_COMPOSITE_ID
public CancelOrderDialog()
Key: CancelOrderDialogManager.PROP_CANCEL_ORDER_DIALOG
Value: this dialog
public org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
public java.lang.String getDefaultMessage()
public java.lang.String getHelpContextId()
public void configureShell(org.eclipse.swt.widgets.Shell newShell)
public void okPressed()
public void cancelPressed()
public java.lang.Object getResult()
public void setResult(java.lang.Object data)
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDialogAreaManagedCompositeId()