Search in sources :

Example 1 with PrintSwitchListAction

use of jmri.jmrit.operations.automation.actions.PrintSwitchListAction in project JMRI by JMRI.

the class AutomationItem method getActionList.

/**
     * Gets a list of all known automation actions
     * 
     * @return list of automation actions
     */
public List<Action> getActionList() {
    List<Action> list = new ArrayList<Action>();
    list.add(new NoAction());
    list.add(new BuildTrainAction());
    list.add(new BuildTrainIfSelectedAction());
    list.add(new PrintTrainManifestAction());
    list.add(new PrintTrainManifestIfSelectedAction());
    list.add(new RunTrainAction());
    list.add(new MoveTrainAction());
    list.add(new TerminateTrainAction());
    list.add(new ResetTrainAction());
    list.add(new IsTrainEnRouteAction());
    list.add(new WaitTrainAction());
    list.add(new WaitTrainTerminatedAction());
    list.add(new ActivateTimetableAction());
    list.add(new ApplyTimetableAction());
    list.add(new SelectTrainAction());
    list.add(new DeselectTrainAction());
    list.add(new PrintSwitchListAction());
    //        list.add(new PrintSwitchListChangesAction()); // see UpdateSwitchListAction
    list.add(new UpdateSwitchListAction());
    list.add(new WaitSwitchListAction());
    list.add(new RunSwitchListAction());
    list.add(new RunSwitchListChangesAction());
    list.add(new RunAutomationAction());
    list.add(new ResumeAutomationAction());
    list.add(new StopAutomationAction());
    list.add(new MessageYesNoAction());
    list.add(new GotoAction());
    list.add(new GotoSuccessAction());
    list.add(new GotoFailureAction());
    list.add(new HaltAction());
    return list;
}
Also used : PrintTrainManifestAction(jmri.jmrit.operations.automation.actions.PrintTrainManifestAction) GotoSuccessAction(jmri.jmrit.operations.automation.actions.GotoSuccessAction) RunAutomationAction(jmri.jmrit.operations.automation.actions.RunAutomationAction) StopAutomationAction(jmri.jmrit.operations.automation.actions.StopAutomationAction) IsTrainEnRouteAction(jmri.jmrit.operations.automation.actions.IsTrainEnRouteAction) GotoAction(jmri.jmrit.operations.automation.actions.GotoAction) DeselectTrainAction(jmri.jmrit.operations.automation.actions.DeselectTrainAction) PrintTrainManifestIfSelectedAction(jmri.jmrit.operations.automation.actions.PrintTrainManifestIfSelectedAction) RunSwitchListChangesAction(jmri.jmrit.operations.automation.actions.RunSwitchListChangesAction) RunTrainAction(jmri.jmrit.operations.automation.actions.RunTrainAction) WaitSwitchListAction(jmri.jmrit.operations.automation.actions.WaitSwitchListAction) BuildTrainAction(jmri.jmrit.operations.automation.actions.BuildTrainAction) SelectTrainAction(jmri.jmrit.operations.automation.actions.SelectTrainAction) WaitTrainAction(jmri.jmrit.operations.automation.actions.WaitTrainAction) ApplyTimetableAction(jmri.jmrit.operations.automation.actions.ApplyTimetableAction) Action(jmri.jmrit.operations.automation.actions.Action) ResumeAutomationAction(jmri.jmrit.operations.automation.actions.ResumeAutomationAction) WaitTrainTerminatedAction(jmri.jmrit.operations.automation.actions.WaitTrainTerminatedAction) RunSwitchListAction(jmri.jmrit.operations.automation.actions.RunSwitchListAction) HaltAction(jmri.jmrit.operations.automation.actions.HaltAction) MessageYesNoAction(jmri.jmrit.operations.automation.actions.MessageYesNoAction) NoAction(jmri.jmrit.operations.automation.actions.NoAction) GotoFailureAction(jmri.jmrit.operations.automation.actions.GotoFailureAction) MoveTrainAction(jmri.jmrit.operations.automation.actions.MoveTrainAction) PrintTrainManifestAction(jmri.jmrit.operations.automation.actions.PrintTrainManifestAction) ActivateTimetableAction(jmri.jmrit.operations.automation.actions.ActivateTimetableAction) BuildTrainIfSelectedAction(jmri.jmrit.operations.automation.actions.BuildTrainIfSelectedAction) PrintSwitchListAction(jmri.jmrit.operations.automation.actions.PrintSwitchListAction) UpdateSwitchListAction(jmri.jmrit.operations.automation.actions.UpdateSwitchListAction) ResetTrainAction(jmri.jmrit.operations.automation.actions.ResetTrainAction) TerminateTrainAction(jmri.jmrit.operations.automation.actions.TerminateTrainAction) MoveTrainAction(jmri.jmrit.operations.automation.actions.MoveTrainAction) IsTrainEnRouteAction(jmri.jmrit.operations.automation.actions.IsTrainEnRouteAction) SelectTrainAction(jmri.jmrit.operations.automation.actions.SelectTrainAction) ArrayList(java.util.ArrayList) StopAutomationAction(jmri.jmrit.operations.automation.actions.StopAutomationAction) GotoFailureAction(jmri.jmrit.operations.automation.actions.GotoFailureAction) ResetTrainAction(jmri.jmrit.operations.automation.actions.ResetTrainAction) GotoSuccessAction(jmri.jmrit.operations.automation.actions.GotoSuccessAction) HaltAction(jmri.jmrit.operations.automation.actions.HaltAction) ResumeAutomationAction(jmri.jmrit.operations.automation.actions.ResumeAutomationAction) TerminateTrainAction(jmri.jmrit.operations.automation.actions.TerminateTrainAction) RunAutomationAction(jmri.jmrit.operations.automation.actions.RunAutomationAction) ActivateTimetableAction(jmri.jmrit.operations.automation.actions.ActivateTimetableAction) BuildTrainAction(jmri.jmrit.operations.automation.actions.BuildTrainAction) GotoAction(jmri.jmrit.operations.automation.actions.GotoAction) PrintSwitchListAction(jmri.jmrit.operations.automation.actions.PrintSwitchListAction) MessageYesNoAction(jmri.jmrit.operations.automation.actions.MessageYesNoAction) WaitTrainAction(jmri.jmrit.operations.automation.actions.WaitTrainAction) RunSwitchListChangesAction(jmri.jmrit.operations.automation.actions.RunSwitchListChangesAction) WaitTrainTerminatedAction(jmri.jmrit.operations.automation.actions.WaitTrainTerminatedAction) DeselectTrainAction(jmri.jmrit.operations.automation.actions.DeselectTrainAction) UpdateSwitchListAction(jmri.jmrit.operations.automation.actions.UpdateSwitchListAction) BuildTrainIfSelectedAction(jmri.jmrit.operations.automation.actions.BuildTrainIfSelectedAction) MessageYesNoAction(jmri.jmrit.operations.automation.actions.MessageYesNoAction) NoAction(jmri.jmrit.operations.automation.actions.NoAction) RunSwitchListAction(jmri.jmrit.operations.automation.actions.RunSwitchListAction) PrintTrainManifestIfSelectedAction(jmri.jmrit.operations.automation.actions.PrintTrainManifestIfSelectedAction) RunTrainAction(jmri.jmrit.operations.automation.actions.RunTrainAction) WaitSwitchListAction(jmri.jmrit.operations.automation.actions.WaitSwitchListAction) ApplyTimetableAction(jmri.jmrit.operations.automation.actions.ApplyTimetableAction)

Aggregations

ArrayList (java.util.ArrayList)1 Action (jmri.jmrit.operations.automation.actions.Action)1 ActivateTimetableAction (jmri.jmrit.operations.automation.actions.ActivateTimetableAction)1 ApplyTimetableAction (jmri.jmrit.operations.automation.actions.ApplyTimetableAction)1 BuildTrainAction (jmri.jmrit.operations.automation.actions.BuildTrainAction)1 BuildTrainIfSelectedAction (jmri.jmrit.operations.automation.actions.BuildTrainIfSelectedAction)1 DeselectTrainAction (jmri.jmrit.operations.automation.actions.DeselectTrainAction)1 GotoAction (jmri.jmrit.operations.automation.actions.GotoAction)1 GotoFailureAction (jmri.jmrit.operations.automation.actions.GotoFailureAction)1 GotoSuccessAction (jmri.jmrit.operations.automation.actions.GotoSuccessAction)1 HaltAction (jmri.jmrit.operations.automation.actions.HaltAction)1 IsTrainEnRouteAction (jmri.jmrit.operations.automation.actions.IsTrainEnRouteAction)1 MessageYesNoAction (jmri.jmrit.operations.automation.actions.MessageYesNoAction)1 MoveTrainAction (jmri.jmrit.operations.automation.actions.MoveTrainAction)1 NoAction (jmri.jmrit.operations.automation.actions.NoAction)1 PrintSwitchListAction (jmri.jmrit.operations.automation.actions.PrintSwitchListAction)1 PrintTrainManifestAction (jmri.jmrit.operations.automation.actions.PrintTrainManifestAction)1 PrintTrainManifestIfSelectedAction (jmri.jmrit.operations.automation.actions.PrintTrainManifestIfSelectedAction)1 ResetTrainAction (jmri.jmrit.operations.automation.actions.ResetTrainAction)1 ResumeAutomationAction (jmri.jmrit.operations.automation.actions.ResumeAutomationAction)1