コード例 #1
0
ファイル: ConditionalStep.java プロジェクト: susiesosby/eef
 /**
  * {@inheritDoc}
  *
  * @see org.eclipse.emf.eef.codegen.flow.Step#validateExecution()
  */
 public boolean validateExecution() {
   if (condition()) {
     return thenStep.validateExecution();
   } else {
     if (elseStep != null) {
       return elseStep.validateExecution();
     } else {
       return super.validateExecution();
     }
   }
 }