ZoomableLabel note = (ZoomableLabel) nodeView.getContent(NodeView.NOTE_VIEWER_POSITION);
String oldText = note != null ? note.getText() : null;
String newText = null;
if (nodeView.getMap().showNotes()) {
final NodeModel model = nodeView.getModel();
final NoteModel extension = NoteModel.getNote(model);
if (extension != null)
newText = extension.getHtml();
}
if (oldText == null && newText == null) {
return;
}
final ZoomableLabel view;