Revision 24376 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLyrVect.java
FLyrVect.java | ||
---|---|---|
145 | 145 |
/** |
146 | 146 |
* @deprecated Don?t use Strategy, you should be use iterators. |
147 | 147 |
*/ |
148 |
public static boolean forTestOnlyVariableUseIterators_REMOVE_THIS_FIELD = true; |
|
148 |
// public static boolean forTestOnlyVariableUseIterators_REMOVE_THIS_FIELD = true;
|
|
149 | 149 |
/** |
150 | 150 |
* @deprecated Don?t use Strategy, you should be use iterators. |
151 | 151 |
*/ |
152 |
private boolean useStrategy=false; |
|
152 |
// private boolean useStrategy=false;
|
|
153 | 153 |
|
154 | 154 |
/** Leyenda de la capa vectorial */ |
155 | 155 |
private IVectorLegend legend; |
... | ... | |
1751 | 1751 |
//return linkProperties.getLink(this) |
1752 | 1752 |
return linkProperties.getLink(this,point,tolerance); |
1753 | 1753 |
} |
1754 |
/** |
|
1755 |
* @deprecated Don?t use Strategy, you should be use iterators. |
|
1756 |
*/ |
|
1757 |
public boolean isUseStrategy() { |
|
1758 |
return useStrategy; |
|
1759 |
} |
|
1760 |
/** |
|
1761 |
* @deprecated Don?t use Strategy, you should be use iterators. |
|
1762 |
*/ |
|
1763 |
public void setUseStrategy(boolean useStrategy) { |
|
1764 |
this.useStrategy = useStrategy; |
|
1765 |
} |
|
1754 |
// /** |
|
1755 |
// * @deprecated Don?t use Strategy, you should be use iterators. |
|
1756 |
// */ |
|
1757 |
// public boolean isUseStrategy() { |
|
1758 |
// return useStrategy; |
|
1759 |
// } |
|
1760 |
// /** |
|
1761 |
// * @deprecated Don?t use Strategy, you should be use iterators. |
|
1762 |
// */ |
|
1763 |
// public void setUseStrategy(boolean useStrategy) { |
|
1764 |
// this.useStrategy = useStrategy; |
|
1765 |
// } |
|
1766 |
// |
|
1767 |
// @Override |
|
1768 |
// public void load() throws LoadLayerException { |
|
1769 |
// super.load(); |
|
1770 |
// useStrategy=forTestOnlyVariableUseIterators_REMOVE_THIS_FIELD; |
|
1771 |
// } |
|
1766 | 1772 |
|
1767 |
@Override |
|
1768 |
public void load() throws LoadLayerException { |
|
1769 |
super.load(); |
|
1770 |
useStrategy=forTestOnlyVariableUseIterators_REMOVE_THIS_FIELD; |
|
1771 |
} |
|
1772 |
|
|
1773 | 1773 |
public void selectionChanged(SelectionEvent e) { |
1774 | 1774 |
this.updateDrawVersion(); |
1775 | 1775 |
} |
Also available in: Unified diff