Example #1
0
 @Override
 public AuthorAnnotation newAnnotation() {
   AuthorAnnotation a = (AuthorAnnotation) super.newAnnotation();
   a.setAuthor(author.getText());
   return a;
 }
Example #2
0
 public void setAnnotation(AuthorAnnotation annotation) {
   super.setAnnotation(annotation);
   author.setText(annotation.getAuthor());
 }