|
SWT LPEX v3.0.0 | |||||||||||
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
com.ibm.lpex.alef.LpexContextContributor
Basic LPEX contributions to the Eclipse context.
Solution plugins using the LPEX plugin must extend this class in order to add their own Eclipse contributions. An LPEX-based editor plugin that has no contributions of its own must still use this class (or a class extending it) as the contributorClass in its plugin.xml (the editor definition of the "org.eclipse.ui.editors" extension point) in order to have the LPEX contributions appear in the workbench.
Subclasses may extend the following methods:
Any extended method should also call its super. equivalent.
Constructor Summary | |
---|---|
LpexContextContributor()
|
Method Summary | |
---|---|
protected void | activeWindowChanged()
Notification from LpexAbstractTextEditor that a new LPEX window in the multiwindow of our active editor's viewer has become active. |
void | contributeToMenu(org.eclipse.jface.action.IMenuManager menu)
Adds the menus portion of this contribution. |
void | contributeToToolBar(org.eclipse.jface.action.IToolBarManager tbm)
Adds the tool bar portion of this contribution. |
void | dispose()
Disposes this contributor. |
void | init(org.eclipse.ui.IActionBars bars)
Initializes our common actions, calls all the contributeToXxx() methods. |
void | setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
Sets the active editor for the contributor. |
Methods inherited from class org.eclipse.ui.texteditor.BasicTextEditorActionContributor |
---|
contributeToStatusLine, getAction, getActiveEditorPart |
Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor |
---|
contributeToCoolBar, getActionBars, getPage, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LpexContextContributor()
Method Detail |
protected void activeWindowChanged()
This method updates our own record of the active LPEX view (it being the new subject view of our listeners), and updates the accelerators for those LPEX actions that we contribute in here.
public void init(org.eclipse.ui.IActionBars bars)
public void contributeToMenu(org.eclipse.jface.action.IMenuManager menu)
public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager tbm)
public void setActiveEditor(org.eclipse.ui.IEditorPart targetEditor)
public void dispose()
|
SWT LPEX v3.0.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |