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