public class ProductAttributesDialog extends ConfiguredTitleAreaDialog
This dialog can also be made to appear to remember the last attribute selections of the user by setting KEY_PRODUCT_ITEM.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field
|
Constructor and Description |
---|
ProductAttributesDialog()
Default constructor for the Product Attributes Dialog.
|
Modifier and Type | Method and Description |
---|---|
protected void | configureShell(org.eclipse.swt.widgets.Shell newShell)
This method 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)
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 button bar 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 dialog area managed composite ID.
|
protected 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 a GetInventoryBalanceRequest request.
|
ProductBean | getProduct()
This method returns the ProductBean whose attributes are going to be displayed.
|
java.lang.Object | getResult()
This method returns the ItemBean resulting from the Product Attributes Selection Dialog.
|
void | inventoryPressed()
This method gets called after an item is resolved, and the user selects the "Inventory" button to see the inventory information of the resolved item.
|
protected void | okPressed()
This method gets called by the widgetSelected() method when the OK button is pressed.
|
protected void | openProductInventoryDialog(Product product)
This method is used to open the Product Inventory Dialog implementation.
|
void | setProduct(ProductBean product)
This method informs the dialog which Product Bean's attributes are going to be displayed.
|
protected void | setResult(java.lang.Object data)
This method sets the data resulting from the find request.
|
public static final java.lang.String COPYRIGHT
public ProductAttributesDialog()
protected java.lang.String getButtonBarManagedCompositeId()
protected java.lang.String getDialogAreaManagedCompositeId()
protected void configureShell(org.eclipse.swt.widgets.Shell newShell)
protected java.lang.String getDefaultMessage()
protected java.lang.String getHelpContextId()
public void setProduct(ProductBean product)
public ProductBean getProduct()
protected org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
public java.lang.Object getResult()
protected void setResult(java.lang.Object data)
public void inventoryPressed()
protected void openProductInventoryDialog(Product product)
protected boolean getInventory(Product product)
protected TelesalesProperties getInventoryBalanceParameters(Product product)
protected void okPressed()