public class ManagedComposite extends WidgetManagerChangeNotifier implements IManagedComposite, IWidgetManagerListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ManagedComposite(ConfiguredComposite configuredComposite, IWidgetManager[] widgetManagers, WidgetManagerInputProperties inputProperties)
Construct a managed composite.
|
Modifier and Type | Method and Description |
---|---|
void | activate()
This method activates the widget managers.
|
void | deactivate()
This method deactivates the widget managers.
|
void | dispose()
This method releases resources held by this widget manager.
|
ConfiguredComposite | getConfiguredComposite()
This method returns the configured composite.
|
boolean | getHasRequiredInput()
Returns true if all of the controls in this managed composite have their required input.
|
org.eclipse.core.runtime.IStatus | getStatusMessage()
This method returns the status message for this managed composite.
|
ConfiguredWidget | getStatusWidget()
This method returns the configured widget that is associated with the status message.
|
WidgetManagerInputProperties | getWidgetManagerInputProperties()
This method returns the widget manager input properties.
|
IWidgetManager[] | getWidgetManagers()
This method returns the widget managers.
|
boolean | isDirty()
This method returns true if any of the managed controls have changed since the last save.
|
void | refresh()
This method refreshes the managed composite.
|
void | refreshDirty()
This method refreshes the dirty flag.
|
void | save()
This method saves the contents of the managed composite.
|
boolean | setFocus(boolean chooseFirstAvailable)
This method sets focus to a control that can accept focus.
|
void | widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
This method handles widget manager events received from widget managers.
|
public static final java.lang.String COPYRIGHT
public ManagedComposite(ConfiguredComposite configuredComposite, IWidgetManager[] widgetManagers, WidgetManagerInputProperties inputProperties)
public ConfiguredComposite getConfiguredComposite()
public IWidgetManager[] getWidgetManagers()
public WidgetManagerInputProperties getWidgetManagerInputProperties()
public boolean isDirty()
public boolean getHasRequiredInput()
public void refresh()
public void save()
public void refreshDirty()
public void widgetManagerChanged(WidgetManagerEvent widgetManagerEvent)
public void dispose()
public boolean setFocus(boolean chooseFirstAvailable)
public ConfiguredWidget getStatusWidget()
public org.eclipse.core.runtime.IStatus getStatusMessage()
public void activate()
public void deactivate()