Skip to content

Commit

Permalink
#332 Add tips 27 and 28
Browse files Browse the repository at this point in the history
  • Loading branch information
prmr committed Dec 2, 2020
1 parent afad70e commit ba5d0c6
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/ca/mcgill/cs/jetuml/JetUML.properties
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ warning.version.title=Diagram Version Migration
files.image.name=Image Files
tips.jsons.directory=/tips
tips.images.directory=/tip_images
tips.quantity=26
tips.quantity=28
tips.button.next.text=Next Tip
tips.button.previous.text=Previous Tip
tips.button.close.text=Close
Expand Down
Binary file added tipdata/tip_images/tip27.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tipdata/tip_images/tip28a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added tipdata/tip_images/tip28b.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions tipdata/tips/tip-27.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"title": "Adding Self-Calls in Sequence Diagrams",
"content": [
{ "text": "JetUML supports self-calls in sequence diagrams. To create a self-call, select the Call Edge creation tool and drag the rubber band within an activation box." },
{ "image": "tip27.png"}
]
}
9 changes: 9 additions & 0 deletions tipdata/tips/tip-28.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"title": "Adding Constructor Calls in Sequence Diagrams",
"content": [
{ "text": "With JetUML you can represent constructor calls in sequence diagrams. To add a constructor call, select the Call Edge creation tool and drag the rubber band from a source life line or activation box to the implicit parameter node." },
{ "image": "tip28a.png"},
{ "text": "The call will be shown with the label «create» and the implicit parameter will be positioned vertically aligned with the call. An activation box will be attached to the implicit parameter: use it to model calls that originate from the constructor." },
{ "image": "tip28b.png"}
]
}

0 comments on commit ba5d0c6

Please sign in to comment.