/* * GeoTools - The Open Source Java GIS Toolkit * http://geotools.org * * (C) 2006-2011, Open Source Geospatial Foundation (OSGeo) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; * version 2.1 of the License. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package org.geotools.gce.grassraster; import org.opengis.util.InternationalString; import org.opengis.util.ProgressListener; /** * A dummy progress listener. * * @author Andrea Antonello (www.hydrologis.com) * * @source $URL: http://svn.osgeo.org/geotools/branches/2.7.x/build/maven/javadoc/../../../modules/plugin/grassraster/src/main/java/org/geotools/gce/grassraster/DummyProgressListener.java $ */ public class DummyProgressListener implements ProgressListener { public void complete() { } public void dispose() { } public void exceptionOccurred( Throwable exception ) { } public String getDescription() { return null; } public float getProgress() { return 0; } public InternationalString getTask() { return null; } public boolean isCanceled() { return false; } public void progress( float percent ) { } public void setCanceled( boolean cancel ) { } public void setDescription( String description ) { } public void setTask( InternationalString task ) { } public void started() { } public void warningOccurred( String source, String location, String warning ) { } }