public class DebugContextEvent extends EventObject
Clients may instantiate this class.
IDebugContextListener
,
IDebugContextProvider
,
Serialized FormModifier 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, toString
public 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()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.