1
0
Fork 0
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:
Anton Leherbauer 2010-01-14 08:51:27 +00:00
parent 27cd1b6b19
commit e27412e7dd
2 changed files with 6 additions and 4 deletions

View file

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

View file

@ -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);