public class MultipleProductsSelectionDialog extends ConfiguredTitleAreaDialog
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
MultipleProductsSelectionDialog()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void | configureShell(org.eclipse.swt.widgets.Shell newShell)
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 java.lang.String | getButtonBarManagedCompositeId()
This method returns the dialog area managed composite ID.
|
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 | getHelpContextId()
This method retrieves the help context ID.
|
protected boolean | getInventory(Product product)
This method refreshes the inventory of the given product by requesting GetInventoryBalanceRequest service.
|
protected TelesalesProperties | getInventoryBalanceParameters(Product product)
This method creates parameters to run GetInventoryBalanceRequest request.
|
Customer | getOrderingCustomer()
This method returns The Ordering Customer.
|
Product | getProduct()
This method returns the product.
|
java.lang.Object | getResult()
This method returns the data resulting from the Multiple Products Selection Dialog.
|
void | inventoryPressed()
This method gets called when the inventory button is pressed.
|
boolean | isB2B()
This method returns true if the customer is a business-to-business customer.
|
void | okPressed()
This method gets called by the widgetSelected() method when the OK button is pressed.
|
void | setOrderingCustomer(Customer customer)
This method sets the Ordering Customer.
|
void | setProduct(BundleBean product)
This method informs the dialog which Bundle's contents are going to be displayed.
|
void | setResult(java.lang.Object result)
This method sets the data resulting from the Multiple Products Selection Dialog.
|
public static final java.lang.String COPYRIGHT
public MultipleProductsSelectionDialog()
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDialogAreaManagedCompositeId()
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
protected java.lang.String getDefaultMessage()
public void setOrderingCustomer(Customer customer)
public Customer getOrderingCustomer()
public boolean isB2B()
public java.lang.String getHelpContextId()
public org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
public java.lang.Object getResult()
public void setResult(java.lang.Object result)
protected boolean getInventory(Product product)
protected TelesalesProperties getInventoryBalanceParameters(Product product)
public void inventoryPressed()
public void okPressed()
public void setProduct(BundleBean product)
public Product getProduct()