|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.schemaobjecteditor.ui.core.DefaultSchemaObjectEditorActionBarContributor
public class DefaultSchemaObjectEditorActionBarContributor
Consumers should extend this class instead of implementing ISchemaObjectEditorActionBarContributor
| Constructor Summary | |
|---|---|
DefaultSchemaObjectEditorActionBarContributor()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSchemaObjectEditorActionBarContributor()
| Method Detail |
|---|
public void setEditor(ISchemaObjectEditor editor)
ISchemaObjectEditorActionBarContributor
setEditor in interface ISchemaObjectEditorActionBarContributorpublic void contributeToCoolBar(org.eclipse.jface.action.ICoolBarManager coolBarManager)
ISchemaObjectEditorActionBarContributor
contributeToCoolBar in interface ISchemaObjectEditorActionBarContributorpublic void contributeToMenu(org.eclipse.jface.action.IMenuManager menuManager)
ISchemaObjectEditorActionBarContributor
contributeToMenu in interface ISchemaObjectEditorActionBarContributorpublic void contributeToStatusLine(org.eclipse.jface.action.IStatusLineManager statusLineManager)
ISchemaObjectEditorActionBarContributor
contributeToStatusLine in interface ISchemaObjectEditorActionBarContributorpublic void contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
ISchemaObjectEditorActionBarContributor
contributeToToolBar in interface ISchemaObjectEditorActionBarContributorpublic void setActivePage(org.eclipse.ui.IEditorPart activeEditor)
ISchemaObjectEditorActionBarContributor
setActivePage in interface ISchemaObjectEditorActionBarContributor
public void init(org.eclipse.ui.IActionBars bars,
org.eclipse.ui.IWorkbenchPage page)
ISchemaObjectEditorActionBarContributor
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.
init in interface ISchemaObjectEditorActionBarContributorbars - the action barspage - the workbench page for this contributorpublic org.eclipse.ui.IActionBars getActionBars()
getActionBars in interface ISchemaObjectEditorActionBarContributorpublic org.eclipse.ui.IWorkbenchPage getPage()
getPage in interface ISchemaObjectEditorActionBarContributor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||