sk.uniba.euromath.plugin.views.outline.actions
Class XMLOutlineActionContributor
java.lang.Object
sk.uniba.euromath.editor.actions.AbstractActionContributor
sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor
public class XMLOutlineActionContributor
- extends AbstractActionContributor
- Author:
- Tomáš Studva 16.10.2005
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
workbenchPart
protected IWorkbenchPart workbenchPart
xmlOutlinePage
protected XMLOutlinePage xmlOutlinePage
actionRegistry
protected org.eclipse.gef.ui.actions.ActionRegistry actionRegistry
XMLOutlineActionContributor
public XMLOutlineActionContributor(IWorkbenchPart wokbenchPart,
XMLOutlinePage page)
- Constructor.
- Parameters:
wokbenchPart
-
configureFactory
protected void configureFactory()
- Description copied from class:
AbstractActionContributor
- Configures factory. Registers action in factory by their ids to their
classes.
- Specified by:
configureFactory
in class AbstractActionContributor
populateContextMenu
protected void populateContextMenu(IMenuManager manager)
populateInsertSubMenu
protected void populateInsertSubMenu(sk.baka.ikslibs.ptr.DomPointer p,
IMenuManager manager)
fillLocalMenu
public void fillLocalMenu(IMenuManager manager)
- Fills menu shown after click on arrow in right upper corner.
fillLocalToolBar
public void fillLocalToolBar(IToolBarManager manager)
getWorkbenchPart
public IWorkbenchPart getWorkbenchPart()
- Description copied from class:
AbstractActionContributor
- Returns workbench part for which actions are created.
- Specified by:
getWorkbenchPart
in class AbstractActionContributor
- Returns:
- workbech part
setXMLOutlinePage
public void setXMLOutlinePage(XMLOutlinePage xmlOutlinePage)
- Parameters:
outlinePage
- The outlinePage to set.
getActionRegistry
public org.eclipse.gef.ui.actions.ActionRegistry getActionRegistry()
- Description copied from class:
AbstractActionContributor
- Returns action registry in which created actions are registered.
- Specified by:
getActionRegistry
in class AbstractActionContributor
- Returns:
- action registry
setActionRegistry
public void setActionRegistry(org.eclipse.gef.ui.actions.ActionRegistry actionRegistry)
- Parameters:
actionRegistry
- The actionRegistry to set.
getContentProvider
public XMLAccessContentProvider getContentProvider()
setWorkbechPart
public void setWorkbechPart(IWorkbenchPart workbenchPart)
- Parameters:
workbechPart
- The workbechPart to set.
getAttributeSwitcher
protected sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineContentSwitcher getAttributeSwitcher()
- Returns:
- Returns the attributeSwitcher.
setAttributeSwitcher
protected void setAttributeSwitcher(sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineContentSwitcher attributeSwitcher)
- Parameters:
attributeSwitcher
- The attributeSwitcher to set.
getCdataSwitcher
protected sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineContentSwitcher getCdataSwitcher()
- Returns:
- Returns the cdataSwitcher.
setCdataSwitcher
protected void setCdataSwitcher(sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineContentSwitcher cdataSwitcher)
- Parameters:
cdataSwitcher
- The cdataSwitcher to set.
getCommentSwitcher
protected sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineContentSwitcher getCommentSwitcher()
- Returns:
- Returns the commentSwitcher.
setCommentSwitcher
protected void setCommentSwitcher(sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineContentSwitcher commentSwitcher)
- Parameters:
commentSwitcher
- The commentSwitcher to set.
getProciSwitcher
protected sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineContentSwitcher getProciSwitcher()
- Returns:
- Returns the prociSwitcher.
setProciSwitcher
protected void setProciSwitcher(sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineContentSwitcher prociSwitcher)
- Parameters:
prociSwitcher
- The prociSwitcher to set.
getSourceSwitcher
protected sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineSourceSwitcher getSourceSwitcher()
- Returns:
- Returns the sourceSwitcher.
setSourceSwitcher
protected void setSourceSwitcher(sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineSourceSwitcher sourceSwitcher)
- Parameters:
sourceSwitcher
- The sourceSwitcher to set.
getTextNodeSwitcher
protected sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineContentSwitcher getTextNodeSwitcher()
- Returns:
- Returns the textNodeSwitcher.
setTextNodeSwitcher
protected void setTextNodeSwitcher(sk.uniba.euromath.plugin.views.outline.actions.XMLOutlineActionContributor.OutlineContentSwitcher textNodeSwitcher)
- Parameters:
textNodeSwitcher
- The textNodeSwitcher to set.
getXMLOutlinePage
protected XMLOutlinePage getXMLOutlinePage()
- Returns:
- Returns the xmlOutlinePage.
setWorkbenchPart
protected void setWorkbenchPart(IWorkbenchPart workbenchPart)
- Parameters:
workbenchPart
- The workbenchPart to set.
Copyright © 2003-2006 null. All Rights Reserved.