Class SaveTwissEventListener


  • public class SaveTwissEventListener
    extends java.lang.Object
    An action which shows a dialog to select a file and then saves the twiss of the actual model to the selected file.
    • Constructor Detail

      • SaveTwissEventListener

        public SaveTwissEventListener()
    • Method Detail

      • init

        public void init()
        Has to be called as soon as all the collaborators are injected. It checks that they are correctly set and configures listeners to them as needed.
        Throws:
        java.lang.IllegalStateException - if one of the collaborators is not correctly set
      • saveTwissEventListener

        @EventListener(SaveTwissEvent.class)
        public void saveTwissEventListener()
      • setModelManager

        public void setModelManager​(cern.accsoft.steering.jmad.model.manage.JMadModelManager modelManager)
      • setJmadGuiActions

        public void setJmadGuiActions​(JMadGuiActions jmadGuiActions)