public interface IManagedComposite
Managed composites are declared with the "com.ibm.commerce.telesales.widgets.managedComposites" extension point.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
static java.lang.String | EVENT_ID_DIRTY_CHANGED
This event is triggered when the dirty property changes.
|
static java.lang.String | EVENT_ID_HAS_REQUIRED_INPUT_CHANGED
This event is triggered when the hasRequiredInput property changes.
|
static java.lang.String | EVENT_ID_STATUS_MESSAGE_CHANGED
This event is triggered when the statusMessage property changes.
|
Modifier and Type | Method and Description |
---|---|
void | activate()
Activate the managed composite.
|
void | addWidgetManagerListener(IWidgetManagerListener widgetManagerListener)
Adds a listener for events triggered by the widget managers.
|
void | deactivate()
Deactivate the managed composite.
|
void | dispose()
Dispose of resources created by this managed composite.
|
ConfiguredComposite | getConfiguredComposite()
Returns the top level configured composite that is being managed.
|
boolean | getHasRequiredInput()
Returns true if all of the controls in this managed composite have their required input.
|
org.eclipse.core.runtime.IStatus | getStatusMessage()
Returns a status message for this managed composite.
|
ConfiguredWidget | getStatusWidget()
Returns a configured widget that has a status message associated with it.
|
WidgetManagerInputProperties | getWidgetManagerInputProperties()
Returns the widget manager input properties.
|
boolean | isDirty()
Returns true if any of the controls in this managed composite have been updated since the last save.
|
void | refresh()
Refresh the widgets managed by this managed composite.
|
void | refreshDirty()
Refresh the dirty flag.
|
void | removeWidgetManagerListener(IWidgetManagerListener widgetManagerListener)
Removes the given widget manager listener from this managed composite.
|
void | save()
Save the content of this managed composite.
|
boolean | setFocus(boolean chooseFirstAvailable)
Sets focus to a control that can accept focus.
|
static final java.lang.String COPYRIGHT
static final java.lang.String EVENT_ID_DIRTY_CHANGED
static final java.lang.String EVENT_ID_HAS_REQUIRED_INPUT_CHANGED
static final java.lang.String EVENT_ID_STATUS_MESSAGE_CHANGED
ConfiguredComposite getConfiguredComposite()
WidgetManagerInputProperties getWidgetManagerInputProperties()
void refresh()
void addWidgetManagerListener(IWidgetManagerListener widgetManagerListener)
void removeWidgetManagerListener(IWidgetManagerListener widgetManagerListener)
boolean isDirty()
boolean getHasRequiredInput()
void save()
void dispose()
boolean setFocus(boolean chooseFirstAvailable)
ConfiguredWidget getStatusWidget()
org.eclipse.core.runtime.IStatus getStatusMessage()
void refreshDirty()
void activate()
void deactivate()