Package org.eclipse.debug.ui.contexts
Class AbstractDebugContextProvider
java.lang.Object
org.eclipse.debug.ui.contexts.AbstractDebugContextProvider
- All Implemented Interfaces:
- IDebugContextProvider
Abstract implementation of a debug context provider.
 
Clients implementing context providers should subclass this class.
- Since:
- 3.3
- 
Constructor SummaryConstructorsConstructorDescriptionConstructs a context provider for the specified part, possiblynull.
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDebugContextListener(IDebugContextListener listener) Registers the given listener for debug context events.protected voidfire(DebugContextEvent event) Fires the given context event to all registered listeners.getPart()Returns the part associated with this context provider ornullif none.voidUnregisters the given listener for debug context events.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.debug.ui.contexts.IDebugContextProvidergetActiveContext
- 
Constructor Details- 
AbstractDebugContextProviderConstructs a context provider for the specified part, possiblynull.- Parameters:
- part- workbench part or- null
 
 
- 
- 
Method Details- 
addDebugContextListenerDescription copied from interface:IDebugContextProviderRegisters the given listener for debug context events.- Specified by:
- addDebugContextListenerin interface- IDebugContextProvider
- Parameters:
- listener- event listener
 
- 
getPartDescription copied from interface:IDebugContextProviderReturns the part associated with this context provider ornullif none.- Specified by:
- getPartin interface- IDebugContextProvider
- Returns:
- part associated with this context provider or null
 
- 
removeDebugContextListenerDescription copied from interface:IDebugContextProviderUnregisters the given listener for debug context events.- Specified by:
- removeDebugContextListenerin interface- IDebugContextProvider
- Parameters:
- listener- event listener
 
- 
fireFires the given context event to all registered listeners.- Parameters:
- event- debug context event
 
 
-