mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-10 12:03:16 +02:00
Bug 143593: Module's children are not expandable.
This commit is contained in:
parent
993f8f9e25
commit
c5ecc9ca4c
3 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-05-24 Mikhail Khodjaiants
|
||||
Bug 143593: Module's children are not expandable.
|
||||
* CDebugElementAdapterFactory.java
|
||||
* CDebugUIPlugin.java
|
||||
|
||||
2006-05-19 Mikhail Khodjaiants
|
||||
Bug 142860: Breakpoint marker is not shown in the editor's ruler.
|
||||
* ToggleBreakpointAdapter.java
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.debug.internal.ui.elements.adapters;
|
||||
|
||||
import org.eclipse.cdt.core.model.ICElement;
|
||||
import org.eclipse.cdt.debug.core.model.ICModule;
|
||||
import org.eclipse.cdt.debug.core.model.IModuleRetrieval;
|
||||
import org.eclipse.cdt.debug.internal.ui.views.modules.ModuleContentAdapter;
|
||||
|
@ -43,6 +44,9 @@ public class CDebugElementAdapterFactory implements IAdapterFactory {
|
|||
if ( adaptableObject instanceof ICModule ) {
|
||||
return fgModuleContentAdapter;
|
||||
}
|
||||
if ( adaptableObject instanceof ICElement ) {
|
||||
return fgModuleContentAdapter;
|
||||
}
|
||||
}
|
||||
if ( adapterType.equals( IModelProxyFactoryAdapter.class ) ) {
|
||||
if ( adaptableObject instanceof IModuleRetrieval ) {
|
||||
|
|
|
@ -12,6 +12,7 @@ package org.eclipse.cdt.debug.ui;
|
|||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import org.eclipse.cdt.core.model.ICElement;
|
||||
import org.eclipse.cdt.debug.core.CDebugCorePlugin;
|
||||
import org.eclipse.cdt.debug.core.model.ICModule;
|
||||
import org.eclipse.cdt.debug.core.model.IModuleRetrieval;
|
||||
|
@ -272,6 +273,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin {
|
|||
CDebugElementAdapterFactory elementAdapterFactory = new CDebugElementAdapterFactory();
|
||||
manager.registerAdapters( elementAdapterFactory, IModuleRetrieval.class );
|
||||
manager.registerAdapters( elementAdapterFactory, ICModule.class );
|
||||
manager.registerAdapters( elementAdapterFactory, ICElement.class );
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue