forked from prmr/JetUML
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
prmr#416 Move creation of ConstructorCall to SequenceDiagramBuilder
When a user attempts to create a constructor call, they use the normal "CallEdge" creation tool from the tool bar. This design decision was to avoid forcing the user to use two very similar tools to create call and constructor edges. However, internally if a constructor call is created, a ConstructorEdge must be used, so it's necessary to convert the original CallEdge to a Constructor Edge. This was initially done in the DiagramCanvasController, leading to a special case and coupling with the SequenceDiagram Builder. To avoid this design weakness, the conversion from CallEdge to ConstructorEdge is moved to the SequenceDiagramBuilder.
- Loading branch information
1 parent
dc7cbee
commit fdd4b0f
Showing
3 changed files
with
10 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters