mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Bug 473536 - [memory] Add a Find-Replace menu option to the memory view
Change-Id: I0adfae1c9bf0b65408c9a8e6230d5be14b728650
This commit is contained in:
parent
abe742264a
commit
ee31cb921d
2 changed files with 19 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2009, 2010 Wind River Systems, Inc. and others.
|
||||
* Copyright (c) 2009, 2015 Wind River Systems, Inc. and others.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
|
@ -123,7 +123,7 @@ import org.eclipse.ui.progress.WorkbenchJob;
|
|||
*
|
||||
*/
|
||||
|
||||
@SuppressWarnings("restriction") /* Debug Platform's Flexibile hierarchy is still provisional */
|
||||
@SuppressWarnings("restriction") /* Debug Platform's Flexible hierarchy is still provisional */
|
||||
|
||||
public class MemoryBrowser extends ViewPart implements IDebugContextListener, IMemoryRenderingSite, IDebugEventSetListener, IMemoryBrowser
|
||||
{
|
||||
|
@ -870,7 +870,7 @@ public class MemoryBrowser extends ViewPart implements IDebugContextListener, IM
|
|||
}
|
||||
|
||||
public String getId() {
|
||||
return "???"; //$NON-NLS-1$
|
||||
return ID;
|
||||
}
|
||||
|
||||
public String getLabel() {
|
||||
|
|
|
@ -82,7 +82,22 @@
|
|||
</activeWhen>
|
||||
</handler>
|
||||
</extension>
|
||||
|
||||
<extension point="org.eclipse.ui.menus">
|
||||
<menuContribution
|
||||
locationURI="popup:org.eclipse.debug.ui.MemoryView.RenderingViewPane.1?after=additions">
|
||||
<command
|
||||
commandId="org.eclipse.ui.edit.findReplace"
|
||||
style="push">
|
||||
</command>
|
||||
</menuContribution>
|
||||
<menuContribution
|
||||
locationURI="popup:org.eclipse.cdt.debug.ui.memory.memorybrowser.MemoryBrowser?after=additions">
|
||||
<command
|
||||
commandId="org.eclipse.ui.edit.findReplace"
|
||||
style="push">
|
||||
</command>
|
||||
</menuContribution>
|
||||
</extension>
|
||||
</plugin>
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue