|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.editor.actions.AbstractActionContributor sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor
public class XMLOutlineActionContributor
Field Summary | |
---|---|
protected org.eclipse.gef.ui.actions.ActionRegistry |
actionRegistry
|
protected IWorkbenchPart |
workbenchPart
|
protected XMLOutlinePage |
xmlOutlinePage
|
Constructor Summary | |
---|---|
XMLOutlineActionContributor(XMLOutlinePage page)
Constructor. |
Method Summary | |
---|---|
protected void |
configureFactory()
Configures factory. |
void |
dispose()
|
void |
fillLocalMenu(IMenuManager manager)
Fills menu shown after click on arrow in right upper corner. |
void |
fillLocalToolBar(IToolBarManager manager)
|
org.eclipse.gef.ui.actions.ActionRegistry |
getActionRegistry()
Returns action registry in which created actions are registered. |
XMLAccessContentProvider |
getContentProvider()
|
IWorkbenchPart |
getWorkbenchPart()
Returns workbench part for which actions are created. |
void |
hookGlobalActions()
|
protected void |
populateContextMenu(IMenuManager manager)
|
protected void |
populateInsertSubMenu(InsertPosition position,
IMenuManager manager)
Fills up insert before/child/after menu to right content. |
void |
setActionRegistry(org.eclipse.gef.ui.actions.ActionRegistry actionRegistry)
|
void |
setWorkbechPart(IWorkbenchPart workbenchPart)
|
protected void |
setWorkbenchPart(IWorkbenchPart workbenchPart)
|
Methods inherited from class sk.uniba.euromath.editor.actions.AbstractActionContributor |
---|
checkOrCreateAction, checkOrCreateActions, getActionFactory, getDocumentModifyHelper, getXMLAccess, selectionChanged, setActionFactory, setXMLAccess, stackChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IWorkbenchPart workbenchPart
protected XMLOutlinePage xmlOutlinePage
protected org.eclipse.gef.ui.actions.ActionRegistry actionRegistry
Constructor Detail |
---|
public XMLOutlineActionContributor(XMLOutlinePage page)
wokbenchPart
- Method Detail |
---|
public void dispose()
dispose
in class AbstractActionContributor
protected void configureFactory()
AbstractActionContributor
configureFactory
in class AbstractActionContributor
protected void populateContextMenu(IMenuManager manager)
protected void populateInsertSubMenu(InsertPosition position, IMenuManager manager)
manager
- of insert menuposition
- one of InsertPosition.Before
,
InsertPosition.AsFirstChild
,
InsertPosition.After
public void fillLocalMenu(IMenuManager manager)
public void fillLocalToolBar(IToolBarManager manager)
public void hookGlobalActions()
public IWorkbenchPart getWorkbenchPart()
AbstractActionContributor
getWorkbenchPart
in class AbstractActionContributor
public org.eclipse.gef.ui.actions.ActionRegistry getActionRegistry()
AbstractActionContributor
getActionRegistry
in class AbstractActionContributor
public void setActionRegistry(org.eclipse.gef.ui.actions.ActionRegistry actionRegistry)
actionRegistry
- The actionRegistry to set.public XMLAccessContentProvider getContentProvider()
public void setWorkbechPart(IWorkbenchPart workbenchPart)
workbechPart
- The workbechPart to set.protected void setWorkbenchPart(IWorkbenchPart workbenchPart)
workbenchPart
- The workbenchPart to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |