Changes between Version 30 and Version 31 of COMMENT_FRAMES_R0


Ignore:
Timestamp:
09/20/09 18:09:43 (16 years ago)
Author:
kyli
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • COMMENT_FRAMES_R0

    v30 v31  
    7575  * '''CommentLogic''' - Responsible for adding comment, scrolling views. Adding comment changes the model, scrolling changes some property in the current FrameView. 
    7676 * model 
    77   * '''Comment''' - Immutable, persistable. Contains author, date, text, generated id, parent id, constructor with id (for loading from file), helper method for building a formatted text.  
     77  * '''Comment''' - Immutable, persistable. Contains author, date, text, generated id, parent id, constructor with id (for loading from file), helper method for building a formatted text. The date must be immutable, so make also ImmDate and ImmDatePersister.  
    7878  * '''CommentFrameH''', '''CommentFrameR4''' - Nothing special. Their implementation is trivial and there is no need to explain what they contain. 
    79   * '''CommentStream''' - extends ResourceR4, contains immmutable list of comments. Helper methods for getting specific comments, calculating indent, aligning by some criteria, what's needed. 
     79  * '''CommentStream''' - extends ResourceR4, contains immmutable list of comments. Helper methods for getting specific comments, calculating indent, aligning by some criteria, what's needed. ImmTreeListPersister is missing, so create it. 
    8080 * persist 
    8181  * '''CommentPersister''' - Persister for Comments. Its implementation is trivial, since it persists immutables.