Package org.eclipse.debug.ui.contexts
Class DebugContextEvent
java.lang.Object
java.util.EventObject
org.eclipse.debug.ui.contexts.DebugContextEvent
- All Implemented Interfaces:
- Serializable
A debug context event. Debug context events are generated by debug context
 providers. A debug context is represented by a selection and flags
 (bit mask) describing how the context has changed.
 
Clients may instantiate this class.
- Since:
- 3.3
- See Also:
- Restriction:
- This class is not intended to be subclassed by clients.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intChange constant (bit mask) indicating a context has been activated.static final intChange constant (bit mask) indicating the state of a context has changed.Fields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionDebugContextEvent(IDebugContextProvider source, ISelection context, int flags) Constructs a new debug context event.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the debug context associated with this event.Returns the context provider that initiated this event.intgetFlags()Returns flags which describe in more detail how a context has changed.Methods inherited from class java.util.EventObjectgetSource, toString
- 
Field Details- 
ACTIVATEDpublic static final int ACTIVATEDChange constant (bit mask) indicating a context has been activated.- See Also:
 
- 
STATEpublic static final int STATEChange constant (bit mask) indicating the state of a context has changed. State changes are only broadcast for previously activated contexts.- See Also:
 
 
- 
- 
Constructor Details- 
DebugContextEventConstructs a new debug context event.- Parameters:
- source- source of the event - a debug context provider
- context- the relevant context
- flags- bit mask indicating how the context has changed - see change constants defined in this class
 
 
- 
- 
Method Details- 
getContextReturns the debug context associated with this event.- Returns:
- debug context, possible an empty selection
 
- 
getFlagspublic int getFlags()Returns flags which describe in more detail how a context has changed. See change constants defined in this class.- Returns:
- event flags
 
- 
getDebugContextProviderReturns the context provider that initiated this event.- Returns:
- context provider
 
 
-