// AbstractModel.java
//
// Created: September 2005
//
// This file is a component of the BioMoby project.
// Copyright Martin Senger (martin.senger@gmail.com).
//

package org.biomoby.service.dashboard;

/**
 * A common super-class for all Dashboard models. A model is a worker
 * for a panel: a panel displays what its model provides. <p>
 *
 * This abstract parent helps to deal with listening and fireing
 * property changes via a property channel. <p>
 *
 * @author <A HREF="mailto:martin.senger@gmail.com">Martin Senger</A>
 * @version $Id: AbstractModel.java,v 1.3 2005/10/28 07:58:08 senger Exp $
 */

public class AbstractModel
    implements DashboardProperties {

    protected PropertyChannel propertyChannel;

    /*********************************************************************
     * Default constructor.
     ********************************************************************/
    protected AbstractModel() {
    }

    /**************************************************************************
     * Keep shared storage of properties updated in various panels.
     **************************************************************************/
    public void setPropertyChannel (PropertyChannel propertyChannel) {
	this.propertyChannel = propertyChannel;
    }

}
