Progress Report of Week 4: February 19 – February 25
·
Finished Search/Replace functionality: (10 hours)
- “Replace Text” replaces the selected text only if the
selected contents contain just plain text, and no start/end tags of an
element. It displays an error message otherwise.
- “Rename Element” renames an element only if the
start tag of an element is selected; otherwise it displays an error
message.
- Search/Replace of attributes use the attribute
information from the element, not from JTable.
- “Replace Attribute Value” and “Rename Attribute
Name” functionalities are not available in pop-up view of attributes,
because there is no way to find out selected attributes. However, “Search”
and “Replace All (or Rename All)” functionalities are available in pop-up
view.
·
Worked on ParagraphView: Logged messages when paint() method starts and ends in all Views. The paint()
method of HiddenTagView
seems to be called at the right places. (4 hours)
·
Implemented undo/redo in conjunction with change
of views – say from pop-up view for attributes to in-line attribute view and
vice versa. (1
hour)
·
Implemented JFileChooser with Save
file functionality. (45 minutes).