This pull request turns edge constraints from methods to separate classes.
When an edge constraint is not satisfied during semantic validation, the validation is stopped and an error toast is displayed with the text associated to the edge constraint in JetUML.properties.
The NotificationHandler class has been renamed NotificationService and now has more information and its lifecycle (especially the initialization of its required attributes).
It also contains new and updated tests to account for the changes/additions to the code.
This pull request turns edge constraints from methods to separate classes.
When an edge constraint is not satisfied during semantic validation, the validation is stopped and an error toast is displayed with the text associated to the edge constraint in
JetUML.properties
.The
NotificationHandler
class has been renamedNotificationService
and now has more information and its lifecycle (especially the initialization of its required attributes).It also contains new and updated tests to account for the changes/additions to the code.