mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-21 21:52:10 +02:00
Bug 488115 - [memory] Add "go to address" action to the Traditional
Rendering Change-Id: If6d3c37742530648f1019ee8933fcaaf246a505c
This commit is contained in:
parent
4c731e0fa7
commit
da8e356c89
1 changed files with 5 additions and 0 deletions
|
@ -38,6 +38,7 @@ import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelChangedList
|
|||
import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelDelta;
|
||||
import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelProxy;
|
||||
import org.eclipse.debug.internal.ui.viewers.model.provisional.IModelProxyFactory;
|
||||
import org.eclipse.debug.internal.ui.views.memory.renderings.GoToAddressAction;
|
||||
import org.eclipse.debug.ui.IDebugUIConstants;
|
||||
import org.eclipse.debug.ui.memory.AbstractMemoryRendering;
|
||||
import org.eclipse.debug.ui.memory.AbstractTableRendering;
|
||||
|
@ -733,6 +734,9 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
|
|||
final CopyAction copyTextAction = new CopyTextAction(this.fRendering);
|
||||
final CopyAction copyAddressAction = new CopyAddressAction(this.fRendering);
|
||||
final CopyAction copyAllAction = new CopyAllAction(this.fRendering);
|
||||
|
||||
// go-to address action
|
||||
final IAction goToAddressAction = new GoToAddressAction(getMemoryRenderingContainer(), this);
|
||||
|
||||
// reset to base address
|
||||
|
||||
|
@ -1301,6 +1305,7 @@ public class TraditionalRendering extends AbstractMemoryRendering implements IRe
|
|||
copyAllAction.checkStatus();
|
||||
|
||||
manager.add(gotoBaseAddressAction);
|
||||
manager.add(goToAddressAction);
|
||||
manager.add(refreshAction);
|
||||
manager.add(new Separator());
|
||||
manager.add(new Separator(
|
||||
|
|
Loading…
Add table
Reference in a new issue