|
Eclipse JDT Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ui.actions.ActionGroup
org.eclipse.jdt.ui.actions.ReferencesSearchGroup
public class ReferencesSearchGroup
Action group that adds the search for references actions to a context menu and the global menu bar.
This class may be instantiated; it is not intended to be subclassed.
| Constructor Summary | |
|---|---|
ReferencesSearchGroup(IWorkbenchSite site)
Creates a new ReferencesSearchGroup. |
|
ReferencesSearchGroup(IWorkbenchSite site,
ISelectionProvider specialSelectionProvider)
Creates a new ReferencesSearchGroup. |
|
ReferencesSearchGroup(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
Note: This constructor is for internal use only. |
|
| Method Summary | |
|---|---|
void |
dispose()
|
void |
fillActionBars(IActionBars actionBars)
|
void |
fillContextMenu(IMenuManager manager)
|
protected String |
getName()
Note: this method is for internal use only. |
| Methods inherited from class org.eclipse.ui.actions.ActionGroup |
|---|
getContext, setContext, updateActionBars |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReferencesSearchGroup(IWorkbenchSite site)
ReferencesSearchGroup. The group requires
that the selection provided by the site's selection provider is of type
org.eclipse.jface.viewers.IStructuredSelection.
site - the view part that owns this action group
public ReferencesSearchGroup(IWorkbenchSite site,
ISelectionProvider specialSelectionProvider)
ReferencesSearchGroup. The group requires
that the selection provided by the given selection provider is of type
IStructuredSelection.
site - the site that will own the action group.specialSelectionProvider - the selection provider used instead of the
sites selection provider.public ReferencesSearchGroup(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
editor - the Java editor| Method Detail |
|---|
protected String getName()
public void fillActionBars(IActionBars actionBars)
fillActionBars in class ActionGrouppublic void fillContextMenu(IMenuManager manager)
fillContextMenu in class ActionGrouppublic void dispose()
dispose in class ActionGroup
|
Eclipse JDT Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2010 IBM Corporation and others. All rights reserved.