So I have designed the following solution:

1. New interface is created:

interface UndoableActorXml extends ActorXml
{
    public XmlAction getUndoAction()
}

2. public void ActionFactory.executeAction(UndoableActorXml action)and
ActionHandler.executeAction(UndoableActorXml action)  are declared and 
implemented.

The ActionFactory.executeAction provides that the UndoHandler is the 
last handler to be called.
UndoHandler.executeAction obtaines the undo - action ActionPair by 
calling the getUndoAction() and creates the ActionPair.

Your comments are welcome before I start to implement.

Dimitry



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Freemind-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemind-developer

Reply via email to