Class GenerateSwitchListChangesAction
- java.lang.Object
-
- jmri.beans.PropertyChangeSupport
-
- jmri.jmrit.operations.automation.actions.Action
-
- jmri.jmrit.operations.automation.actions.GenerateSwitchListChangesAction
-
- All Implemented Interfaces:
PropertyChangeFirer
,PropertyChangeProvider
- Direct Known Subclasses:
GenerateSwitchListAction
public class GenerateSwitchListChangesAction extends Action
-
-
Field Summary
Fields Modifier and Type Field Description protected static boolean
IS_CHANGED
-
Fields inherited from class jmri.jmrit.operations.automation.actions.Action
_automationItem, ACTION_COMPLETE_CHANGED_PROPERTY, ACTION_GOTO_CHANGED_PROPERTY, ACTION_HALT_CHANGED_PROPERTY, ACTION_RUNNING_CHANGED_PROPERTY, CLOSED, FINISH_FAILED, HALT, NO_MESSAGE_SENT, OKAY
-
Fields inherited from class jmri.beans.PropertyChangeSupport
propertyChangeSupport
-
-
Constructor Summary
Constructors Constructor Description GenerateSwitchListChangesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelAction()
void
doAction()
protected void
doAction(boolean isChanged)
Generates the CSV file switch list for each location that is selected and there's new work for that location.int
getCode()
java.lang.String
getName()
-
Methods inherited from class jmri.jmrit.operations.automation.actions.Action
finishAction, finishAction, getActionFailedString, getActionString, getActionSuccessfulString, getAutomationItem, getCode, getComboBox, getFormatedMessage, getStatus, isAutomationMenuEnabled, isConcurrentAction, isGotoMenuEnabled, isMessageFailEnabled, isMessageOkEnabled, isRouteMenuEnabled, isTrainMenuEnabled, sendMessage, setAutomationItem, setRunning, toString
-
Methods inherited from class jmri.beans.PropertyChangeSupport
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Field Detail
-
IS_CHANGED
protected static final boolean IS_CHANGED
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GenerateSwitchListChangesAction
public GenerateSwitchListChangesAction()
-
-
Method Detail
-
doAction
protected void doAction(boolean isChanged)
Generates the CSV file switch list for each location that is selected and there's new work for that location.common code see GenerateSwitchListAction.java
- Parameters:
isChanged
- if set true only locations with changes will get a custom switch list.
-
cancelAction
public void cancelAction()
- Specified by:
cancelAction
in classAction
-
-