Package org.eclipse.debug.ui.contexts
Interface IDebugContextService
public interface IDebugContextService
Debug context service for a window. Clients may register for debug context
 notification with this service. A context service is obtained from the
 debug context manager.
- Since:
- 3.3
- See Also:
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDebugContextListener(IDebugContextListener listener) Registers for the given listener for debug context change notification in this service's window.voidaddDebugContextListener(IDebugContextListener listener, String partId) Registers for the given debug context listener for context notification from the specified part in this service's window.voidaddDebugContextListener(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.voidaddDebugContextProvider(IDebugContextProvider provider) Registers the given debug context provider with this service.voidRegisters the given debug context listener for post context change notification in this service's window.voidaddPostDebugContextListener(IDebugContextListener listener, String partId) Registers the given debug context listener for post context change notification in the specified part of this service's window.voidaddPostDebugContextListener(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.Returns the active context in this service's window ornull.getActiveContext(String partId) Returns the active context in the specified part of this service's window ornullif none.getActiveContext(String partId, String partSecondaryId) Returns the active context in the specified part of this service's window ornullif none.voidUnregisters for the given listener for debug context change notification in this service's window.voidremoveDebugContextListener(IDebugContextListener listener, String partId) Unregisters the given debug context listener for context change notification from the specified part in this service's window.voidremoveDebugContextListener(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.voidUnregisters the given debug context provider from this service.voidUnregisters the given debug context listener for post context change notification in this service's window.voidremovePostDebugContextListener(IDebugContextListener listener, String partId) Unregisters the given debug context listener for post context change notification in the specified part of this service's window.voidremovePostDebugContextListener(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.
- 
Method Details- 
addDebugContextListenerRegisters for the given listener for debug context change notification in this service's window.- Parameters:
- listener- debug context listener
 
- 
removeDebugContextListenerUnregisters for the given listener for debug context change notification in this service's window.- Parameters:
- listener- debug context listener
 
- 
addDebugContextListenerRegisters for the given debug context listener for context notification from the specified part in this service's window.- Parameters:
- listener- debug context listener
- partId- part identifier
 
- 
removeDebugContextListenerUnregisters the given debug context listener for context change notification from the specified part in this service's window.- Parameters:
- listener- debug context listener
- partId- part identifier
 
- 
getActiveContextISelection getActiveContext()Returns the active context in this service's window ornull.- Returns:
- active context or null
 
- 
getActiveContextReturns the active context in the specified part of this service's window ornullif none.- Parameters:
- partId- part identifier
- Returns:
- active context or null
 
- 
addPostDebugContextListenerRegisters the given debug context listener for post context change notification in this service's window. Post listeners are notified of context changes after all non-post listeners are notified.- Parameters:
- listener- debug context listener
 
- 
removePostDebugContextListenerUnregisters the given debug context listener for post context change notification in this service's window.- Parameters:
- listener- debug context listener.
 
- 
addPostDebugContextListenerRegisters the given debug context listener for post context change notification in the specified part of this service's window. Post listeners are notified of context changes after all non-post listeners are notified.- Parameters:
- listener- debug context listener
- partId- part identifier
 
- 
removePostDebugContextListenerUnregisters the given debug context listener for post context change notification in the specified part of this service's window.- Parameters:
- listener- debug context listener
- partId- part identifier
 
- 
addDebugContextProviderRegisters the given debug context provider with this service.- Parameters:
- provider- debug context provider
 
- 
removeDebugContextProviderUnregisters the given debug context provider from this service.- Parameters:
- provider- debug context provider
 
- 
getActiveContextReturns the active context in the specified part of this service's window ornullif none.- Parameters:
- partId- part identifier
- partSecondaryId- part secondary identifier
- Returns:
- active context or null
- Since:
- 3.7
 
- 
addDebugContextListenerRegisters for the given debug context listener for context notification from the specified part in this service's window.- Parameters:
- listener- debug context listener
- partId- part identifier
- partSecondaryId- part secondary identifier
- Since:
- 3.7
 
- 
removeDebugContextListenervoid 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.- Parameters:
- listener- debug context listener
- partId- part identifier
- partSecondaryId- part secondary identifier
- Since:
- 3.7
 
- 
addPostDebugContextListenervoid 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. Post listeners are notified of context changes after all non-post listeners are notified.- Parameters:
- listener- debug context listener
- partId- part identifier
- partSecondaryId- part secondary identifier
- Since:
- 3.7
 
- 
removePostDebugContextListenervoid 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.- Parameters:
- listener- debug context listener
- partId- part identifier
- partSecondaryId- part secondary identifier
- Since:
- 3.7
 
 
-