/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package usda.weru.weps.location;

import java.util.EventObject;

/**
 *
 * @author Joseph Levin <joelevin@weru.ksu.edu>
 */
public class StationDataModelEvent extends EventObject {
    private static final long serialVersionUID = 1L;

    private final Type c_type;

	/**
	 *
	 * @param source
	 * @param type
	 */
	public StationDataModelEvent(Object source, Type type) {
        super(source);
        c_type = type;
    }

	/**
	 *
	 * @return
	 */
	public Type getType(){
        return c_type;
    }

	/**
	 *
	 */
	public static enum Type{

		/**
		 *
		 */
		StationDataChanged,

		/**
		 *
		 */
		GISDataChanged
    }
}
