|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISQLEditorActionContributorExtension
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()
Requests that this object update its actions. |
void |
updateAction(boolean isSQLEditorPage)
Requests that this object update its actions when the page is switched. |
Field Detail |
---|
static final java.lang.String EDITOR_ID_ALL
Method Detail |
---|
void menuAboutToShow(IMenuManager manager)
void contributeToContextMenu(IMenuManager mm)
menuManager
- the manager that controls the menuvoid 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 contributorvoid setActiveEditor(SQLEditor targetEditor)
targetEditor
- the new editor targetvoid dispose()
void contributeToMenu(IMenuManager menuManager)
menuManager
- the manager that controls the menuvoid contributeToStatusLine(IStatusLineManager statusLineManager)
statusLineManager
- the manager of the status linevoid contributeToToolBar(IToolBarManager toolBarManager)
toolBarManager
- the manager that controls the workbench tool barvoid contributeToCoolBar(ICoolBarManager coolBarManager)
coolBarManager
- the manager that controls the workbench cool bar.void setParent(TextEditorActionContributor parent)
void updateAction()
void updateAction(boolean isSQLEditorPage)
isSQLEditorPage
- whether the active page is an embeded instance of SQLEditor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |