|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISchemaObjectEditorActionBarContributor
A schema object editor which need to contribute new actions need to implement this interface
Method Summary | |
---|---|
void |
contributeToCoolBar(org.eclipse.jface.action.ICoolBarManager coolBarManager)
Contributes actions to cool bar. |
void |
contributeToMenu(org.eclipse.jface.action.IMenuManager menuManager)
Contributes actions to menu |
void |
contributeToStatusLine(org.eclipse.jface.action.IStatusLineManager statusLineManager)
Sets/clears message on status line |
void |
contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
Contribute actions to tool bar |
org.eclipse.ui.IActionBars |
getActionBars()
Returns this contributor's action bars. |
org.eclipse.ui.IWorkbenchPage |
getPage()
Returns this contributor's workbench page. |
void |
init(org.eclipse.ui.IActionBars bars,
org.eclipse.ui.IWorkbenchPage page)
Initializes this contributor, which is expected to add contributions as required to the given action bars and global action handlers. |
void |
setActivePage(org.eclipse.ui.IEditorPart activeEditor)
This method is called whenever the page changes. |
void |
setEditor(ISchemaObjectEditor editor)
Sets the editor |
Method Detail |
---|
void setEditor(ISchemaObjectEditor editor)
editor
- void contributeToCoolBar(org.eclipse.jface.action.ICoolBarManager coolBarManager)
coolBarManager
- void contributeToMenu(org.eclipse.jface.action.IMenuManager menuManager)
menuManager
- void contributeToStatusLine(org.eclipse.jface.action.IStatusLineManager statusLineManager)
statusLineManager
- void contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
toolBarManager
- void setActivePage(org.eclipse.ui.IEditorPart activeEditor)
activeEditor
- void init(org.eclipse.ui.IActionBars bars, org.eclipse.ui.IWorkbenchPage page)
The page is passed to support the use of RetargetAction
by the contributor. In this case the init
method implementors should:
null
call partActivated on the retarget actionsAnd in the dispose method the retarget actions should be removed as part listeners.
bars
- the action barspage
- the workbench page for this contributororg.eclipse.ui.IActionBars getActionBars()
org.eclipse.ui.IWorkbenchPage getPage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |