示例#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());
 }