001package apps.gui3.dp3;
002
003import jmri.util.BusyGlassPane;
004
005/**
006 * Interface for the container of a set of PaneProgPanes. The panes use services
007 * provided here to work with buttons and the busy cursor.
008 *
009 * @author Bob Jacobsen Copyright (C) 2010
010 */
011public class DecoderPro3Panes extends javax.swing.JPanel
012        implements jmri.jmrit.symbolicprog.tabbedframe.PaneContainer {
013
014    @Override
015    public boolean isBusy() {
016        return false;
017    }
018
019    @Override
020    public void paneFinished() {
021    }
022
023    /**
024     * Enable the read/write buttons.
025     * <p>
026     * In addition, if a programming mode pane is present, its "set" button is
027     * enabled.
028     *
029     * @param enable Are reads possible? If false, so not enable the read
030     *               buttons.
031     */
032    @Override
033    public void enableButtons(boolean enable) {
034    }
035
036    @Override
037    public void prepGlassPane(javax.swing.AbstractButton activeButton) {
038    }
039
040    @Override
041    public BusyGlassPane getBusyGlassPane() {
042        return bgp;
043    }
044
045    BusyGlassPane bgp = new BusyGlassPane(null, null, null, null);
046}