public class SelectOrderDialogWidgetManager extends DialogWidgetManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String | BUTTON_TYPE_CANCEL
Cancel button's buttonType property value.
|
static java.lang.String | BUTTON_TYPE_OK
OK button's buttonType property value.
|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | CURRENT_TARGET_ITEM
Current target item property.
|
static java.lang.String | EVENT_ITEM_SELECTION_CHANGED
Table item selection event property.
|
static java.lang.String | MANAGER_TYPE_SELECT_ORDER
Select order manager type.
|
static java.lang.String | PROP_BUTTON_TYPE
Button type property name.
|
static java.lang.String | PROP_SELECT_ORDER_DIALOG
Select order dialog property name.
|
static java.lang.String | PROP_SHELL
Shell property.
|
static java.lang.String | PROP_TABLE_CONTENT
Target table's content property.
|
static java.lang.String | PROP_TABLE_TARGETS
Target table's tableType property value.
|
static java.lang.String | PROP_TABLE_TYPE
Table type property name.
|
Constructor and Description |
---|
SelectOrderDialogWidgetManager()
Constructs a new select order dialog widget manager.
|
Modifier and Type | Method and Description |
---|---|
void | dispose()
Dispose the resources created by this widget manager.
|
protected SalesContainer[] | getApplicableSales()
This method returns the applicable Order and Quote objects from the current opened sales containers.
|
org.eclipse.swt.graphics.Image | getTableColumnImage(java.lang.Object element, ConfiguredTableColumn tableColumn)
Returns the table cell image for the specified row element and column.
|
java.lang.String | getTableColumnText(java.lang.Object element, ConfiguredTableColumn tableColumn)
Returns the table cell text for the specified row element and column.
|
void | initControl(ConfiguredControl configuredControl)
Initialize the specified control whose managerType property matches the manager type of this class.
|
protected boolean | isApplicableOrder(Order order)
This method returns true if the Order in question is in NEW or EDIT state.
|
protected boolean | isApplicableQuote(Quote quote)
This method returns true if the Quote in question is in NEW state.
|
void | refreshControl(ConfiguredControl configuredControl)
Refresh the specified control
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String MANAGER_TYPE_SELECT_ORDER
public static final java.lang.String CURRENT_TARGET_ITEM
public static final java.lang.String EVENT_ITEM_SELECTION_CHANGED
public static final java.lang.String PROP_BUTTON_TYPE
public static final java.lang.String PROP_TABLE_TYPE
public static final java.lang.String PROP_SELECT_ORDER_DIALOG
public static final java.lang.String PROP_SHELL
public static final java.lang.String PROP_TABLE_TARGETS
public static final java.lang.String PROP_TABLE_CONTENT
public static final java.lang.String BUTTON_TYPE_OK
public static final java.lang.String BUTTON_TYPE_CANCEL
public SelectOrderDialogWidgetManager()
public void initControl(ConfiguredControl configuredControl)
public java.lang.String getTableColumnText(java.lang.Object element, ConfiguredTableColumn tableColumn)
public org.eclipse.swt.graphics.Image getTableColumnImage(java.lang.Object element, ConfiguredTableColumn tableColumn)
public void dispose()
public void refreshControl(ConfiguredControl configuredControl)
protected SalesContainer[] getApplicableSales()
protected boolean isApplicableOrder(Order order)
protected boolean isApplicableQuote(Quote quote)