|
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.DeclarationsSearchGroup
public class DeclarationsSearchGroup
Action group that adds the search for declarations actions to a context menu and the global menu bar.
This class may be instantiated; it is not intended to be subclassed.
| Constructor Summary | |
|---|---|
DeclarationsSearchGroup(org.eclipse.ui.IWorkbenchSite site)
Creates a new DeclarationsSearchGroup. |
|
DeclarationsSearchGroup(org.eclipse.ui.IWorkbenchSite site,
org.eclipse.jface.viewers.ISelectionProvider specialSelectionProvider)
Creates a new DeclarationsSearchGroup. |
|
DeclarationsSearchGroup(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
Note: This constructor is for internal use only. |
|
| Method Summary | |
|---|---|
void |
dispose()
|
void |
fillActionBars(org.eclipse.ui.IActionBars actionBars)
|
void |
fillContextMenu(org.eclipse.jface.action.IMenuManager manager)
|
| 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 DeclarationsSearchGroup(org.eclipse.ui.IWorkbenchSite site)
DeclarationsSearchGroup. The group requires
that the selection provided by the site's selection provider is of type
IStructuredSelection.
site - the workbench site that owns this action group
public DeclarationsSearchGroup(org.eclipse.ui.IWorkbenchSite site,
org.eclipse.jface.viewers.ISelectionProvider specialSelectionProvider)
DeclarationsSearchGroup. 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 DeclarationsSearchGroup(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor)
editor - the Java editor| Method Detail |
|---|
public void fillActionBars(org.eclipse.ui.IActionBars actionBars)
fillActionBars in class org.eclipse.ui.actions.ActionGrouppublic void fillContextMenu(org.eclipse.jface.action.IMenuManager manager)
fillContextMenu in class org.eclipse.ui.actions.ActionGrouppublic void dispose()
dispose in class org.eclipse.ui.actions.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.