public class ShippingInstructionsDialog extends ConfiguredTitleAreaDialog
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
static java.lang.String | INPUT_PROP_CURRENT_SHIP_CHARGE
Current ship charge property.
|
Constructor and Description |
---|
ShippingInstructionsDialog()
Construct a new instance of the shipping instructions dialog.
|
Modifier and Type | Method and Description |
---|---|
void | cancelPressed()
Notifies that the 'Cancel' button of this dialog has been pressed.
|
protected void | configureShell(org.eclipse.swt.widgets.Shell newShell)
Configures the given shell in preparation for opening this window in it.
|
protected org.eclipse.swt.widgets.Control | createDialogArea(org.eclipse.swt.widgets.Composite parent)
Create the dialog area composite.
|
protected java.lang.String | getButtonBarManagedCompositeId()
Returns the button bar managed composite ID (value "com.ibm.commerce.telesales.ui.impl.shippingInstructionsDialogButtonBarManagedComposite").
|
protected java.lang.String | getDefaultMessage()
Returns the default message for this dialog.
|
protected java.lang.String | getDialogAreaManagedCompositeId()
Returns the dialog area managed composite ID (value "com.ibm.commerce.telesales.ui.impl.shippingInstructionsDialogManagedComposite").
|
protected java.lang.String | getDialogTitle()
Returns the dialog's title.
|
protected java.lang.String | getHelpContextId()
Retrieves the dialog's help context ID.
|
java.lang.Object | getResult()
Returns the ShippingInfo object that contains shipping instructions and carrier account information, resulting from the OK button being pressed.
|
void | okPressed()
Notifies that the 'OK' button of this dialog has been pressed.
|
void | setResult(java.lang.Object data)
Sets the ShippingInfo (that contains the shipping instructions and the carrier account information) resulting from the OK button being pressed.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String INPUT_PROP_CURRENT_SHIP_CHARGE
public ShippingInstructionsDialog()
Key: ShippingInstructionsDialogWidgetManager.PROP_SHIPPING_INSTRUCTIONS_DIALOG
Value: this dialog
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDialogAreaManagedCompositeId()
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
protected java.lang.String getDialogTitle()
Subclasses may override.
protected java.lang.String getDefaultMessage()
protected java.lang.String getHelpContextId()
public java.lang.Object getResult()
public void setResult(java.lang.Object data)
public void okPressed()
public void cancelPressed()