Package org.eclipse.debug.ui.contexts
Interface IDebugContextManager
-
public interface IDebugContextManagerManages 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:
IDebugContextProvider,IDebugContextListener,IDebugContextService- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddDebugContextListener(IDebugContextListener listener)Registers the given listener for debug context notification in all windows.IDebugContextServicegetContextService(IWorkbenchWindow window)Returns the debug context service for the specified window.voidremoveDebugContextListener(IDebugContextListener listener)Unregisters the given listener for context notification in all windows.
-
-
-
Method Detail
-
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
-
-