org.eclipse.cdt.debug.internal.core.model
Class CModuleManager

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.cdt.debug.internal.core.model.CModuleManager
All Implemented Interfaces:
IModuleRetrieval, org.eclipse.core.runtime.IAdaptable

public class CModuleManager
extends org.eclipse.core.runtime.PlatformObject
implements IModuleRetrieval

Manages the modules loaded on this debug target.


Constructor Summary
CModuleManager(CDebugTarget target)
          Constructor for CModuleManager.
 
Method Summary
 void dispose()
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 ICModule[] getModules()
          Returns the array of the currently loaded modules.
 boolean hasModules()
          Returns whether there are modules currently loaded in this debug target.
 void loadSymbols(ICModule[] modules)
           
 void loadSymbolsForAllModules()
          Load symbols for all currently loaded modules.
 void sharedLibraryLoaded(org.eclipse.cdt.debug.core.cdi.model.ICDISharedLibrary cdiLibrary)
           
 void sharedLibraryUnloaded(org.eclipse.cdt.debug.core.cdi.model.ICDISharedLibrary cdiLibrary)
           
 void symbolsLoaded(org.eclipse.cdt.debug.core.cdi.model.ICDIObject cdiObject)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CModuleManager

public CModuleManager(CDebugTarget target)
Constructor for CModuleManager.

Method Detail

hasModules

public boolean hasModules()
                   throws org.eclipse.debug.core.DebugException
Description copied from interface: IModuleRetrieval
Returns whether there are modules currently loaded in this debug target.

Specified by:
hasModules in interface IModuleRetrieval
Returns:
whether there are modules currently loaded in this debug target
Throws:
org.eclipse.debug.core.DebugException

getModules

public ICModule[] getModules()
                      throws org.eclipse.debug.core.DebugException
Description copied from interface: IModuleRetrieval
Returns the array of the currently loaded modules.

Specified by:
getModules in interface IModuleRetrieval
Returns:
the array of the currently loaded modules
Throws:
org.eclipse.debug.core.DebugException - if this method fails. Reasons include:

loadSymbolsForAllModules

public void loadSymbolsForAllModules()
                              throws org.eclipse.debug.core.DebugException
Description copied from interface: IModuleRetrieval
Load symbols for all currently loaded modules.

Specified by:
loadSymbolsForAllModules in interface IModuleRetrieval
Throws:
org.eclipse.debug.core.DebugException - if this method fails. Reasons include:

loadSymbols

public void loadSymbols(ICModule[] modules)
                 throws org.eclipse.debug.core.DebugException
Throws:
org.eclipse.debug.core.DebugException

dispose

public void dispose()

sharedLibraryLoaded

public void sharedLibraryLoaded(org.eclipse.cdt.debug.core.cdi.model.ICDISharedLibrary cdiLibrary)

sharedLibraryUnloaded

public void sharedLibraryUnloaded(org.eclipse.cdt.debug.core.cdi.model.ICDISharedLibrary cdiLibrary)

symbolsLoaded

public void symbolsLoaded(org.eclipse.cdt.debug.core.cdi.model.ICDIObject cdiObject)

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
Overrides:
getAdapter in class org.eclipse.core.runtime.PlatformObject