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
502aef7e
Commit
502aef7e
authored
15 years ago
by
Ludovic Apvrille
Browse files
Options
Downloads
Patches
Plain Diff
attack trees: update
parent
3017c672
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/ui/AttackTreePanel.java
+3
-3
3 additions, 3 deletions
src/ui/AttackTreePanel.java
src/ui/atd/AttackTreeDiagramToolbar.java
+2
-2
2 additions, 2 deletions
src/ui/atd/AttackTreeDiagramToolbar.java
with
5 additions
and
5 deletions
src/ui/AttackTreePanel.java
+
3
−
3
View file @
502aef7e
...
@@ -56,7 +56,7 @@ import java.util.*;
...
@@ -56,7 +56,7 @@ import java.util.*;
public
class
AttackTreePanel
extends
TURTLEPanel
{
public
class
AttackTreePanel
extends
TURTLEPanel
{
public
AttackTreeDiagramPanel
atdp
;
public
AttackTreeDiagramPanel
atdp
;
public
Requirement
Panel
(
MainGUI
_mgui
)
{
public
AttackTree
Panel
(
MainGUI
_mgui
)
{
super
(
_mgui
);
super
(
_mgui
);
tabbedPane
=
new
JTabbedPane
();
tabbedPane
=
new
JTabbedPane
();
...
@@ -84,7 +84,7 @@ public class AttackTreePanel extends TURTLEPanel {
...
@@ -84,7 +84,7 @@ public class AttackTreePanel extends TURTLEPanel {
}
}
public
boolean
addAttackTreeDiagram
(
String
s
)
{
public
boolean
addAttackTreeDiagram
(
String
s
)
{
AttackTreeDiagramTool
B
ar
toolBarAt
=
new
AttackTreeDiagramTool
B
ar
(
mgui
);
AttackTreeDiagramTool
b
ar
toolBarAt
=
new
AttackTreeDiagramTool
b
ar
(
mgui
);
toolbars
.
add
(
toolBarAt
);
toolbars
.
add
(
toolBarAt
);
toolBarPanel
=
new
JPanel
();
toolBarPanel
=
new
JPanel
();
...
@@ -93,7 +93,7 @@ public class AttackTreePanel extends TURTLEPanel {
...
@@ -93,7 +93,7 @@ public class AttackTreePanel extends TURTLEPanel {
//toolBarPanel.setBackground(ColorManager.MainTabbedPaneSelect);
//toolBarPanel.setBackground(ColorManager.MainTabbedPaneSelect);
//The diagram
//The diagram
atdp
=
new
AttackTreeDiagramPanel
(
mgui
,
toolBar
Req
);
atdp
=
new
AttackTreeDiagramPanel
(
mgui
,
toolBar
At
);
atdp
.
setName
(
s
);
atdp
.
setName
(
s
);
atdp
.
tp
=
this
;
atdp
.
tp
=
this
;
tdp
=
atdp
;
tdp
=
atdp
;
...
...
This diff is collapsed.
Click to expand it.
src/ui/atd/AttackTreeDiagramToolbar.java
+
2
−
2
View file @
502aef7e
...
@@ -52,9 +52,9 @@ import javax.swing.*;
...
@@ -52,9 +52,9 @@ import javax.swing.*;
import
ui.*
;
import
ui.*
;
public
class
AttackTreeDiagramTool
B
ar
extends
TToolBar
{
public
class
AttackTreeDiagramTool
b
ar
extends
TToolBar
{
public
AttackTreeTool
B
ar
(
MainGUI
_mgui
)
{
public
AttackTree
Diagram
Tool
b
ar
(
MainGUI
_mgui
)
{
super
(
_mgui
);
super
(
_mgui
);
}
}
...
...
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