|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.debug.ui.contexts.AbstractDebugContextProvider
public abstract class 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 IDebugContextProviderlistener - event listenerpublic IWorkbenchPart getPart()
IDebugContextProvidernull
if none.
getPart in interface IDebugContextProvidernullpublic void removeDebugContextListener(IDebugContextListener listener)
IDebugContextProvider
removeDebugContextListener in interface IDebugContextProviderlistener - event listenerprotected void fire(DebugContextEvent event)
event - debug context event
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.