mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 14:42:11 +02:00
[297601] Add find action to local view menu
This commit is contained in:
parent
27cd1b6b19
commit
e27412e7dd
2 changed files with 6 additions and 4 deletions
|
@ -9,7 +9,7 @@
|
|||
# Wind River Systems - initial API and implementation
|
||||
##########################################################################
|
||||
|
||||
FindReplaceAction.label=&Find/Replace...
|
||||
FindReplaceAction.tooltip=Find/Replace
|
||||
FindReplaceAction.label=&Find in Current Document...
|
||||
FindReplaceAction.tooltip=Find Text in the Currently Loaded Disassembly Content.
|
||||
FindReplaceAction.image=
|
||||
FindReplaceAction.description=Find/Replace
|
||||
FindReplaceAction.description=Opens a dialog to search for text patterns in the currently loaded disassembly content.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*******************************************************************************
|
||||
* Copyright (c) 2007, 2009 Wind River Systems and others.
|
||||
* Copyright (c) 2007, 2010 Wind River Systems 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
|
||||
|
@ -21,6 +21,7 @@ import org.eclipse.ui.IViewPart;
|
|||
import org.eclipse.ui.IViewSite;
|
||||
import org.eclipse.ui.IWorkbenchPart;
|
||||
import org.eclipse.ui.PartInitException;
|
||||
import org.eclipse.ui.actions.ActionFactory;
|
||||
|
||||
/**
|
||||
* DisassemblyView
|
||||
|
@ -80,6 +81,7 @@ public class DisassemblyView extends DisassemblyPart implements IViewPart {
|
|||
}
|
||||
|
||||
protected void fillLocalPullDown(IMenuManager manager) {
|
||||
manager.add(fGlobalActions.get(ActionFactory.FIND.getId()));
|
||||
manager.add(fActionGotoPC);
|
||||
manager.add(fActionGotoAddress);
|
||||
manager.add(fActionToggleSource);
|
||||
|
|
Loading…
Add table
Reference in a new issue