public class AddOrderChangeCommentsDialog extends ConfiguredTitleAreaDialog
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
AddOrderChangeCommentsDialog()
Constructor for the dialog.
|
Modifier and Type | Method and Description |
---|---|
void | configureShell(org.eclipse.swt.widgets.Shell newShell)
Configures the given shell with the following style SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | SWT.RESIZE in preparation for opening this window in it.
|
protected 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 button bar managed composite ID.
|
protected java.lang.String | getDefaultMessage()
Returns the default message for this dialog defined in the resource bundle.
|
protected java.lang.String | getDialogAreaManagedCompositeId()
Returns the dialog area managed composite ID.
|
java.lang.String | getHelpContextId()
Retrieves the help context ID.
|
Order | getOrder()
Returns the Order model object if it is stored under the key IDialog.KEY_ORDER set using TitleAreaDialog.setData() method.
|
java.lang.Object | getResult()
Returns result value to caller of dialog.
|
void | okPressed()
Overrides the base class okPressed method to add the new order change information to the order model object.
|
public static final java.lang.String COPYRIGHT
public AddOrderChangeCommentsDialog()
protected java.lang.String getDialogAreaManagedCompositeId()
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDefaultMessage()
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
public java.lang.String getHelpContextId()
public void configureShell(org.eclipse.swt.widgets.Shell newShell)
public java.lang.Object getResult()
public Order getOrder()
public void okPressed()