blob: 78516f9062db6b101d6ad478b4073f11553e47b4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/*******************************************************************************
* Copyright (c) 2004, 2008 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
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corp. - Rational Software - initial implementation
* Markus Schorn (Wind River Systems)
*******************************************************************************/
package org.eclipse.cdt.internal.ui.search.actions;
import org.eclipse.ui.IWorkbenchSite;
import org.eclipse.ui.IWorkingSet;
import org.eclipse.cdt.internal.ui.editor.CEditor;
import org.eclipse.cdt.internal.ui.search.CSearchMessages;
import org.eclipse.cdt.internal.ui.search.PDOMSearchQuery;
public class FindRefsInWorkingSetAction extends FindInWorkingSetAction {
public FindRefsInWorkingSetAction(CEditor editor, IWorkingSet[] workingSets) {
super(editor,
CSearchMessages.CSearch_FindReferencesInWorkingSetAction_label,
CSearchMessages.CSearch_FindReferencesInWorkingSetAction_tooltip,
workingSets);
}
public FindRefsInWorkingSetAction(IWorkbenchSite site, IWorkingSet[] workingSets){
super (site,
CSearchMessages.CSearch_FindReferencesInWorkingSetAction_label,
CSearchMessages.CSearch_FindReferencesInWorkingSetAction_tooltip,
workingSets);
}
@Override
protected int getLimitTo() {
return PDOMSearchQuery.FIND_REFERENCES;
}
}
|