|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Field Summary | |
static java.lang.String |
EDITOR_ID_ALL
|
| Method Summary | |
void |
contributeToContextMenu(IMenuManager mm)
Contributes to the given SQLEditor context menu. |
void |
contributeToCoolBar(ICoolBarManager coolBarManager)
Contributes to the given cool bar. |
void |
contributeToMenu(IMenuManager menuManager)
Contributes to the given menu. |
void |
contributeToStatusLine(IStatusLineManager statusLineManager)
Contributes to the given status line. |
void |
contributeToToolBar(IToolBarManager toolBarManager)
Contributes to the given tool bar. |
void |
dispose()
Disposes this contributor. |
void |
init(IActionBars bars,
IWorkbenchPage page)
Initializes this contributor, which is expected to add contributions as required to the given action bars and global action handlers. |
void |
menuAboutToShow(IMenuManager manager)
Receives notification that the workbench menu is about to show. |
void |
setActiveEditor(SQLEditor targetEditor)
Sets the active editor for the contributor. |
void |
setParent(TextEditorActionContributor parent)
|
void |
updateAction()
|
| Field Detail |
public static final java.lang.String EDITOR_ID_ALL
| Method Detail |
public void menuAboutToShow(IMenuManager manager)
public void contributeToContextMenu(IMenuManager mm)
public void init(IActionBars bars,
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 contributorpublic void setActiveEditor(SQLEditor targetEditor)
targetEditor - the new editor targetpublic void dispose()
public void contributeToMenu(IMenuManager menuManager)
menuManager - the manager that controls the menupublic void contributeToStatusLine(IStatusLineManager statusLineManager)
statusLineManager - the manager of the status linepublic void contributeToToolBar(IToolBarManager toolBarManager)
toolBarManager - the manager that controls the workbench tool barpublic void contributeToCoolBar(ICoolBarManager coolBarManager)
coolBarManager - the manager that controls the workbench cool bar.public void setParent(TextEditorActionContributor parent)
public void updateAction()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||