Andrei486 / uml-diagram-collab

0 stars 0 forks source link

Implement class dedicated to element creation #37

Closed Andrei486 closed 10 months ago

Andrei486 commented 10 months ago

Resolves #34.

The main addition is the ElementCreator class along with the template.xml file that it uses. This new utility class is used in the add command to create an element instead of directly calling the dependency injector - it allows other classes to ignore the actual paths for the FXML templates.

Once we do IDs we will add the ID to newly created elements inside the ElementCreator.