コード例 #1
0
 private void deleteLabelCommand(IPlainTextAnnotationProperty prop) {
   latestCommand.addCommand(new LabelDeletionCommand(prop));
   this.okButton.setEnabled(true);
 }
コード例 #2
0
 private void addCommand(IAnnotationProperty prop, Object newValue) {
   latestCommand.addCommand(new ChangeAnnotationPropertyCommand(prop, newValue));
   this.okButton.setEnabled(true);
 }
コード例 #3
0
 private void createLabelCommand(IPlainTextAnnotationProperty prop) {
   latestCommand.addCommand(new LabelCreationCommand(prop, this.labelPosCalc));
   this.okButton.setEnabled(true);
 }