public abstract class AbstractWidgetManager extends WidgetManagerChangeNotifier implements IWidgetManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
AbstractWidgetManager() |
Modifier and Type | Method and Description |
---|---|
void | activate()
This method activates the widget manager.
|
java.lang.Boolean | canModify(java.lang.Object element, ConfiguredTableColumn configuredTableColumn, ConfiguredTable configuredTable)
This method checks whether the given property of the given element can be modified.
|
java.lang.Integer | compare(ConfiguredTableColumn tableColumn, java.lang.Object element1, java.lang.Object element2)
This method compares two row elements for the specified column.
|
void | deactivate()
This method deactivates the widget manager.
|
void | dispose()
This method disposes of any resources created by this widget manager.
|
void | disposeControl(ConfiguredControl configuredControl)
This method disposes of resources related to the specified control.
|
void | disposeTableColumn(ConfiguredTableColumn configuredTableColumn)
This method disposes the specified table column.
|
boolean | getActive()
This method returns the active state.
|
java.lang.Object | getColumnCellValue(java.lang.Object element, ConfiguredTableColumn tableColumn)
This method returns the value for the given table column cell of the given element.
|
ConfiguredComposite | getConfiguredComposite()
This method returns the configured control if it is a configured composite.
|
ConfiguredControl | getConfiguredControl(java.lang.String controlId)
This method returns the configured control with the specified ID.
|
WidgetManagerInputProperties | getInputProperties()
This method returns the input properties.
|
java.lang.String | getManagerType()
This method returns the widget manager type.
|
org.eclipse.swt.graphics.Image | getTableColumnImage(java.lang.Object element, ConfiguredTableColumn tableColumn)
This method returns the table cell image for the specified element and table column.
|
java.lang.String | getTableColumnText(java.lang.Object element, ConfiguredTableColumn tableColumn)
This method returns the table cell text for the specified element and table column.
|
java.lang.Object | getTableDefaultElement(ConfiguredTable table)
This method returns a default model object to populate the table.
|
org.eclipse.swt.graphics.Image | getTreeColumnImage(java.lang.Object element, com.ibm.commerce.telesales.widgets.trees.ConfiguredTreeColumn treeColumn)
This method returns the tree cell image for the specified element and tree column.
|
java.lang.String | getTreeColumnText(java.lang.Object element, com.ibm.commerce.telesales.widgets.trees.ConfiguredTreeColumn treeColumn)
This method returns the tree cell text for the specified element and tree column.
|
void | init(ConfiguredComposite configuredComposite, WidgetManagerInputProperties inputProperties)
Initialize the standard widget manager.
|
void | initControl(ConfiguredControl configuredControl)
This method initializes the configured control.
|
void | initTableColumn(ConfiguredTableColumn configuredTableColumn)
This method initializes the specified table column.
|
boolean | isFocusCandidate(ConfiguredControl configuredControl)
This method returns true if the specified control can receive focus.
|
void | refresh()
This method triggers refresh event.
|
void | refreshControl(ConfiguredControl configuredControl)
This method refreshes the specified configured control.
|
void | refreshControlDirty(ConfiguredControl configuredControl)
This method resets the dirty state for the specified control.
|
void | refreshTableColumn(ConfiguredTableColumn configuredTableColumn)
This method refreshes the specified configured table column.
|
void | refreshTreeColumn(com.ibm.commerce.telesales.widgets.trees.ConfiguredTreeColumn configuredTreeColumn)
This method refreshes the specified configured tree column.
|
void | saveColumnText(java.lang.Object element, ConfiguredTableColumn tableColumn, java.lang.Object value)
This method saves the contents of the column.
|
void | saveControl(ConfiguredControl configuredControl)
This method saves the contents of the specified configured control.
|
protected void | setFocusInvalid()
This method triggers the setFocusInvalid event.
|
void | setManagerType(java.lang.String managerType)
This method sets the manager type.
|
public static final java.lang.String COPYRIGHT
public void init(ConfiguredComposite configuredComposite, WidgetManagerInputProperties inputProperties)
public void initControl(ConfiguredControl configuredControl)
public void dispose()
public void disposeControl(ConfiguredControl configuredControl)
public void activate()
public void deactivate()
public boolean getActive()
public void setManagerType(java.lang.String managerType)
public java.lang.String getManagerType()
public WidgetManagerInputProperties getInputProperties()
public ConfiguredComposite getConfiguredComposite()
public void refreshControl(ConfiguredControl configuredControl)
public void saveControl(ConfiguredControl configuredControl)
public void refreshControlDirty(ConfiguredControl configuredControl)
public ConfiguredControl getConfiguredControl(java.lang.String controlId)
public boolean isFocusCandidate(ConfiguredControl configuredControl)
public org.eclipse.swt.graphics.Image getTableColumnImage(java.lang.Object element, ConfiguredTableColumn tableColumn)
public java.lang.String getTreeColumnText(java.lang.Object element, com.ibm.commerce.telesales.widgets.trees.ConfiguredTreeColumn treeColumn)
public org.eclipse.swt.graphics.Image getTreeColumnImage(java.lang.Object element, com.ibm.commerce.telesales.widgets.trees.ConfiguredTreeColumn treeColumn)
public java.lang.String getTableColumnText(java.lang.Object element, ConfiguredTableColumn tableColumn)
public java.lang.Integer compare(ConfiguredTableColumn tableColumn, java.lang.Object element1, java.lang.Object element2)
public void initTableColumn(ConfiguredTableColumn configuredTableColumn)
public void disposeTableColumn(ConfiguredTableColumn configuredTableColumn)
public java.lang.Object getTableDefaultElement(ConfiguredTable table)
public java.lang.Object getColumnCellValue(java.lang.Object element, ConfiguredTableColumn tableColumn)
public java.lang.Boolean canModify(java.lang.Object element, ConfiguredTableColumn configuredTableColumn, ConfiguredTable configuredTable)
public void saveColumnText(java.lang.Object element, ConfiguredTableColumn tableColumn, java.lang.Object value)
public void refresh()
protected void setFocusInvalid()
public void refreshTableColumn(ConfiguredTableColumn configuredTableColumn)
public void refreshTreeColumn(com.ibm.commerce.telesales.widgets.trees.ConfiguredTreeColumn configuredTreeColumn)