|
Eclipse Platform Release 3.2 |
|||||||||
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.search.ui.actions.TextSearchGroup
public class TextSearchGroup
Action group that adds a sub-menu with text search actions to a context menu.
Constructor Summary | |
---|---|
TextSearchGroup(IEditorPart editor)
Constructs a TextSearchGroup for adding actions to the context menu of the editor provided. |
Method Summary | |
---|---|
void |
fillContextMenu(IMenuManager menu)
Adds the applicable actions to a context menu, based on the state of the ActionContext . |
void |
setAppendToGroup(java.lang.String groupID)
Changes the group where the submenu is appended to. |
void |
setMenuText(java.lang.String text)
Changes the text that is used for the submenu. |
Methods inherited from class org.eclipse.ui.actions.ActionGroup |
---|
dispose, fillActionBars, getContext, setContext, updateActionBars |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextSearchGroup(IEditorPart editor)
Method Detail |
---|
public void setMenuText(java.lang.String text)
public void setAppendToGroup(java.lang.String groupID)
public void fillContextMenu(IMenuManager menu)
ActionGroup
ActionContext
.
The default implementation does nothing. Subclasses may override or extend this method.
fillContextMenu
in class ActionGroup
menu
- the context menu manager
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.