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

View differences:

Distinct.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

  
......
22 23
	public boolean isEnable() {
23 24
		return (getType()==IOperator.DATE || getType()==IOperator.NUMBER || getType()==IOperator.STRING);
24 25
	}
26
	public String getTooltip(){
27
		return PluginServices.getText(this,"operator")+":  "+addText("")+"\n"+getDescription();
28
	}
29
	public String getDescription() {
30
        return PluginServices.getText(this, "returns") + ": " +
31
        PluginServices.getText(this, "boolean_value") + "\n" +
32
        PluginServices.getText(this, "description") + ": " +
33
        "Returns true if the objects are diferents.";
34
    }
25 35
}

Also available in: Unified diff