[#1704] Add change listener for stage selector in component analysis

This commit is contained in:
SiboVG 2022-09-30 17:09:21 +02:00
parent 4e28d80d97
commit 685dffe960

View File

@ -171,8 +171,10 @@ public class ComponentAnalysisDialog extends JDialog implements StateChangeListe
// Stage and motor selection: // Stage and motor selection:
//// Active stages: //// Active stages:
StageSelector stageSelector = new StageSelector(rkt);
rkt.addChangeListener(stageSelector);
panel.add(new JLabel(trans.get("componentanalysisdlg.lbl.activestages")), "spanx, split, gapafter rel"); panel.add(new JLabel(trans.get("componentanalysisdlg.lbl.activestages")), "spanx, split, gapafter rel");
panel.add(new StageSelector( rkt), "gapafter paragraph"); panel.add(stageSelector, "gapafter paragraph");
//// Motor configuration: //// Motor configuration:
JLabel label = new JLabel(trans.get("componentanalysisdlg.lbl.motorconf")); JLabel label = new JLabel(trans.get("componentanalysisdlg.lbl.motorconf"));