Open GoogleCodeExporter opened 9 years ago
integrate xml parsing functionality with undo support? maybe add an XML string
property with a getter/setter. could then add XML content to undo history
object.
This approach still needs thought out with inherited objects since inherited
property
changes would not be automatically cascaded down.
Original comment by aretman...@gmail.com
on 10 Jun 2008 at 1:54
add cancel/undo support for changes to objects using dialogs. May need to add a
more
sophisticated mechanism to this to designer manager that we can call from
various
places. Need to consider scenario of changing name of a related object. Can we
undo
this? should be okay as we would have to undo the name change first presumably,
so
maybe we can use a simple string representation of the object XML in the undo
buffer. Only gotcha is with descendant objects, need a dependency list to sort
this
out. Fun when we change the ancestor property for an object!
Original comment by aretman...@gmail.com
on 10 Jun 2008 at 8:18
add display of undo history items/actions in designer form
Original comment by aretman...@gmail.com
on 10 Jun 2008 at 8:41
refactor undo/redo updates and implement generic methods for applying property
change
to all derived objects recursively. can use the same code for regular changes to
cascade changes from ancestors. change will need both current and new value so
it can
check that the value is not overridden in the child object
Original comment by aretman...@gmail.com
on 10 Jun 2008 at 8:42
add new method to TAHMUIObject to snapshot XML draft of itself when we are
about to
change the objects ancestor. This allows the change cascades to propagate, but
we
will need to add add a list of ancestor object chains first so we can do this
recursively.
Original comment by aretman...@gmail.com
on 10 Jun 2008 at 8:44
process for applying changes to properties.. needs to cascade to descendants and
support undo. need to investigate RTTI support for this...
Original comment by aretman...@gmail.com
on 10 Jun 2008 at 8:44
editing colours using dialog or double clicking doesn't add an undo item
Original comment by aretman...@gmail.com
on 10 Jun 2008 at 8:45
Original comment by aretman...@gmail.com
on 11 Jan 2009 at 1:43
Original issue reported on code.google.com by
aretman...@gmail.com
on 10 Jun 2008 at 1:49