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 Details Link icon

    • addDebugContextListener Link icon

      void addDebugContextListener(IDebugContextListener listener)
      Registers for the given listener for debug context change notification in this service's window.
      Parameters:
      listener - debug context listener
    • removeDebugContextListener Link icon

      void removeDebugContextListener(IDebugContextListener listener)
      Unregisters for the given listener for debug context change notification in this service's window.
      Parameters:
      listener - debug context listener
    • addDebugContextListener Link icon

      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.
      Parameters:
      listener - debug context listener
      partId - part identifier
    • removeDebugContextListener Link icon

      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.
      Parameters:
      listener - debug context listener
      partId - part identifier
    • getActiveContext Link icon

      ISelection getActiveContext()
      Returns the active context in this service's window or null.
      Returns:
      active context or null
    • getActiveContext Link icon

      ISelection getActiveContext(String partId)
      Returns the active context in the specified part of this service's window or null if none.
      Parameters:
      partId - part identifier
      Returns:
      active context or null
    • addPostDebugContextListener Link icon

      void addPostDebugContextListener(IDebugContextListener listener)
      Registers 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
    • removePostDebugContextListener Link icon

      void removePostDebugContextListener(IDebugContextListener listener)
      Unregisters the given debug context listener for post context change notification in this service's window.
      Parameters:
      listener - debug context listener.
    • addPostDebugContextListener Link icon

      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. Post listeners are notified of context changes after all non-post listeners are notified.
      Parameters:
      listener - debug context listener
      partId - part identifier
    • removePostDebugContextListener Link icon

      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.
      Parameters:
      listener - debug context listener
      partId - part identifier
    • addDebugContextProvider Link icon

      void addDebugContextProvider(IDebugContextProvider provider)
      Registers the given debug context provider with this service.
      Parameters:
      provider - debug context provider
    • removeDebugContextProvider Link icon

      void removeDebugContextProvider(IDebugContextProvider provider)
      Unregisters the given debug context provider from this service.
      Parameters:
      provider - debug context provider
    • getActiveContext Link icon

      ISelection getActiveContext(String partId, String partSecondaryId)
      Returns the active context in the specified part of this service's window or null if none.
      Parameters:
      partId - part identifier
      partSecondaryId - part secondary identifier
      Returns:
      active context or null
      Since:
      3.7
    • addDebugContextListener Link icon

      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.
      Parameters:
      listener - debug context listener
      partId - part identifier
      partSecondaryId - part secondary identifier
      Since:
      3.7
    • removeDebugContextListener Link icon

      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.
      Parameters:
      listener - debug context listener
      partId - part identifier
      partSecondaryId - part secondary identifier
      Since:
      3.7
    • addPostDebugContextListener Link icon

      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. 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
    • removePostDebugContextListener Link icon

      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.
      Parameters:
      listener - debug context listener
      partId - part identifier
      partSecondaryId - part secondary identifier
      Since:
      3.7