001package jmri.jmrit.operations.automation.actions; 002 003 004public class NoAction extends Action { 005 006 private static final int _code = ActionCodes.NO_ACTION; 007 008 @Override 009 public int getCode() { 010 return _code; 011 } 012 013 @Override 014 public String getName() { 015 return Bundle.getMessage("NoAction"); 016 } 017 018 @Override 019 public void doAction() { 020 finishAction(true); 021 } 022 023 @Override 024 public void cancelAction() { 025 // no cancel for this action 026 } 027 028}