1
0
Fork 0
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:
Marc Dumais 2016-02-19 10:52:53 -05:00
parent 4c731e0fa7
commit da8e356c89

View file

@ -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(