Changes between Version 30 and Version 31 of COMMENT_FRAMES_R0
- Timestamp:
- 09/20/09 18:09:43 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
COMMENT_FRAMES_R0
v30 v31 75 75 * '''CommentLogic''' - Responsible for adding comment, scrolling views. Adding comment changes the model, scrolling changes some property in the current FrameView. 76 76 * 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. 78 78 * '''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. 80 80 * persist 81 81 * '''CommentPersister''' - Persister for Comments. Its implementation is trivial, since it persists immutables.