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