Skip to content

Commit

Permalink
#332 Add first three official tips
Browse files Browse the repository at this point in the history
  • Loading branch information
Prof. Robillard committed Nov 15, 2020
1 parent b1de432 commit e0fbb5d
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 4 deletions.
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=2
tips.quantity=3

# Menu
file.text=File
Expand Down
Binary file modified tipdata/tip_images/tip1.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 removed tipdata/tip_images/tip2.PNG
Binary file not shown.
Binary file added tipdata/tip_images/tip2.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/tip3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions tipdata/tips/tip-2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"title": "Copying Diagram to Clipboard",
"title": "Creating Nodes",
"content": [
{ "image": "tip2.PNG"},
{ "text": "Using the \"copy to clipboard\" tool is a convenient way to screen grab the current diagram with no grid."}
{ "text": "Selecting a node type in the toolbar enables the corresponding \"Node creation tool\". With a node creation tool enabled, click on an empty space in the diagram to create a new node of that type. Rolling over the tool in the toolbar shows a tooltip with the name of the node type."},
{ "image": "tip2.png"}
]
}
7 changes: 7 additions & 0 deletions tipdata/tips/tip-3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"title": "Creating Edges",
"content": [
{ "text": "To create an edge between two nodes, select an \"Edge Creation Tool\" in the toolbar, click in the start edge, then start dragging with the mouse. This will enable a \"Rubberband\" view of the start and end nodes for the edge. Release the mouse on the destination edge to complete the operation. Edges are laid out automatically: to control their path it is necessary to move their start and end nodes. The edge creation operation will not have any effect if the edge type is not a valid way to connect the selected nodes." },
{ "image": "tip3.png"}
]
}

0 comments on commit e0fbb5d

Please sign in to comment.