diff options
author | Robert Roth | 2016-04-20 21:08:42 +0000 |
---|---|---|
committer | Dani Megert | 2016-04-21 09:25:32 +0000 |
commit | ea839f9a068fd3af39bd29b99960c0422dcac373 (patch) | |
tree | 5c7caa87933d3267805057fe3ffac7240982e177 | |
parent | a122b64792a58d840d5963a7701ac9f5fff43b3b (diff) | |
download | eclipse.platform.text-ea839f9a068fd3af39bd29b99960c0422dcac373.tar.gz eclipse.platform.text-ea839f9a068fd3af39bd29b99960c0422dcac373.tar.xz eclipse.platform.text-ea839f9a068fd3af39bd29b99960c0422dcac373.zip |
Bug 477471 - Search view: Remove 'Search Again' and 'Expand All' from context menu
Removed 'Expand All' from the context menu
Signed-off-by: Robert Roth <robert.roth.off@gmail.com>
-rw-r--r-- | org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java b/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java index dfda8772022..ebc224fc568 100644 --- a/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java +++ b/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchViewPage.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2011 IBM Corporation and others. + * Copyright (c) 2000, 2016 IBM Corporation 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 @@ -7,6 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Robert Roth (robert.roth.off@gmail.com) - Bug 477471 *******************************************************************************/ package org.eclipse.search.ui.text; @@ -523,10 +524,6 @@ public abstract class AbstractTextSearchViewPage extends Page implements ISearch if (canRemoveMatchesWith(getViewer().getSelection())) mgr.appendToGroup(IContextMenuConstants.GROUP_REMOVE_MATCHES, fRemoveSelectedMatches); mgr.appendToGroup(IContextMenuConstants.GROUP_REMOVE_MATCHES, fRemoveAllResultsAction); - - if (getLayout() == FLAG_LAYOUT_TREE) { - mgr.appendToGroup(IContextMenuConstants.GROUP_SHOW, fExpandAllAction); - } } /** |