From 0accb6df34381842fd4c6132d882d6ec11e7801d Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Fri, 8 Nov 2019 17:06:06 +0100 Subject: [PATCH] Startup --- config/plugins.properties | 2 +- plugins/Eiger.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/plugins.properties b/config/plugins.properties index b3efcc5..04bb087 100755 --- a/config/plugins.properties +++ b/config/plugins.properties @@ -1,4 +1,4 @@ -Eiger.java=enabled +Eiger.java=disabled AthosCameras.java=disabled ScreenPanel5.java=disabled ScreenPanelBack.java=disabled diff --git a/plugins/Eiger.java b/plugins/Eiger.java index 62955e3..b08f698 100644 --- a/plugins/Eiger.java +++ b/plugins/Eiger.java @@ -51,14 +51,14 @@ public class Eiger extends Panel { initComponents(); ((JSpinner.ListEditor) spinnerHar1.getEditor()).getTextField().setHorizontalAlignment(javax.swing.SwingConstants.TRAILING); ((JSpinner.ListEditor) spinnerHar2.getEditor()).getTextField().setHorizontalAlignment(javax.swing.SwingConstants.TRAILING); - SwingUtils.setEnumCombo(comboID, ID.class); + SwingUtils.setEnumCombo(comboID, State.class); SwingUtils.setEnumCombo(comboSwitch, Switching.class); SwingUtils.setEnumCombo(comboPol1, Polarization.class); SwingUtils.setEnumCombo(comboPol2, Polarization.class); SwingUtils.setEnumCombo(comboImgPol1, Polarization.class); SwingUtils.setEnumCombo(comboImgPol2, Polarization.class); SwingUtils.setEnumCombo(comboImgMethod, ImgMethod.class); - comboID.setSelectedIndex(0); + Component[] parameterControls = new Component[]{comboID}; /* for (JPanel panel : new JPanel[]{panelBeamline, panelImgControls, panelSpectrum}){