public class DuplicateOrderDialog extends ConfiguredTitleAreaDialog
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
DuplicateOrderDialog()
Construct a new duplicate order dialog.
|
Modifier and Type | Method and Description |
---|---|
protected void | configureShell(org.eclipse.swt.widgets.Shell shell)
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 Order | duplicateOrder()
Initiates the duplicate order request to create an order.
|
protected java.lang.String | getButtonBarManagedCompositeId()
Returns the button bar managed composite ID.
|
protected java.lang.String | getDefaultMessage()
Returns the default message for this dialog.
|
protected java.lang.String | getDialogAreaManagedCompositeId()
Returns the dialog area managed composite ID.
|
protected TelesalesProperties | getDuplicateOrderParameters()
Constructs the parameters for the duplicate order request.
|
protected java.lang.String | getHelpContextId()
Gets the help context ID.
|
java.lang.Object | getResult()
Returns to the caller an Order object if a duplicate order is created else null.
|
protected void | okPressed()
Method called when OK button is pressed.
|
protected void | setResult(java.lang.Object result)
Sets an Order object as the output of this dialog.
|
public static final java.lang.String COPYRIGHT
public DuplicateOrderDialog()
Key: DuplicateOrderDialogWidgetManager.PROP_DUPLICATE_ORDER_DIALOG
Value: this dialog
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDialogAreaManagedCompositeId()
protected void configureShell(org.eclipse.swt.widgets.Shell shell)
protected java.lang.String getHelpContextId()
protected java.lang.String getDefaultMessage()
public java.lang.Object getResult()
protected void setResult(java.lang.Object result)
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
protected void okPressed()
protected Order duplicateOrder()
protected TelesalesProperties getDuplicateOrderParameters()