| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.editor.actions.AbstractActionContributor
public abstract class AbstractActionContributor
Generic abstract action contributor for ations of type IMultiViewAction interface. Can be used anywhere.
| Constructor Summary | |
|---|---|
AbstractActionContributor(IDOMSelectionProvider selectionProvider)
Constructor.  | 
|
| Method Summary | |
|---|---|
protected  IMultiViewAction | 
checkOrCreateAction(String key)
Checks for action with id key in registry.  | 
protected  List<IMultiViewAction> | 
checkOrCreateActions(String[] keys)
Checks for action with id key in registry.  | 
protected abstract  void | 
configureFactory()
Configures factory.  | 
 MultiViewActionFactory | 
getActionFactory()
 | 
abstract  org.eclipse.gef.ui.actions.ActionRegistry | 
getActionRegistry()
Returns action registry in which created actions are registered.  | 
protected  DocumentModifyHelper | 
getDocumentModifyHelper()
Getter for document modifier.  | 
 List<org.eclipse.gef.ui.actions.SelectionAction> | 
getSelectionActions()
 | 
abstract  IWorkbenchPart | 
getWorkbenchPart()
Returns workbench part for which actions are created.  | 
 XMLAccess | 
getXMLAccess()
Returns XMLAccess instance.  | 
protected  void | 
selectionChangedHandle(DOMSelectionChangedEvent event)
Handler for selection changes.  | 
 void | 
setActionFactory(MultiViewActionFactory actionFactory)
Setter for action factory.  | 
 void | 
setSelectionActions(List<org.eclipse.gef.ui.actions.SelectionAction> selectionActions)
 | 
 void | 
setXMLAccess(XMLAccess xmlAccess)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AbstractActionContributor(IDOMSelectionProvider selectionProvider)
selectionProvider - selection provider| Method Detail | 
|---|
protected void selectionChangedHandle(DOMSelectionChangedEvent event)
event - protected abstract void configureFactory()
protected IMultiViewAction checkOrCreateAction(String key)
key - to identify action, must be IAction.getId()
protected List<IMultiViewAction> checkOrCreateActions(String[] keys)
keys - to identify action, must be IAction.getId()
protected DocumentModifyHelper getDocumentModifyHelper()
public void setXMLAccess(XMLAccess xmlAccess)
xmlAccess - The xmlAccess to set.public XMLAccess getXMLAccess()
public MultiViewActionFactory getActionFactory()
public void setActionFactory(MultiViewActionFactory actionFactory)
actionFactory - to set.public List<org.eclipse.gef.ui.actions.SelectionAction> getSelectionActions()
public void setSelectionActions(List<org.eclipse.gef.ui.actions.SelectionAction> selectionActions)
selectionActions - The updateActions to set.public abstract IWorkbenchPart getWorkbenchPart()
public abstract org.eclipse.gef.ui.actions.ActionRegistry getActionRegistry()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||