View Issue Details

IDProjectCategoryView StatusLast Update
0022382Open CASCADEOCCT:Application Frameworkpublic2012-04-03 14:53
ReporteragvAssigned Tobugmaster  
PrioritynormalSeverityfeature 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.5.1 
Summary0022382: List of Undos/Redos should be protected
DescriptionMaking the list of Undo and Redo deltas in TDocStd_Document allows to obtain the
comprehensive information about added, deleted and modified labels/attributes
upon commitment of a transaction.
Additional information
and documentation updates
Documentation remark, added by AGV 2011-04-12 13:43:16:

Improvements:
After this small modification the document transaction model can automatically
track the changes. This is useful for proper updating of presentations and
depending data objects.

Particularly, the virtual method TDocStd_Document::CommitTransaction() can be
redefined in such way that after successful commit the last delta
(myUndos.Last()) is iterated to take into account each atribute delta.

In operations Undo and Redo the same thing should be done _before_ running a
transaction: iterate myRedos.First() before calling Redo() and myUndos.Last()
before calling Undo().
Modified entities:
class Document from TDocStd - only header (TDocStd_Document.cdl) modified
TagsNo tags attached.
Test case numberTest case is not required

Attached Files

  • TDocStd_Document.cdl.gz (3,393 bytes)

Activities

2011-04-11 10:01

 

TDocStd_Document.cdl.gz (3,393 bytes)

Related Changesets

occt: master 3086e085

2011-04-28 15:12:33

agv


Committer: bugmaster Details Diff
OCC22382 List of Undos/Redos should be protected Affected Issues
0022382
mod - src/TDocStd/TDocStd_Document.cdl Diff File

Issue History

Date Modified Username Field Change
2011-04-12 15:24 bugmaster Assigned To bugmaster => agv
2011-04-12 15:24 bugmaster Status new => assigned
2011-04-12 15:24 bugmaster Status assigned => resolved
2011-04-26 17:31 mkv Status resolved => tested
2011-04-28 19:12 bugmaster Status tested => verified
2011-08-02 10:32 bugmaster Category OCCT:OCAF => OCCT:Application Framework
2011-12-28 17:36 atp Description Updated
2011-12-28 17:36 atp Additional Information Updated
2012-03-29 17:26 bugmaster Changeset attached => occt master 3086e085
2012-04-03 14:53 apn Test case number => Test case is not required