|
Eclipse Platform Release 3.7 |
|||||||||
| 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(String groupID)
Changes the group where the submenu is appended to. |
void |
setMenuText(String text)
Changes the text that is used for the submenu label. |
| 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)
editor - the editor| Method Detail |
|---|
public void setMenuText(String text)
text - the text for the menu label.public void setAppendToGroup(String groupID)
groupID - the group id to append topublic void fillContextMenu(IMenuManager menu)
ActionGroupActionContext.
The default implementation does nothing. Subclasses may override or extend this method.
fillContextMenu in class ActionGroupmenu - the context menu manager
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.