Class SaveTwissEventListener
- java.lang.Object
-
- cern.accsoft.steering.jmad.gui.actions.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 Summary
Constructors Constructor Description SaveTwissEventListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
Has to be called as soon as all the collaborators are injected.void
saveTwissEventListener()
void
setJmadGuiActions(JMadGuiActions jmadGuiActions)
void
setModelManager(cern.accsoft.steering.jmad.model.manage.JMadModelManager modelManager)
-
-
-
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)
-
-