Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

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:
IDebugContextManager
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.

Method Summary
 void addDebugContextListener ( IDebugContextListener listener)
          Registers for the given listener for debug context change notification in this service's window.
 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.
 void addDebugContextProvider ( IDebugContextProvider provider)
          Registers the given debug context provider with this service.
 void addPostDebugContextListener ( IDebugContextListener listener)
          Registers the given debug context listener for post context change notification in this service's window.
 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.
  ISelection getActiveContext ()
          Returns the active context in this service's window or null.
  ISelection getActiveContext ( String partId)
          Returns the active context in the specified part of this service's window or null if none.
 void removeDebugContextListener ( IDebugContextListener listener)
          Unregisters for the given listener for debug context change notification in this service's window.
 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.
 void removeDebugContextProvider ( IDebugContextProvider provider)
          Unregisters the given debug context provider from this service.
 void removePostDebugContextListener ( IDebugContextListener listener)
          Unregisters the given debug context listener for post context change notification in this service's window.
 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.
 

Method Detail

addDebugContextListener

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

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

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

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


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

Returns:
active context or null

getActiveContext


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

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

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

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

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

void addDebugContextProvider(
IDebugContextProvider provider)
Registers the given debug context provider with this service.

Parameters:
provider - debug context provider

removeDebugContextProvider

void removeDebugContextProvider(
IDebugContextProvider provider)
Unregisters the given debug context provider from this service.

Parameters:
provider - debug context provider

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire