org.eclipse.debug.ui.contexts
Class AbstractDebugContextProvider
java.lang.Object
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
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
AbstractDebugContextProvider
public AbstractDebugContextProvider(
IWorkbenchPart part)
- Constructs a context provider for the specified part, possibly
null
.
-
Parameters:
-
part
- workbench part or null
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
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.