public interface IDebugContextService
IDebugContextManager
Modifier and Type | Method and Description |
---|---|
void |
addDebugContextListener(IDebugContextListener listener)
Registers for the given listener for debug context change notification
in this service's window.
|
void |
addDebugContextListener(IDebugContextListener listener,
String partId)
Registers for the given debug context listener for context notification
from the specified part in this service's window.
|
void |
addDebugContextListener(IDebugContextListener listener,
String partId,
String partSecondaryId)
Registers for the given debug context listener for context notification
from the specified part in this service's window.
|
void |
addDebugContextProvider(IDebugContextProvider provider)
Registers the given debug context provider with this service.
|
void |
addPostDebugContextListener(IDebugContextListener listener)
Registers the given debug context listener for post context change notification
in this service's window.
|
void |
addPostDebugContextListener(IDebugContextListener listener,
String partId)
Registers the given debug context listener for post context change notification
in the specified part of this service's window.
|
void |
addPostDebugContextListener(IDebugContextListener listener,
String partId,
String partSecondaryId)
Registers the given debug context listener for post context change notification
in the specified part of this service's window.
|
ISelection |
getActiveContext()
Returns the active context in this service's window
or
null . |
ISelection |
getActiveContext(String partId)
Returns the active context in the specified part of this service's window
or
null if none. |
ISelection |
getActiveContext(String partId,
String partSecondaryId)
Returns the active context in the specified part of this service's window
or
null if none. |
void |
removeDebugContextListener(IDebugContextListener listener)
Unregisters for the given listener for debug context change notification
in this service's window.
|
void |
removeDebugContextListener(IDebugContextListener listener,
String partId)
Unregisters the given debug context listener for context change notification
from the specified part in this service's window.
|
void |
removeDebugContextListener(IDebugContextListener listener,
String partId,
String partSecondaryId)
Unregisters the given debug context listener for context change notification
from the specified part in this service's window.
|
void |
removeDebugContextProvider(IDebugContextProvider provider)
Unregisters the given debug context provider from this service.
|
void |
removePostDebugContextListener(IDebugContextListener listener)
Unregisters the given debug context listener for post context change notification
in this service's window.
|
void |
removePostDebugContextListener(IDebugContextListener listener,
String partId)
Unregisters the given debug context listener for post context change notification
in the specified part of this service's window.
|
void |
removePostDebugContextListener(IDebugContextListener listener,
String partId,
String partSecondaryId)
Unregisters the given debug context listener for post context change notification
in the specified part of this service's window.
|
void addDebugContextListener(IDebugContextListener listener)
listener
- debug context listenervoid removeDebugContextListener(IDebugContextListener listener)
listener
- debug context listenervoid addDebugContextListener(IDebugContextListener listener, String partId)
listener
- debug context listenerpartId
- part identifiervoid removeDebugContextListener(IDebugContextListener listener, String partId)
listener
- debug context listenerpartId
- part identifierISelection getActiveContext()
null
.null
ISelection getActiveContext(String partId)
null
if none.partId
- part identifiernull
void addPostDebugContextListener(IDebugContextListener listener)
listener
- debug context listenervoid removePostDebugContextListener(IDebugContextListener listener)
listener
- debug context listener.void addPostDebugContextListener(IDebugContextListener listener, String partId)
listener
- debug context listenerpartId
- part identifiervoid removePostDebugContextListener(IDebugContextListener listener, String partId)
listener
- debug context listenerpartId
- part identifiervoid addDebugContextProvider(IDebugContextProvider provider)
provider
- debug context providervoid removeDebugContextProvider(IDebugContextProvider provider)
provider
- debug context providerISelection getActiveContext(String partId, String partSecondaryId)
null
if none.partId
- part identifierpartSecondaryId
- part secondary identifiernull
void addDebugContextListener(IDebugContextListener listener, String partId, String partSecondaryId)
listener
- debug context listenerpartId
- part identifierpartSecondaryId
- part secondary identifiervoid removeDebugContextListener(IDebugContextListener listener, String partId, String partSecondaryId)
listener
- debug context listenerpartId
- part identifierpartSecondaryId
- part secondary identifiervoid addPostDebugContextListener(IDebugContextListener listener, String partId, String partSecondaryId)
listener
- debug context listenerpartSecondaryId
- part secondary identifierpartId
- part identifiervoid removePostDebugContextListener(IDebugContextListener listener, String partId, String partSecondaryId)
listener
- debug context listenerpartSecondaryId
- part secondary identifierpartId
- part identifier
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.