Skip to content
Snippets Groups Projects
Commit 502aef7e authored by Ludovic Apvrille's avatar Ludovic Apvrille
Browse files

attack trees: update

parent 3017c672
No related branches found
No related tags found
No related merge requests found
...@@ -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 RequirementPanel(MainGUI _mgui) { public AttackTreePanel(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) {
AttackTreeDiagramToolBar toolBarAt = new AttackTreeDiagramToolBar(mgui); AttackTreeDiagramToolbar toolBarAt = new AttackTreeDiagramToolbar(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, toolBarReq); atdp = new AttackTreeDiagramPanel(mgui, toolBarAt);
atdp.setName(s); atdp.setName(s);
atdp.tp = this; atdp.tp = this;
tdp = atdp; tdp = atdp;
......
...@@ -52,9 +52,9 @@ import javax.swing.*; ...@@ -52,9 +52,9 @@ import javax.swing.*;
import ui.*; import ui.*;
public class AttackTreeDiagramToolBar extends TToolBar { public class AttackTreeDiagramToolbar extends TToolBar {
public AttackTreeToolBar(MainGUI _mgui) { public AttackTreeDiagramToolbar(MainGUI _mgui) {
super(_mgui); super(_mgui);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment