Revision 3716

View differences:

trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/smc/LineCADToolContext.java
241 241
                context.clearState();
242 242
                try
243 243
                {
244
                    ctxt.setQuestion("Insertar segundo punto");
244
                    ctxt.setQuestion("Insertar primer punto");
245 245
                    ctxt.addpoint(sel, pointX, pointY);
246 246
                    ctxt.refresh();
247 247
                }
trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/LineCADTool.java
154 154
    	LineCADToolState actualState = _fsm.getState();
155 155
    	 String status = actualState.getName();
156 156

  
157
		//if ((status == "ExecuteMap.Second")){// || (status == "5")) {
157
    	 if ((status == "ExecuteMap.Second")){// || (status == "5")) {
158 158
			if (firstPoint!=null)
159 159
			drawLine((Graphics2D) g, firstPoint, new Point2D.Double(x, y));
160
		//}
160
    	 }
161 161
	}
162 162

  
163 163
    /**
trunk/extensions/extCAD/sm/LineCADTool.sm
42 42
Second{
43 43
	addpoint(sel:java.util.BitSet,pointX:double,pointY:double)
44 44
		First {
45
			setQuestion("Insertar segundo punto");
45
			setQuestion("Insertar primer punto");
46 46
			addpoint(sel,pointX,pointY);
47 47
			refresh();
48 48
			}

Also available in: Unified diff