/** * For use by the acquisition panel code (to update offset setting) Do not get into the internals * of this plugin without relying on ASIdiSPIM.api * * @param side side for which the setup panel is desired) * @return desired instance of the setup Panel (either A or B) */ public SetupPanel getSetupPanel(Devices.Sides side) { if (side.equals(Devices.Sides.A)) return setupPanelA_; else if (side.equals(Devices.Sides.B)) return setupPanelB_; // this can not be reached unless someone adds more sides than A and B return null; }