SoilDatabase.java [tools/WepsSoilsIfcCreator/src/usda/weru/soil] Revision:   Date:
/*
 * SoilDatabase.java
 *
 * Created on April 19, 2007, 2:30 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package usda.weru.soil;

//import javax.swing.ProgressMonitor;
import javax.swing.tree.MutableTreeNode;
import javax.swing.tree.TreeNode;

/**
 *
 * @author Joseph Levin
 */
public interface SoilDatabase {
    /**
     * Creates new node instances for this soil database.  Some databases may
     * return more than one node for the database.
     * @return new instances of nodes for this database
     */
    public MutableTreeNode[] createNodes();
    public boolean isSoil(TreeNode node);
    public IFC getIfcFromNode(TreeNode node);
    public void dispose();
}