|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.debug.ui.contexts.AbstractDebugContextProvider
Abstract implementation of a debug context provider.
Clients implementing context providers should subclass this class.
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 |
public AbstractDebugContextProvider(IWorkbenchPart part)
null
.
part
- workbench part or null
Method Detail |
public void addDebugContextListener(IDebugContextListener listener)
IDebugContextProvider
addDebugContextListener
in interface IDebugContextProvider
listener
- event listenerpublic IWorkbenchPart getPart()
IDebugContextProvider
null
if none.
getPart
in interface IDebugContextProvider
null
public void removeDebugContextListener(IDebugContextListener listener)
IDebugContextProvider
removeDebugContextListener
in interface IDebugContextProvider
listener
- event listenerprotected void fire(DebugContextEvent event)
event
- debug context event
|
Eclipse Platform Release 3.3 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.