Interface IDebugContextManager


public interface IDebugContextManager
Manages debug context services. There is a debug context service for each workbench window. Clients interested in context change notification for all windows can register with the manager. Clients interested in context change notification for a specific window can register with the context service specific to that window.

Clients register debug context providers with a context service - i.e. for a specific window.

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 Details

    • addDebugContextListener

      void addDebugContextListener(IDebugContextListener listener)
      Registers the given listener for debug context notification in all windows.
      Parameters:
      listener - debug context listener
    • removeDebugContextListener

      void removeDebugContextListener(IDebugContextListener listener)
      Unregisters the given listener for context notification in all windows.
      Parameters:
      listener - debug context listener
    • getContextService

      IDebugContextService getContextService(IWorkbenchWindow window)
      Returns the debug context service for the specified window.
      Parameters:
      window - workbench window
      Returns:
      debug context service