prmr / JetUML

A desktop application for fast UML diagramming.
GNU General Public License v3.0
619 stars 121 forks source link

Edge Constraint Classification + Feedback System #517

Closed ArthusWQZ closed 8 months ago

ArthusWQZ commented 8 months ago

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.