Eclipse Platform
Release 3.3

org.eclipse.debug.ui.contexts
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.

Not intended to be implemented by clients.

Since:
3.3
See Also:
IDebugContextProvider, IDebugContextListener, IDebugContextService

Method Summary
 void addDebugContextListener(IDebugContextListener listener)
          Registers the given listener for debug context notification in all windows.
 IDebugContextService getContextService(IWorkbenchWindow window)
          Returns the debug context service for the specified window.
 void removeDebugContextListener(IDebugContextListener listener)
          Unregisters the given listener for context notification in all windows.
 

Method Detail

addDebugContextListener

public void addDebugContextListener(IDebugContextListener listener)
Registers the given listener for debug context notification in all windows.

Parameters:
listener - debug context listener

removeDebugContextListener

public void removeDebugContextListener(IDebugContextListener listener)
Unregisters the given listener for context notification in all windows.

Parameters:
listener - debug context listener

getContextService

public IDebugContextService getContextService(IWorkbenchWindow window)
Returns the debug context service for the specified window.

Parameters:
window - workbench window
Returns:
debug context service

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.