remove unused constructor.
[phpeclipse.git] / net.sourceforge.phpeclipse.xdebug.core / src / net / sourceforge / phpeclipse / xdebug / php / model / XDebugFloatValue.java
1 package net.sourceforge.phpeclipse.xdebug.php.model;
2
3 import org.w3c.dom.Node;
4
5 public class XDebugFloatValue extends XDebugAbstractValue {
6         public XDebugFloatValue(XDebugVariable variable, Node varNode,String TypeName) {
7                 super(variable, varNode,TypeName);
8         }
9         
10         public boolean supportsValueModification() {
11                 return true;
12         }
13         
14         public void setType(String typeName) {
15                 fType = XDebugAbstractValue.VALUETYPE_FLOAT;
16                 fTypeName = typeName;
17         }
18
19         public void renderValueString(String data) {
20                 fValueString = data;
21         }
22
23         public boolean verifyValue(String expression) {
24                 try {
25                         Float.parseFloat(expression);
26                 } catch (NumberFormatException e) {
27                         return false;
28                 }
29                 return true;
30         }
31 }