|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.action.Action
org.eclipse.jdt.ui.actions.SelectionDispatchAction
org.eclipse.jdt.ui.actions.FindAction
org.eclipse.jdt.ui.actions.FindDeclarationsAction
org.eclipse.jdt.ui.actions.FindDeclarationsInWorkingSetAction
Finds declarations of the selected element in working sets. The action is applicable to selections representing a Java element.
This class may be instantiated; it is not intended to be subclassed.
Field Summary |
---|
Fields inherited from interface org.eclipse.jface.action.IAction |
---|
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
Constructor Summary | |
---|---|
FindDeclarationsInWorkingSetAction(IWorkbenchSite site)
Creates a new FindDeclarationsInWorkingSetAction . |
|
FindDeclarationsInWorkingSetAction(IWorkbenchSite site,
IWorkingSet[] workingSets)
Creates a new FindDeclarationsInWorkingSetAction . |
|
FindDeclarationsInWorkingSetAction(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
Note: This constructor is for internal use only. |
|
FindDeclarationsInWorkingSetAction(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor,
IWorkingSet[] workingSets)
Note: This constructor is for internal use only. |
Method Summary | |
---|---|
protected org.eclipse.jdt.internal.ui.search.JavaSearchQuery |
createJob(IJavaElement element)
|
Methods inherited from class org.eclipse.jdt.ui.actions.FindAction |
---|
run, run, run, selectionChanged, selectionChanged |
Methods inherited from class org.eclipse.jdt.ui.actions.SelectionDispatchAction |
---|
getSelection, getSelectionProvider, getShell, getSite, run, run, run, selectionChanged, selectionChanged, selectionChanged, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FindDeclarationsInWorkingSetAction(IWorkbenchSite site)
FindDeclarationsInWorkingSetAction
. The action
requires that the selection provided by the site's selection provider is of type
org.eclipse.jface.viewers.IStructuredSelection
. The user will be
prompted to select the working sets.
site
- the site providing context information for this actionpublic FindDeclarationsInWorkingSetAction(IWorkbenchSite site, IWorkingSet[] workingSets)
FindDeclarationsInWorkingSetAction
. The action
requires that the selection provided by the site's selection provider is of type
org.eclipse.jface.viewers.IStructuredSelection
.
site
- the site providing context information for this actionworkingSets
- the working sets to be used in the searchpublic FindDeclarationsInWorkingSetAction(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
editor
- the Java editorpublic FindDeclarationsInWorkingSetAction(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor, IWorkingSet[] workingSets)
editor
- the Java editorworkingSets
- the working sets to be used in the searchMethod Detail |
protected org.eclipse.jdt.internal.ui.search.JavaSearchQuery createJob(IJavaElement element) throws JavaModelException
createJob
in class FindDeclarationsAction
JavaModelException
|
Eclipse JDT Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |