|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.part.EditorActionBarContributor
org.eclipse.ui.texteditor.BasicTextEditorActionContributor
org.eclipse.ui.editors.text.TextEditorActionContributor
org.eclipse.datatools.sqltools.sqleditor.internal.SQLEditorActionContributor
public class SQLEditorActionContributor
This class installs and manages actions for the SQL Editor.
Constructor Summary | |
---|---|
SQLEditorActionContributor()
Constructs an instance of this class. |
Method Summary | |
---|---|
void |
contributeToCoolBar(org.eclipse.jface.action.ICoolBarManager coolBarManager)
|
void |
contributeToMenu(org.eclipse.jface.action.IMenuManager mm)
Contributes items to the Workbench Edit menu. |
void |
contributeToStatusLine(org.eclipse.jface.action.IStatusLineManager statusLineManager)
Contributes to the given status line. |
void |
contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
|
void |
dispose()
|
void |
init(org.eclipse.ui.IActionBars bars,
org.eclipse.ui.IWorkbenchPage page)
|
void |
setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
Sets the active editor to this contributor. |
void |
update(boolean isSQLEditorPage)
|
Methods inherited from class org.eclipse.ui.editors.text.TextEditorActionContributor |
---|
init |
Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor |
---|
getActionBars, getPage |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SQLEditorActionContributor()
Method Detail |
---|
public void contributeToMenu(org.eclipse.jface.action.IMenuManager mm)
contributeToMenu
in class org.eclipse.ui.editors.text.TextEditorActionContributor
mm
- the MenuManager to usepublic void setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
setActiveEditor
in interface org.eclipse.ui.IEditorActionBarContributor
setActiveEditor
in class org.eclipse.ui.editors.text.TextEditorActionContributor
EditorActionBarContributor.setActiveEditor(org.eclipse.ui.IEditorPart)
,
EditorActionBarContributor#editorChanged
public void contributeToStatusLine(org.eclipse.jface.action.IStatusLineManager statusLineManager)
The EditorActionBarContributor
implementation of this method
does nothing. Subclasses may reimplement to add to the status line portion of
this contribution.
contributeToStatusLine
in class org.eclipse.ui.texteditor.BasicTextEditorActionContributor
statusLineManager
- the manager of the status linepublic void contributeToCoolBar(org.eclipse.jface.action.ICoolBarManager coolBarManager)
contributeToCoolBar
in class org.eclipse.ui.part.EditorActionBarContributor
public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager toolBarManager)
contributeToToolBar
in class org.eclipse.ui.part.EditorActionBarContributor
public void init(org.eclipse.ui.IActionBars bars, org.eclipse.ui.IWorkbenchPage page)
init
in interface org.eclipse.ui.IEditorActionBarContributor
init
in class org.eclipse.ui.part.EditorActionBarContributor
public void dispose()
dispose
in interface org.eclipse.ui.IEditorActionBarContributor
dispose
in class org.eclipse.ui.editors.text.TextEditorActionContributor
public void update(boolean isSQLEditorPage)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |