comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DoubleProperty.java @ 3859:62332fa199bf

Work on "Date" support for ManualPointsEditor. flys-client/trunk@5621 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Christian Lins <christian.lins@intevation.de>
date Thu, 27 Sep 2012 14:09:24 +0000
parents bf080e932d54
children
comparison
equal deleted inserted replaced
3858:87e7571970e6 3859:62332fa199bf
1 package de.intevation.flys.client.shared.model; 1 package de.intevation.flys.client.shared.model;
2 2
3 import com.google.gwt.core.client.GWT;
4 import com.google.gwt.i18n.client.NumberFormat;
5
3 import java.util.HashMap; 6 import java.util.HashMap;
4
5 import com.google.gwt.i18n.client.NumberFormat;
6 import com.google.gwt.core.client.GWT;
7 7
8 /** 8 /**
9 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a> 9 * @author <a href="mailto:raimund.renkert@intevation.de">Raimund Renkert</a>
10 */ 10 */
11 public class DoubleProperty extends PropertySetting { 11 public class DoubleProperty extends PropertySetting {
72 return null; 72 return null;
73 } 73 }
74 return nf.format(dv); 74 return nf.format(dv);
75 } 75 }
76 76
77 @Override
77 public Object clone() { 78 public Object clone() {
78 DoubleProperty clone = new DoubleProperty(this.getName(), 79 DoubleProperty clone = new DoubleProperty(this.getName(),
79 this.getValue()); 80 this.getValue());
80 for(String s: this.getAttributeList()) { 81 for(String s: this.getAttributeList()) {
81 clone.setAttribute(s, this.getAttribute(s)); 82 clone.setAttribute(s, this.getAttribute(s));
82 } 83 }
83 return clone; 84 return clone;
84 } 85 }
85
86 } 86 }

http://dive4elements.wald.intevation.org