Package Functions | |
void | renderMessage (MarkupWriter writer) |
Definition at line 7 of file DisplayPaperComments.java.
void renderMessage | ( | MarkupWriter | writer | ) | [package] |
Definition at line 10 of file DisplayPaperComments.java.
00010 { 00011 00012 if(_dataset != null){ 00013 _paper = _dataset.getPaper(); 00014 } 00015 00016 if(_yaxis != null){ 00017 _dataset = _yaxis.getDataset(); 00018 _paper = _dataset.getPaper(); 00019 } 00020 00021 if(_reaction != null){ 00022 _yaxis = _reaction.getYAxis(); 00023 _dataset = _yaxis.getDataset(); 00024 _paper = _dataset.getPaper(); 00025 } 00026 00027 if ( _paper != null) { 00028 for (String comment : _paper.getComments()) { 00029 writer.element("p"); 00030 writer.write(comment); 00031 writer.end(); 00032 } 00033 } 00034 }