freemind.modes.mindmapmode.actions.xml
Class ActionFactory
java.lang.Object
freemind.modes.mindmapmode.actions.xml.ActionFactory
public class ActionFactory
- extends java.lang.Object
- Author:
- foltin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionFactory
public ActionFactory(Controller c)
registerHandler
public void registerHandler(ActionHandler newHandler)
- The handler is put in front. Thus it is called before others are called.
deregisterHandler
public void deregisterHandler(ActionHandler newHandler)
registerFilter
public void registerFilter(ActionFilter newFilter)
deregisterFilter
public void deregisterFilter(ActionFilter newFilter)
startTransaction
public void startTransaction(java.lang.String name)
endTransaction
public void endTransaction(java.lang.String name)
executeAction
public boolean executeAction(ActionPair pair)
- Returns:
- the success of the action. If an exception arises, the method returns false.
getController
public Controller getController()
registerActor
public void registerActor(ActorXml actor,
java.lang.Class action)
deregisterActor
public void deregisterActor(java.lang.Class action)
getActor
public ActorXml getActor(freemind.controller.actions.generated.instance.XmlAction action)
registerUndoHandler
public void registerUndoHandler(UndoActionHandler undoActionHandler)