svn-gvsig-desktop / branches / v2_0_0_prep / extensions / extExpressionField / src / com / iver / cit / gvsig / project / documents / table / AbstractOperator.java @ 27752
History | View | Annotate | Download (579 Bytes)
1 |
package com.iver.cit.gvsig.project.documents.table; |
---|---|
2 |
|
3 |
import com.iver.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 |
} |