view flys-client/src/main/java/de/intevation/flys/client/client/event/StepForwardEvent.java @ 5462:f2371f3aaf03

Show top level folder icons only if node has no factory If you have an empty folder the folder icon is still shown. This makes it possible to add functional "Top Level" entries in the Datacage
author Andre Heinecke <aheinecke@intevation.de>
date Tue, 26 Mar 2013 18:29:13 +0100
parents 360e22afb98b
children
line wrap: on
line source
package de.intevation.flys.client.client.event;

import de.intevation.flys.client.shared.model.Data;

import java.io.Serializable;


/**
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public class StepForwardEvent implements Serializable {

    private static final long serialVersionUID = -5527511690213770954L;

    /** The selected data.*/
    protected Data[] data;

    /**
     * Creates a new StepForwardEvent with the Data that has been selected in
     * the UI.
     *
     * @param data The selected data.
     */
    public StepForwardEvent(Data[] data) {
        this.data = data;
    }


    /**
     * A method to retrieve the data stored in the event.
     *
     * @return the data.
     */
    public Data[] getData() {
        return data;
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org