|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IActionContributor
IEditor
is activated, its associated IActionContributor
is asked to contribute and when is deactivated its contributions are removed.
Method Summary | |
---|---|
void |
contributeCoolBar(ICoolBarManager manager)
Contribute to global cool bar by modifying passed manager. |
void |
contributeToMenu(IMenuManager manager)
Contribute to global menu by modifying passed manager. |
void |
contributeToStatusLine(IStatusLineManager manager)
Contribute to status line by modifying passed manager. |
void |
contributeToToolBar(IToolBarManager manager)
Contribute to global tool bar by modifying passed manager. |
Map<String,IAction> |
getGlobalActionHandlers()
Return global action handlers, which are registred when associated IEditor is gains focus and removed when losts focus; |
org.eclipse.gef.ui.actions.ActionRegistry |
getGlobalActionRegistry()
Returns global action registry passed in init. |
void |
init(org.eclipse.gef.ui.actions.ActionRegistry actionRegistry)
Initialization this contributor with access to global registry. |
Method Detail |
---|
void contributeToToolBar(IToolBarManager manager)
manager
- void contributeToStatusLine(IStatusLineManager manager)
manager
- void contributeCoolBar(ICoolBarManager manager)
manager
- void contributeToMenu(IMenuManager manager)
manager
- Map<String,IAction> getGlobalActionHandlers()
void init(org.eclipse.gef.ui.actions.ActionRegistry actionRegistry)
actionRegistry
- global action registryorg.eclipse.gef.ui.actions.ActionRegistry getGlobalActionRegistry()
init(ActionRegistry)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |