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 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 RunSwitchListChangesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancelAction()
void
doAction()
protected void
doAction(boolean isChanged)
Creates a custom 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
-
RunSwitchListChangesAction
public RunSwitchListChangesAction()
-
-
Method Detail
-
doAction
protected 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.
-
cancelAction
public void cancelAction()
- Specified by:
cancelAction
in classAction
-
-