public class PaymentDialog extends ConfiguredTitleAreaDialog
Constructor and Description |
---|
PaymentDialog()
Construct a new instance of the payment 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 | createContents(org.eclipse.swt.widgets.Composite parent)
Create the contents.
|
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 (value "com.ibm.commerce.telesales.ui.impl.paymentDialogButtonBarManagedComposite").
|
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.paymentDialogManagedComposite").
|
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 Payment object that contains payment information collected in this dialog to the caller.
|
void | okPressed()
Notifies that the 'OK' button of this dialog has been pressed.
|
void | setResult(java.lang.Object data)
Sets the Payment object that contains payment information collected in this dialog, resulting from the OK button being pressed.
|
public PaymentDialog()
Key: PaymentDialogWidgetManager.PROP_PAYMENT_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 org.eclipse.swt.widgets.Control createContents(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()