Class RunSwitchListChangesAction
- java.lang.Object
- 
- jmri.beans.PropertyChangeSupport
- 
- jmri.jmrit.operations.automation.actions.Action
- 
- jmri.jmrit.operations.automation.actions.RunSwitchListChangesAction
 
 
 
- 
- All Implemented Interfaces:
- PropertyChangeFirer,- PropertyChangeProvider
 - Direct Known Subclasses:
- RunSwitchListAction
 
 public class RunSwitchListChangesAction extends Action 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static booleanIS_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.PropertyChangeSupportpropertyChangeSupport
 
- 
 - 
Constructor SummaryConstructors Constructor Description RunSwitchListChangesAction()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancelAction()voiddoAction()protected voiddoAction(boolean isChanged)Creates a custom switch list for each location that is selected and there's new work for that location.intgetCode()java.lang.StringgetName()- 
Methods inherited from class jmri.jmrit.operations.automation.actions.ActionfinishAction, 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.PropertyChangeSupportaddPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
 
- 
 
- 
- 
- 
Field Detail- 
IS_CHANGEDprotected static final boolean IS_CHANGED - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
RunSwitchListChangesActionpublic RunSwitchListChangesAction() 
 
- 
 - 
Method Detail- 
doActionprotected void doAction(boolean isChanged) Creates a custom switch list for each location that is selected and there's new work for that location.common code see RunSwitchListAction.java - Parameters:
- isChanged- if set true only locations with changes will get a custom switch list.
 
 - 
cancelActionpublic void cancelAction() - Specified by:
- cancelActionin class- Action
 
 
- 
 
-