Revision 13444 trunk/extensions/extExpressionField/src/com/iver/cit/gvsig/project/documents/table/operators/MoreThan.java

View differences:

MoreThan.java
3 3
import org.apache.bsf.BSFException;
4 4
import org.apache.bsf.BSFManager;
5 5

  
6
import com.iver.andami.PluginServices;
6 7
import com.iver.cit.gvsig.project.documents.table.AbstractOperator;
7 8
import com.iver.cit.gvsig.project.documents.table.IOperator;
8 9

  
......
21 22
		return ">";
22 23
	}
23 24
	public boolean isEnable() {
24
		return (getType()==IOperator.DATE || getType()==IOperator.NUMBER);
25
		return (getType()==IOperator.NUMBER);
25 26
	}
27
	public String getTooltip(){
28
		return PluginServices.getText(this,"operator")+":  "+addText("")+"\n"+getDescription();
29
	}
30
	public String getDescription() {
31
        return PluginServices.getText(this, "returns") + ": " +
32
        PluginServices.getText(this, "boolean_value") + "\n" +
33
        PluginServices.getText(this, "description") + ": " +
34
        "Returns true if the first object value is more than the second value.";
35
    }
26 36
}

Also available in: Unified diff