mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
[209045] Added IDsfDebugUIConstants and a reference to it.
This commit is contained in:
parent
d5f269f61a
commit
ad73d6a161
2 changed files with 19 additions and 1 deletions
|
@ -0,0 +1,16 @@
|
|||
package org.eclipse.dd.dsf.debug.ui;
|
||||
|
||||
public interface IDsfDebugUIConstants {
|
||||
|
||||
/**
|
||||
* Debug UI plug-in identifier (value <code>"org.eclipse.debug.ui"</code>).
|
||||
*/
|
||||
public static final String PLUGIN_ID = "org.eclipse.dd.dsf.debug.ui"; //$NON-NLS-1$;
|
||||
|
||||
/** Loaded shared library symbols image identifier. */
|
||||
public static final String IMG_OBJS_SHARED_LIBRARY_SYMBOLS_LOADED= "icons/library_syms_obj.gif"; //$NON-NLS-1$
|
||||
|
||||
/** Unloaded Shared library symbols image identifier. */
|
||||
public static final String IMG_OBJS_SHARED_LIBRARY_SYMBOLS_UNLOADED= "icons/library_obj.gif"; //$NON-NLS-1$
|
||||
|
||||
}
|
|
@ -20,6 +20,8 @@ import org.eclipse.dd.dsf.debug.service.IModules.IModuleDMContext;
|
|||
import org.eclipse.dd.dsf.debug.service.IModules.IModuleDMData;
|
||||
import org.eclipse.dd.dsf.debug.service.IModules.ISymbolDMContext;
|
||||
import org.eclipse.dd.dsf.debug.service.IRegisters.IGroupChangedDMEvent;
|
||||
import org.eclipse.dd.dsf.debug.ui.DsfDebugUIPlugin;
|
||||
import org.eclipse.dd.dsf.debug.ui.IDsfDebugUIConstants;
|
||||
import org.eclipse.dd.dsf.service.DsfSession;
|
||||
import org.eclipse.dd.dsf.service.IDsfService;
|
||||
import org.eclipse.dd.dsf.ui.viewmodel.AbstractVMProvider;
|
||||
|
@ -68,7 +70,7 @@ public class ModulesLayoutNode extends AbstractDMVMLayoutNode
|
|||
final IModuleDMContext dmc = findDmcInPath(update.getElementPath(), IModuleDMContext.class);
|
||||
if (!checkDmc(dmc, update) || !checkService(IModules.class, null, update)) continue;
|
||||
// Use different image for loaded and unloaded symbols when event to report loading of symbols is implemented.
|
||||
//update.setImageDescriptor(DsfDebugUIPlugin.getImageDescriptor(IDsfDebugUIConstants.IMG_OBJS_SHARED_LIBRARY_SYMBOLS_LOADED), 0);
|
||||
update.setImageDescriptor(DsfDebugUIPlugin.getImageDescriptor(IDsfDebugUIConstants.IMG_OBJS_SHARED_LIBRARY_SYMBOLS_LOADED), 0);
|
||||
|
||||
getServicesTracker().getService(IModules.class, null).getModuleData(
|
||||
dmc,
|
||||
|
|
Loading…
Add table
Reference in a new issue