Over 10 years of community discussion and knowledge are maintained here as a read-only archive. New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC
|
|
|
Show Posts
|
Pages: [1]
|
1
|
Announcements and General Discussion / Architecture / Re: Implementing Undoable commands in PureMVC
|
on: September 29, 2011, 11:34:35
|
I just finished testing and all the changes are working well. So the new version now is 1.2 for the Java port of the UndoPureMVC and is compatible with the version 1.0 of the PureMVC Standard Java version. I updated my work projects to use the 1.0 version of the PureMVC as well, that way I could test properly the changes on the undo utility.
If there are any issues let me know and I will take care of them!
-Alessandro
|
|
|
2
|
Announcements and General Discussion / Architecture / Re: Implementing Undoable commands in PureMVC
|
on: September 29, 2011, 10:19:11
|
Actually the undo only works for the last action... I think it has to do with the changes on version 1.0 from version 0.3 where the Facade registers instances of the commands as opposed to having a class reference as in version 0.3. I am working on fixing the issue, I might close then commands when saving them in the history.
How come that change was done to version 1.0? I think the AS3 flavor uses class reference, doesn't it?
|
|
|
6
|
Announcements and General Discussion / Architecture / Re: Implementing Undoable commands in PureMVC
|
on: July 13, 2011, 04:22:30
|
I have another questions too, looking at the sample application I noticed that the listeners were handled in the mediator... are they supposed to be in the view? I am having a hard time re-designing an application I created with the PureMVC and implemented things very poorly... please don't take it in a bad way, this is very very... VERY helpful set of an example and utility!
Thanks!
-Alessandro
|
|
|
7
|
Announcements and General Discussion / Architecture / Re: Implementing Undoable commands in PureMVC
|
on: July 13, 2011, 03:14:05
|
Hi Draggos,
This helped quite a bit, I am almost done re-writing the undo utility and was a bit confussed on the following lines on the UndoableMacroCommandBase:
Class commandClassRef = subCommands.get(i); ICommand commandInstance = new CommandClassRef();
and in the UndoableCommandBase:
ICommand cmdInstance = new undoCmdClass();
What are these lines trying to do? I don't find an undoCmdClass in the project... is it to create an instance of the specified command class?
Thanks! -Alessandro
|
|
|
|
|
|