- if (viewport.getAbovePIDThreshold())
- {
- int threshold = SliderPanel.setPIDSliderSource(alignPanel, cs,
- "Background");
- viewport.setThreshold(threshold);
- }
-
- if (viewport.getConservationSelected())
- {
- cs.setConservationInc(SliderPanel.setConservationSlider(alignPanel,
- cs, "Background"));
- }
+ // ? not needed as handled by SliderPanel.valueChanged?
+// if (viewport.getAbovePIDThreshold())
+// {
+ // int threshold = SliderPanel.setPIDSliderSource(alignPanel, cs,
+// "Background");
+ //todo is threshold held in viewport style or in colour scheme?
+// viewport.setThreshold(threshold);
+ // }
+ //
+ // if (viewport.getConservationSelected())
+ // {
+ // cs.setConservationInc(SliderPanel.setConservationSlider(alignPanel,
+ // cs, "Background"));
+ // }