package org.csstudio.sds.components.internal.model;

import org.csstudio.sds.components.model.TankModel;
import org.csstudio.sds.components.model.ThermometerModel;
import org.csstudio.sds.model.AbstractWidgetModel;
import org.csstudio.sds.model.IWidgetModelFactory;

/**
 * This class defines a widget model factory for thermometer widget models.
 * 
 * @author Xihui Chen
 * 
 */
public final class TankModelFactory implements IWidgetModelFactory {

	/**
	 * {@inheritDoc}
	 */
	public AbstractWidgetModel createWidgetModel() {
		return new TankModel();
	}

	/**
	 * {@inheritDoc}
	 */
	@SuppressWarnings("unchecked")
	public Class getWidgetModelType() {
		return TankModel.class;
	}

}

@@ -102,67 +102,8 @@
 el;%0A
-import org.csstudio.sds.components.model.ThermometerModel;%0A
 impo
@@ -259,18 +259,11 @@
 or t
-hermometer
+ank
  wid

improve comments