コード例 #1
0
 @EventHandlerDelegate
 void cmdSave_actionPerformed(
     ActionEvent event) //  ${GENERATED-CODE-BLOCK-START:EVENT_HANDLER_DELEGATE}
     { //  ${GENERATED-CODE-BLOCK-END:EVENT_HANDLER_DELEGATE}
   if (formular.verifyFormularComponents()) {
     try {
       formular.save();
     } catch (Exception e) {
       e.printStackTrace();
     }
   }
 } //  ${GENERATED-CODE-LINE:EVENT_HANDLER_DELEGATE}
コード例 #2
0
 @EventHandlerDelegate
 void cmdSaveAndNew_actionPerformed(
     ActionEvent event) //  ${GENERATED-CODE-BLOCK-START:EVENT_HANDLER_DELEGATE}
     { //  ${GENERATED-CODE-BLOCK-END:EVENT_HANDLER_DELEGATE}
   if (formular.verifyFormularComponents()) {
     try {
       formular.save();
       formular.reset(eu.open_ecvet.app.model.Learningagreementlist.VT);
     } catch (Exception e) {
       e.printStackTrace();
     }
   }
 } //  ${GENERATED-CODE-LINE:EVENT_HANDLER_DELEGATE}