|
||||||||||
| 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.part.MultiPageEditorActionBarContributor
ch.sahits.phpclassgenerator.editors.PhpClassGeneratorEditorContributor
public class PhpClassGeneratorEditorContributor
Manages the installation/deinstallation of global actions for multi-page editors. Responsible for the redirection of global actions to the active editor. Multi-page contributor replaces the contributors for the individual editors in the multi-page editor. $Revision: 1.2 $ changed by $Author: hotzst $ at $Date: 2007/08/18 16:39:05 $
| Field Summary | |
|---|---|
private org.eclipse.ui.IEditorPart |
activeEditorPart
|
private org.eclipse.jface.action.Action |
sampleAction
|
| Constructor Summary | |
|---|---|
PhpClassGeneratorEditorContributor()
Creates a multi-page contributor. |
|
| Method Summary | |
|---|---|
void |
contributeToMenu(org.eclipse.jface.action.IMenuManager manager)
Add to the menu bar |
void |
contributeToToolBar(org.eclipse.jface.action.IToolBarManager manager)
Add to the tool bar |
private void |
createActions()
|
protected org.eclipse.jface.action.IAction |
getAction(org.eclipse.ui.texteditor.ITextEditor editor,
java.lang.String actionID)
Returns the action registed with the given text editor. |
void |
setActivePage(org.eclipse.ui.IEditorPart part)
Method declared in AbstractMultiPageEditorActionBarContributor. |
| Methods inherited from class org.eclipse.ui.part.MultiPageEditorActionBarContributor |
|---|
setActiveEditor |
| Methods inherited from class org.eclipse.ui.part.EditorActionBarContributor |
|---|
contributeToCoolBar, contributeToStatusLine, dispose, getActionBars, getPage, init, init |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private org.eclipse.ui.IEditorPart activeEditorPart
private org.eclipse.jface.action.Action sampleAction
| Constructor Detail |
|---|
public PhpClassGeneratorEditorContributor()
| Method Detail |
|---|
protected org.eclipse.jface.action.IAction getAction(org.eclipse.ui.texteditor.ITextEditor editor,
java.lang.String actionID)
public void setActivePage(org.eclipse.ui.IEditorPart part)
setActivePage in class org.eclipse.ui.part.MultiPageEditorActionBarContributorpart - Editor Partprivate void createActions()
public void contributeToMenu(org.eclipse.jface.action.IMenuManager manager)
contributeToMenu in class org.eclipse.ui.part.EditorActionBarContributormanager - public void contributeToToolBar(org.eclipse.jface.action.IToolBarManager manager)
contributeToToolBar in class org.eclipse.ui.part.EditorActionBarContributormanager -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||