|team "dirty" label decorators for custom models [message #442919]
||Fri, 31 July 2009 13:55
| Carsten Pfeiffer
Registered: July 2009
I'm having trouble understanding how the (e.g. CVS) dirty indicators can be
applied to custom models.
Our model mostly contains "Documents" which may be associated to sub
documents, forming a hierarchy.
The resources for this would look like this:
I.e. the sub documents of DocA (DocB and DocC) are put into a similarly
named folder within the same directory as DocA.
Now when somebody edits sub document DocB.xml, we want the dirty indicator
to be propagated to the top, so that DocA and the project itself are marked
dirty as well.
By default, the resource hierarchy is used for the dirty indicator, so that
modifying DocB will automatically mark DocA.subdocuments and Project as
dirty (see CVSLeightweightDecorator.addWithParents()). Unfortunately this
won't work with our model, as we want DocA to be marked as dirty, not the
Is there any mechanism that we can use to provide that "dirty hierarchy"?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.03313 seconds