Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


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

* | |

  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?
3  Announcements and General Discussion / Architecture / Re: Implementing Undoable commands in PureMVC on: September 28, 2011, 09:27:33
Yes it does, it was originally with version 0.3, but no API changes affect using version 1.0.  I can do a build with the current version.

-Alessandro
4  Announcements and General Discussion / Architecture / Re: Implementing Undoable commands in PureMVC on: September 27, 2011, 11:24:36
I have the project zipped along with the version of PureMVC used.  Let me know if any more changes need to be done or if any issue comes up with it! 

Edit: This works for version 0.3 of the PureMVC, an updated version for version 1.0 of the PureMVC can be found below!

-Alessandro
5  Announcements and General Discussion / Architecture / Re: Implementing Undoable commands in PureMVC on: September 15, 2011, 09:56:24
I ported the Undoable code to Java, where should I post it so that others can use it?  I am currently using it on two different projects and it seems to work pretty well (then again I just ported solid code).
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
8  Announcements and General Discussion / Architecture / Re: Implementing Undoable commands in PureMVC on: July 13, 2011, 09:11:45
I can't find the implementation of this and I am trying to write the functionality for a Java application, is there a demo of this posted yet?

Thanks!
-Alessandro
Pages: [1]