| java.lang.Object org.eclipse.ui.contexts.ContextEvent
ContextEvent | final public class ContextEvent (Code) | | An instance of this class describes changes to an instance of
IContext .
This class is not intended to be extended by clients.
since: 3.0 See Also: IContextListener.contextChanged(ContextEvent) See Also: org.eclipse.core.commands.contexts.ContextEvent |
Constructor Summary | |
public | ContextEvent(IContext context, boolean definedChanged, boolean enabledChanged, boolean nameChanged, boolean parentIdChanged) Creates a new instance of this class. |
Method Summary | |
public IContext | getContext() Returns the instance of the interface that changed.
the instance of the interface that changed. | public boolean | hasDefinedChanged() Returns whether or not the defined property changed. | public boolean | hasEnabledChanged() Returns whether or not the enabled property changed. | public boolean | hasNameChanged() Returns whether or not the name property changed. | public boolean | hasParentIdChanged() Returns whether or not the parentId property changed. |
ContextEvent | public ContextEvent(IContext context, boolean definedChanged, boolean enabledChanged, boolean nameChanged, boolean parentIdChanged)(Code) | | Creates a new instance of this class.
Parameters: context - the instance of the interface that changed. Parameters: definedChanged - true, iff the defined property changed. Parameters: enabledChanged - true, iff the enabled property changed. Parameters: nameChanged - true, iff the name property changed. Parameters: parentIdChanged - true, iff the parentId property changed. |
getContext | public IContext getContext()(Code) | | Returns the instance of the interface that changed.
the instance of the interface that changed. Guaranteed not to benull . |
hasDefinedChanged | public boolean hasDefinedChanged()(Code) | | Returns whether or not the defined property changed.
true, iff the defined property changed. |
hasEnabledChanged | public boolean hasEnabledChanged()(Code) | | Returns whether or not the enabled property changed.
true, iff the enabled property changed. |
hasNameChanged | public boolean hasNameChanged()(Code) | | Returns whether or not the name property changed.
true, iff the name property changed. |
hasParentIdChanged | public boolean hasParentIdChanged()(Code) | | Returns whether or not the parentId property changed.
true, iff the parentId property changed. |
|
|