view artifacts/src/main/java/org/dive4elements/river/artifacts/sinfo/collision/YearChoice.java @ 9074:766890addcb2

state To client communication;
author gernotbelger
date Fri, 18 May 2018 17:26:26 +0200
parents 2be202a8cb89
children 2f5052835b76
line wrap: on
line source
/* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU AGPL (>=v3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out the
 * documentation coming with Dive4Elements River for details.
 */

package org.dive4elements.river.artifacts.sinfo.collision;

import java.util.ArrayList;
import java.util.List;

import org.dive4elements.river.artifacts.states.RadioSelect;

/**
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public class YearChoice extends RadioSelect {
    private static final long serialVersionUID = 1L;

    public YearChoice() {
        super();
    }

    @Override
    protected List<String> makeEntries() {
        final List<String> entries = new ArrayList<>();
        entries.add("state.sinfo.year");
        entries.add("state.sinfo.epoch");
        return entries;
    }

}

http://dive4elements.wald.intevation.org