Skip to content

Commit f981bde

Browse files
committed
Add ggen validation msg
1 parent 4202f05 commit f981bde

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

plugins/core/hu.bme.mit.gamma.genmodel.model/src/hu/bme/mit/gamma/genmodel/util/GenmodelValidator.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,13 @@ public Collection<ValidationResultMessage> checkTasks(Verification verification)
242242
new ReferenceInfo(GenmodelModelPackage.Literals.VERIFICATION__QUERY_FILES, index)));
243243
}
244244
}
245+
if (verification.isBackAnnotateToOriginal()) {
246+
validationResultMessages.add(new ValidationResultMessage(ValidationResult.INFO,
247+
"This setting can be used only if the default name is not changed during the " +
248+
"derivation of the analysis model ('file' setting is not used in the analysis task)",
249+
new ReferenceInfo(GenmodelModelPackage.Literals.VERIFICATION__BACK_ANNOTATE_TO_ORIGINAL)));
250+
}
251+
245252
return validationResultMessages;
246253
}
247254

0 commit comments

Comments
 (0)