Statistics
| Revision:

root / branches / v2_0_0_prep / extensions / extExpressionField / src / org / gvsig / expressionfield / project / documents / table / AbstractOperator.java @ 29628

History | View | Annotate | Download (587 Bytes)

1
package org.gvsig.expressionfield.project.documents.table;
2

    
3
import org.gvsig.andami.PluginServices;
4

    
5
/**
6
 * @author Vicente Caballero Navarro
7
 */
8
public abstract class AbstractOperator implements IOperator{
9
        private int type;
10

    
11
        public void setType(int type) {
12
                this.type=type;
13
        }
14
        public int getType() {
15
                return type;
16
        }
17
        public abstract String toString();
18

    
19
        public String getTooltip(){
20
                return PluginServices.getText(this,"operator")+":  "+addText(PluginServices.getText(this,"parameter"))+"\n"+getDescription();
21
        }
22
        public abstract String getDescription();
23
}