|
@@ -172,6 +172,15 @@ public class SettingsPopUp extends JFrame implements Observer {
|
|
.setToolTipText("True if SmartDevice names should be shown");
|
|
.setToolTipText("True if SmartDevice names should be shown");
|
|
pVisualisation.add(chckbxDeviceNames);
|
|
pVisualisation.add(chckbxDeviceNames);
|
|
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ chckbxDebugMode = new JCheckBox("Show debug information");
|
|
|
|
+ chckbxDebugMode.setBounds(0, 240, 240, 25);
|
|
|
|
+ chckbxDebugMode.addActionListener(a -> config
|
|
|
|
+ .setDebugModus(chckbxDebugMode.isSelected()));
|
|
|
|
+ chckbxDebugMode
|
|
|
|
+ .setToolTipText("True if debug information should be shown");
|
|
|
|
+ pVisualisation.add(chckbxDebugMode);
|
|
/****************************************************************************
|
|
/****************************************************************************
|
|
* Show Further tabs for: Imports, Simulation, Graphics e.g.
|
|
* Show Further tabs for: Imports, Simulation, Graphics e.g.
|
|
****************************************************************************/
|
|
****************************************************************************/
|
|
@@ -206,6 +215,7 @@ public class SettingsPopUp extends JFrame implements Observer {
|
|
private JCheckBox chckbxLinkToolTips;
|
|
private JCheckBox chckbxLinkToolTips;
|
|
private JCheckBox chckbxLinkNames;
|
|
private JCheckBox chckbxLinkNames;
|
|
private JCheckBox chckbxSmartdevices;
|
|
private JCheckBox chckbxSmartdevices;
|
|
|
|
+ private JCheckBox chckbxDebugMode;
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void update(Observable o, Object arg) {
|
|
public void update(Observable o, Object arg) {
|
|
@@ -223,5 +233,6 @@ public class SettingsPopUp extends JFrame implements Observer {
|
|
chckbxSmartdevices.setSelected(config.isShowSmartDevices());
|
|
chckbxSmartdevices.setSelected(config.isShowSmartDevices());
|
|
chckbxDeviceNames.setSelected(config.isShowSmartDeviceNames());
|
|
chckbxDeviceNames.setSelected(config.isShowSmartDeviceNames());
|
|
chckbxLinkNames.setSelected(config.isShowLinkNameList());
|
|
chckbxLinkNames.setSelected(config.isShowLinkNameList());
|
|
|
|
+ chckbxDebugMode.setSelected(config.isDebugModus());
|
|
}
|
|
}
|
|
}
|
|
}
|