1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 82264: Enhance the Shared Libraries view. The "Load Symbols For All" action is added to the Modules view.

This commit is contained in:
Mikhail Khodjaiants 2005-02-15 21:44:45 +00:00
parent 3a45c6790d
commit 2713cb877e
7 changed files with 48 additions and 52 deletions

View file

@ -1,3 +1,13 @@
2005-02-15 Mikhail Khodjaiants
Bug 82264: Enhance the Shared Libraries view.
The "Load Symbols For All" action is added to the Modules view.
* plugin.xml
* plugin.properties
* icons/full/clcl16/load_all_symbols_co.gif
* icons/full/dlcl16/load_all_symbols_co.gif
* icons/full/elcl16/load_all_symbols_co.gif
* ICDebugUIInternalConstants.java: removed (cleanup)
2005-02-15 Mikhail Khodjaiants
Bug 82264: Enhance the Shared Libraries view.
The Modules view's doesn't update labels when symbols are loaded.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 354 B

After

Width:  |  Height:  |  Size: 230 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 B

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 B

After

Width:  |  Height:  |  Size: 230 B

View file

@ -71,9 +71,9 @@ AttachSourceEditor.name= Attach Source Editor
CDebugEditor.name= C/C++ Debug Editor
LoadSymbolsAction.label=Load Symbols
LoadSymbolsAction.tooltip=Load Shared Library's Symbols
LoadSymbolsAction.tooltip=Load Modules's Symbols
LoadSymbolsForAllAction.label=Load Symbols For All
LoadSymbolsForAllAction.tooltip=Load Symbols For All Shared Libraries
LoadSymbolsForAllAction.tooltip=Load Symbols For All Modules
SignalAction.label=Resume With Signal
SignalAction.tooltip=Resume With Signal

View file

@ -751,6 +751,25 @@
id="org.eclipse.cdt.debug.ui.ModulePropertiesAction">
</action>
</objectContribution>
<viewerContribution
targetID="org.eclipse.cdt.debug.ui.ModulesView"
id="org.eclipse.cdt.debug.ui.modulesView.popupMenu">
<action
helpContextId="load_symbols_for_all_context"
label="%LoadSymbolsForAllAction.label"
tooltip="%LoadSymbolsForAllAction.tooltip"
icon="icons/full/elcl16/load_all_symbols_co.gif"
class="org.eclipse.cdt.debug.internal.ui.actions.LoadSymbolsForAllActionDelegate"
style="push"
menubarPath="modulesGroup"
id="org.eclipse.cdt.debug.ui.LoadSymbolsForAllAction">
<enablement>
<pluginState
value="activated"
id="org.eclipse.cdt.debug.ui"/>
</enablement>
</action>
</viewerContribution>
</extension>
<extension
point="org.eclipse.ui.viewActions">
@ -926,6 +945,23 @@
<viewContribution
targetID="org.eclipse.cdt.debug.ui.ModulesView"
id="org.eclipse.debug.ui.modulesView.toolbar">
<action
helpContextId="load_symbols_for_all_context"
disabledIcon="icons/full/dlcl16/load_all_symbols_co.gif"
hoverIcon="icons/full/elcl16/load_all_symbols_co.gif"
toolbarPath="modulesGroup"
label="%LoadSymbolsForAllAction.label"
tooltip="%LoadSymbolsForAllAction.tooltip"
icon="icons/full/elcl16/load_all_symbols_co.gif"
class="org.eclipse.cdt.debug.internal.ui.actions.LoadSymbolsForAllActionDelegate"
style="push"
id="org.eclipse.cdt.debug.ui.LoadSymbolsForAllAction">
<enablement>
<pluginState
value="activated"
id="org.eclipse.cdt.debug.ui"/>
</enablement>
</action>
<action
helpContextId="collapse_all_modules_context"
disabledIcon="icons/full/dlcl16/collapseall.gif"

View file

@ -1,50 +0,0 @@
/*******************************************************************************
* Copyright (c) 2000, 2004 QNX Software Systems and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* QNX Software Systems - Initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.debug.internal.ui;
/**
*
* Definitions of the internal constants for C/C++ Debug UI plug-in.
*
* @since Jul 25, 2002
*/
public interface ICDebugUIInternalConstants
{
/*
* Memory view constants.
*/
public static final int MEMORY_SIZE_BYTE = 1;
public static final int MEMORY_SIZE_HALF_WORD = 2;
public static final int MEMORY_SIZE_WORD = 4;
public static final int MEMORY_SIZE_DOUBLE_WORD = 8;
public static final int MEMORY_SIZE_FLOAT = 8;
public static final int MEMORY_SIZE_DOUBLE_FLOAT = 16;
public static final int MEMORY_FORMAT_HEX = 0;
public static final int MEMORY_FORMAT_BINARY = 1;
public static final int MEMORY_FORMAT_OCTAL = 2;
public static final int MEMORY_FORMAT_SIGNED_DECIMAL = 3;
public static final int MEMORY_FORMAT_UNSIGNED_DECIMAL = 4;
public static final int MEMORY_BYTES_PER_ROW_4 = 4;
public static final int MEMORY_BYTES_PER_ROW_8 = 8;
public static final int MEMORY_BYTES_PER_ROW_16 = 16;
public static final int MEMORY_BYTES_PER_ROW_32 = 32;
public static final int MEMORY_BYTES_PER_ROW_64 = 64;
public static final int MEMORY_BYTES_PER_ROW_128 = 128;
public static final int DEFAULT_MEMORY_NUMBER_OF_BYTES = 512;
public static final int DEFAULT_MEMORY_SIZE = MEMORY_SIZE_BYTE;
public static final int DEFAULT_MEMORY_FORMAT = MEMORY_FORMAT_HEX;
public static final int DEFAULT_MEMORY_BYTES_PER_ROW = MEMORY_BYTES_PER_ROW_16;
public static final boolean DEFAULT_MEMORY_DISPLAY_ASCII = true;
}