public class AddressWidgetManager extends StandardWidgetManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String | BUTTON_TYPE_ADD_ADDRESS
Add address button type constant.
|
static java.lang.String | BUTTON_TYPE_CANCEL
Cancel button type.
|
static java.lang.String | BUTTON_TYPE_DELETE_ADDRESS
Delete address button type constant.
|
static java.lang.String | BUTTON_TYPE_OK
OK button type.
|
static java.lang.String | COMPOSITE_TYPE_ADDRESS_FORM
Address form type composite.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | FIELD_TYPE_COUNTRY
Country field type constant.
|
static java.lang.String | FIELD_TYPE_NICKNAME
Nickname field type constant.
|
static java.lang.String | FIELD_TYPE_PROVINCE
Province field type constant.
|
static java.lang.String | LIST_TYPE_ADDRESSES
Addresses list type.
|
static java.lang.String | MANAGER_TYPE_ADDRESS
Address manager type.
|
static java.lang.String | PROP_ADD_ADDRESS_DIALOG
Add address dialog property name.
|
static java.lang.String | PROP_ADDRESS
Address property name.
|
static java.lang.String | PROP_ADDRESS_PROPERTY_NAME
Address property name property name.
|
static java.lang.String | PROP_ADDRESSES
Addresses property name.
|
static java.lang.String | PROP_BUTTON_TYPE
Button type property name.
|
static java.lang.String | PROP_COMPOSITE_TYPE
Composite type property name.
|
static java.lang.String | PROP_CUSTOMER
Customer property name.
|
static java.lang.String | PROP_EXISTING_NICKNAMES
Existing nicknames property name.
|
static java.lang.String | PROP_FIELD_TYPE
Field type property name.
|
static java.lang.String | PROP_LIST_TYPE
List type property name.
|
static java.lang.String | PROP_NICKNAME_PROPERTY_NAME
Nickname property name property name.
|
static java.lang.String | PROP_PRIMARY_ADDRESS
Primary address property name.
|
static java.lang.String | PROP_PRIMARY_ADDRESS_MANAGER
Primary address manager property name.
|
static java.lang.String | PROP_SHELL
Shell property.
|
static java.lang.String | PROP_USER_NAME
User name property name.
|
static java.lang.String | RADIO_BUTTON_TYPE_BILLING_ADDRESS
Billing address type radio button.
|
static java.lang.String | RADIO_BUTTON_TYPE_BOTH_ADDRESS
Both address type radio button.
|
static java.lang.String | RADIO_BUTTON_TYPE_SHIPPING_ADDRESS
Shipping address type radio button.
|
Constructor and Description |
---|
AddressWidgetManager()
Default constructor to create a new address widget manager.
|
Modifier and Type | Method and Description |
---|---|
protected void | cancelPressed()
This method is called when the cancel button is pressed.
|
void | dispose()
This method dispose the resources created by this widget manager.
|
protected AddAddressDialog | getAddAddressDialog()
This method returns the add address dialog.
|
boolean | getControlHasRequiredInput(ConfiguredControl configuredControl)
This method returns true if the control has its required input.
|
org.eclipse.core.runtime.IStatus | getControlStatusMessage(ConfiguredControl configuredControl)
This method calculates the status message for the specified control.
|
void | init(ConfiguredComposite configuredComposite, WidgetManagerInputProperties inputProperties)
This method initializes the address widget manager.
|
void | initControl(ConfiguredControl configuredControl)
This method initializes the specified control.
|
boolean | isControlDirty(ConfiguredControl configuredControl)
This method returns true if the control has been changed since the last save.
|
protected void | okPressed()
This method is called when the ok button is pressed.
|
void | refreshControl(ConfiguredControl configuredControl)
This method refreshes the specified control.
|
void | saveControl(ConfiguredControl configuredControl)
This method saves the contents of the configured control.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String MANAGER_TYPE_ADDRESS
public static final java.lang.String PROP_FIELD_TYPE
public static final java.lang.String PROP_BUTTON_TYPE
public static final java.lang.String PROP_COMPOSITE_TYPE
public static final java.lang.String PROP_LIST_TYPE
public static final java.lang.String PROP_ADDRESS
public static final java.lang.String PROP_PRIMARY_ADDRESS
public static final java.lang.String PROP_CUSTOMER
public static final java.lang.String PROP_PRIMARY_ADDRESS_MANAGER
public static final java.lang.String PROP_ADDRESSES
public static final java.lang.String PROP_NICKNAME_PROPERTY_NAME
public static final java.lang.String PROP_ADDRESS_PROPERTY_NAME
public static final java.lang.String PROP_ADD_ADDRESS_DIALOG
public static final java.lang.String PROP_SHELL
public static final java.lang.String PROP_EXISTING_NICKNAMES
public static final java.lang.String PROP_USER_NAME
public static final java.lang.String FIELD_TYPE_PROVINCE
public static final java.lang.String FIELD_TYPE_COUNTRY
public static final java.lang.String FIELD_TYPE_NICKNAME
public static final java.lang.String BUTTON_TYPE_ADD_ADDRESS
public static final java.lang.String BUTTON_TYPE_DELETE_ADDRESS
public static final java.lang.String BUTTON_TYPE_OK
public static final java.lang.String BUTTON_TYPE_CANCEL
public static final java.lang.String COMPOSITE_TYPE_ADDRESS_FORM
public static final java.lang.String LIST_TYPE_ADDRESSES
public static final java.lang.String RADIO_BUTTON_TYPE_SHIPPING_ADDRESS
public static final java.lang.String RADIO_BUTTON_TYPE_BILLING_ADDRESS
public static final java.lang.String RADIO_BUTTON_TYPE_BOTH_ADDRESS
public AddressWidgetManager()
public void init(ConfiguredComposite configuredComposite, WidgetManagerInputProperties inputProperties)
public void initControl(ConfiguredControl configuredControl)
public org.eclipse.core.runtime.IStatus getControlStatusMessage(ConfiguredControl configuredControl)
public boolean getControlHasRequiredInput(ConfiguredControl configuredControl)
public void refreshControl(ConfiguredControl configuredControl)
public void saveControl(ConfiguredControl configuredControl)
public boolean isControlDirty(ConfiguredControl configuredControl)
public void dispose()
protected void okPressed()
protected void cancelPressed()
protected AddAddressDialog getAddAddressDialog()