Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
JHotDraw Mirror
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Public Space of Research Group Software Construction
teaching
JHotDraw Mirror
Commits
6f684647
Commit
6f684647
authored
22 years ago
by
ricardo_padilha
Browse files
Options
Downloads
Patches
Plain Diff
Small bug fix in mouseUp
parent
ba4ba39a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
JHotDraw/src/CH/ifa/draw/standard/SelectionTool.java
+2
-1
2 additions, 1 deletion
JHotDraw/src/CH/ifa/draw/standard/SelectionTool.java
jhotdraw6/src/org/jhotdraw/standard/SelectionTool.java
+2
-1
2 additions, 1 deletion
jhotdraw6/src/org/jhotdraw/standard/SelectionTool.java
with
4 additions
and
2 deletions
JHotDraw/src/CH/ifa/draw/standard/SelectionTool.java
+
2
−
1
View file @
6f684647
...
@@ -108,6 +108,7 @@ public class SelectionTool extends AbstractTool {
...
@@ -108,6 +108,7 @@ public class SelectionTool extends AbstractTool {
}
}
if
(
view
()
!=
null
)
{
if
(
view
()
!=
null
)
{
view
().
unfreezeView
();
view
().
unfreezeView
();
editor
().
figureSelectionChanged
(
view
());
}
}
}
}
...
@@ -115,7 +116,7 @@ public class SelectionTool extends AbstractTool {
...
@@ -115,7 +116,7 @@ public class SelectionTool extends AbstractTool {
* Factory method to create a Handle tracker. It is used to track a handle.
* Factory method to create a Handle tracker. It is used to track a handle.
*/
*/
protected
Tool
createHandleTracker
(
DrawingView
view
,
Handle
handle
)
{
protected
Tool
createHandleTracker
(
DrawingView
view
,
Handle
handle
)
{
return
new
HandleTracker
(
editor
(),
new
UndoableHandle
(
handle
,
view
));
return
new
HandleTracker
(
editor
(),
new
UndoableHandle
(
handle
));
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
jhotdraw6/src/org/jhotdraw/standard/SelectionTool.java
+
2
−
1
View file @
6f684647
...
@@ -108,6 +108,7 @@ public class SelectionTool extends AbstractTool {
...
@@ -108,6 +108,7 @@ public class SelectionTool extends AbstractTool {
}
}
if
(
view
()
!=
null
)
{
if
(
view
()
!=
null
)
{
view
().
unfreezeView
();
view
().
unfreezeView
();
editor
().
figureSelectionChanged
(
view
());
}
}
}
}
...
@@ -115,7 +116,7 @@ public class SelectionTool extends AbstractTool {
...
@@ -115,7 +116,7 @@ public class SelectionTool extends AbstractTool {
* Factory method to create a Handle tracker. It is used to track a handle.
* Factory method to create a Handle tracker. It is used to track a handle.
*/
*/
protected
Tool
createHandleTracker
(
DrawingView
view
,
Handle
handle
)
{
protected
Tool
createHandleTracker
(
DrawingView
view
,
Handle
handle
)
{
return
new
HandleTracker
(
editor
(),
new
UndoableHandle
(
handle
,
view
));
return
new
HandleTracker
(
editor
(),
new
UndoableHandle
(
handle
));
}
}
/**
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment