org.eclipse.debug.ui.contexts
public class DebugContextEvent extends EventObject
Clients may instantiate this class.
IDebugContextListener,
IDebugContextProvider,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVATED
Change constant (bit mask) indicating a context has been activated.
|
static int |
STATE
Change constant (bit mask) indicating the state of a context has changed.
|
source| Constructor and Description |
|---|
DebugContextEvent(IDebugContextProvider source,
ISelection context,
int flags)
Constructs a new debug context event.
|
| Modifier and Type | Method and Description |
|---|---|
ISelection |
getContext()
Returns the debug context associated with this event.
|
IDebugContextProvider |
getDebugContextProvider()
Returns the context provider that initiated this event.
|
int |
getFlags()
Returns flags which describe in more detail how a context has changed.
|
getSource, toStringpublic static final int ACTIVATED
public static final int STATE
public DebugContextEvent(IDebugContextProvider source, ISelection context, int flags)
source - source of the event - a debug context providercontext - the relevant contextflags - bit mask indicating how the context has changed - see change constants
defined in this classpublic ISelection getContext()
public int getFlags()
public IDebugContextProvider getDebugContextProvider()
Guidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.