001package jmri.jmrit.symbolicprog;
002
003import javax.swing.JFrame;
004
005/**
006 * Action to export modified CV values to a Comma Separated Variable (CSV) data file.
007 *
008 * @author Bob Jacobsen Copyright (C) 2003, 2022
009 */
010public class CsvExportModifiedAction extends CsvExportAction {
011
012    public CsvExportModifiedAction(String actionName, CvTableModel pModel, JFrame pParent) {
013        super(actionName, pModel, pParent);
014        mModel = pModel;
015        mParent = pParent;
016    }
017
018    @Override
019    protected boolean isWritable(CvValue cv) {
020        return cv.getState() == AbstractValue.ValueState.EDITED;
021    }
022
023    // private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(CsvExportModifiedAction.class);
024}