Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mbe-tools
TTool
Commits
630a2ea4
Commit
630a2ea4
authored
8 years ago
by
apvrille
Browse files
Options
Downloads
Patches
Plain Diff
Update on graph management from TTool
parent
e25be69e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ui/graph/AUTGraphDisplay.java
+9
-2
9 additions, 2 deletions
src/ui/graph/AUTGraphDisplay.java
with
9 additions
and
2 deletions
src/ui/graph/AUTGraphDisplay.java
+
9
−
2
View file @
630a2ea4
...
...
@@ -902,7 +902,7 @@ public class AUTGraphDisplay implements MouseListener, ViewerListener, Runnable
protected
JCheckBox
internalActions
;
protected
JCheckBox
readActions
;
protected
JCheckBox
higherQuality
,
antialiasing
;
protected
JLabel
help
;
protected
JLabel
help
,
info
;
protected
boolean
exitOnClose
;
...
...
@@ -914,6 +914,9 @@ public class AUTGraphDisplay implements MouseListener, ViewerListener, Runnable
edges
=
_edges
;
exitOnClose
=
_exitOnClose
;
makeComponents
();
if
(
exitOnClose
)
{
setDefaultCloseOperation
(
WindowConstants
.
EXIT_ON_CLOSE
);
}
}
...
...
@@ -926,6 +929,7 @@ public class AUTGraphDisplay implements MouseListener, ViewerListener, Runnable
screenshot
.
addActionListener
(
this
);
close
.
addActionListener
(
this
);
help
=
new
JLabel
(
"Zoom with PageUp/PageDown, move with cursor keys"
);
info
=
new
JLabel
(
"Graph: "
+
graph
.
getNbOfStates
()
+
" states, "
+
graph
.
getNbOfTransitions
()
+
" transitions"
);
internalActions
=
new
JCheckBox
(
"Display internal actions"
,
true
);
internalActions
.
addActionListener
(
this
);
readActions
=
new
JCheckBox
(
"Display read/write actions"
,
true
);
...
...
@@ -954,7 +958,10 @@ public class AUTGraphDisplay implements MouseListener, ViewerListener, Runnable
jp01
.
add
(
antialiasing
);
JPanel
infoPanel
=
new
JPanel
(
new
BorderLayout
());
infoPanel
.
add
(
help
,
BorderLayout
.
NORTH
);
JPanel
labelPanel
=
new
JPanel
(
new
BorderLayout
());
labelPanel
.
add
(
help
,
BorderLayout
.
EAST
);
labelPanel
.
add
(
info
,
BorderLayout
.
WEST
);
infoPanel
.
add
(
labelPanel
,
BorderLayout
.
NORTH
);
infoPanel
.
add
(
close
,
BorderLayout
.
SOUTH
);
infoPanel
.
add
(
jp01
,
BorderLayout
.
CENTER
);
...
...
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