Revision 23646 branches/v2_0_0_prep/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/SelectionCADTool.java
SelectionCADTool.java | ||
---|---|---|
88 | 88 |
|
89 | 89 |
protected Point2D firstPoint; |
90 | 90 |
protected GeometryFactory geomFactory=GeometryManager.getInstance().getGeometryFactory(); |
91 |
//private Point2D lastPoint; |
|
92 | 91 |
|
93 |
|
|
94 |
|
|
95 | 92 |
protected String nextState; |
96 | 93 |
// Registros de los que se ha seleccionado alg?n handler. |
97 | 94 |
protected ArrayList rowselectedHandlers=new ArrayList(); |
98 | 95 |
protected String type=PluginServices.getText(this,"simple"); |
99 |
protected ArrayList pointsPolygon=new ArrayList(); |
|
96 |
// protected ArrayList pointsPolygon=new ArrayList();
|
|
100 | 97 |
|
101 | 98 |
protected boolean multipleSelection=false; |
102 | 99 |
/** |
... | ... | |
227 | 224 |
System.out.println("STATUS ACTUAL = " + _fsm.getTransition()); |
228 | 225 |
if (status.equals("Selection.FirstPoint")) { |
229 | 226 |
firstPoint=new Point2D.Double(x,y); |
230 |
pointsPolygon.add(firstPoint); |
|
227 |
// pointsPolygon.add(firstPoint);
|
|
231 | 228 |
} else if (status.equals("Selection.SecondPoint")) { |
232 | 229 |
} else if (status.equals("Selection.WithFeatures")) { |
233 | 230 |
} else if (status.equals("Selection.WithHandlers")) { |
... | ... | |
560 | 557 |
}else{ |
561 | 558 |
this.type = type; |
562 | 559 |
} |
563 |
pointsPolygon.clear(); |
|
560 |
// pointsPolygon.clear();
|
|
564 | 561 |
} |
565 | 562 |
|
566 | 563 |
public String toString() { |
Also available in: Unified diff