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

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
Class AbstractDebugContextProvider

java.lang.Object
  extended by 
org.eclipse.debug.ui.contexts.AbstractDebugContextProvider
All Implemented Interfaces:
IDebugContextProvider

public abstract class AbstractDebugContextProvider
extends Object
implements IDebugContextProvider

Abstract implementation of a debug context provider.

Clients implementing context providers should subclass this class.

Since:
3.3

Constructor Summary
AbstractDebugContextProvider ( IWorkbenchPart part)
          Constructs a context provider for the specified part, possibly null.
 
Method Summary
 void addDebugContextListener ( IDebugContextListener listener)
          Registers the given listener for debug context events.
protected  void fire ( DebugContextEvent event)
          Fires the given context event to all registered listeners.
  IWorkbenchPart getPart ()
          Returns the part associated with this context provider or null if none.
 void removeDebugContextListener ( IDebugContextListener listener)
          Unregisters the given listener for debug context events.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.debug.ui.contexts. IDebugContextProvider
getActiveContext
 

Constructor Detail

AbstractDebugContextProvider

public AbstractDebugContextProvider(
IWorkbenchPart part)
Constructs a context provider for the specified part, possibly null.

Parameters:
part - workbench part or null
Method Detail

addDebugContextListener

public void addDebugContextListener(
IDebugContextListener listener)
Description copied from interface: IDebugContextProvider
Registers the given listener for debug context events.

Specified by:
addDebugContextListener in interface IDebugContextProvider
Parameters:
listener - event listener

getPart

public 
IWorkbenchPart getPart()
Description copied from interface: IDebugContextProvider
Returns the part associated with this context provider or null if none.

Specified by:
getPart in interface IDebugContextProvider
Returns:
part associated with this context provider or null

removeDebugContextListener

public void removeDebugContextListener(
IDebugContextListener listener)
Description copied from interface: IDebugContextProvider
Unregisters the given listener for debug context events.

Specified by:
removeDebugContextListener in interface IDebugContextProvider
Parameters:
listener - event listener

fire

protected void fire(
DebugContextEvent event)
Fires the given context event to all registered listeners.

Parameters:
event - debug context event

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