public class AddAddressDialog extends ConfiguredTitleAreaDialog
Constructor and Description |
---|
AddAddressDialog()
Default constructor to create a new instance of the Add Address dialog.
|
Modifier and Type | Method and Description |
---|---|
void | cancelPressed()
This method notifies that the Cancel button of this dialog has been pressed.
|
void | configureShell(org.eclipse.swt.widgets.Shell newShell)
This method configures the given shell in preparation for opening this window in it.
|
org.eclipse.swt.widgets.Control | createDialogArea(org.eclipse.swt.widgets.Composite parent)
This method creates and returns the contents of the upper part of the dialog (above the button bar).
|
protected TelesalesProperties | getAddAddressParameters()
This method constructs the TelesalesProperties object that will be passed to the com.ibm.commerce.telesales.addAddress action.
|
java.util.ArrayList | getAddresses()
This method returns the addresses for this customer.
|
protected java.lang.String | getButtonBarManagedCompositeId()
This method returns the dialog area managed composite ID.
|
Customer | getCustomer()
This method returns the customer whose address is being added.
|
protected java.lang.String | getDefaultMessage()
This method returns the default message for this dialog.
|
protected java.lang.String | getDialogAreaManagedCompositeId()
This method returns the button bar managed composite ID.
|
java.lang.String[] | getExistingNicknames()
This method returns the customer's existing address nicknames.
|
java.lang.String | getHelpContextId()
This method retrieves the help context ID.
|
boolean | getInstantAdd()
This method returns the Boolean that tells whether to add this address instantly or save it in memory.
|
java.lang.Object | getResult()
This method returns the new address.
|
void | okPressed()
This method is called by the widgetSelected() method when the OK button is pressed.
|
void | setResult(java.lang.Object data)
This method sets the address resulting from the pressing the OK button.
|
public AddAddressDialog()
public void configureShell(org.eclipse.swt.widgets.Shell newShell)
public java.lang.String[] getExistingNicknames()
public Customer getCustomer()
public boolean getInstantAdd()
public java.lang.String getHelpContextId()
public org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
protected java.lang.String getDefaultMessage()
public java.lang.Object getResult()
public void setResult(java.lang.Object data)
public void okPressed()
public void cancelPressed()
protected TelesalesProperties getAddAddressParameters()
public java.util.ArrayList getAddresses()
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDialogAreaManagedCompositeId()