Revision 4365 trunk/extensions/extCAD/src/com/iver/cit/gvsig/gui/cad/tools/smc/ScaleCADToolContext.java
ScaleCADToolContext.java | ||
---|---|---|
244 | 244 |
{ |
245 | 245 |
ctxt.setQuestion("Precise factor de escala<2> o Referencia[R]"); |
246 | 246 |
ctxt.setDescription(new String[]{"Referencia", "Cancelar"}); |
247 |
ctxt.addPoint(pointX, pointY); |
|
247 |
ctxt.addPoint(pointX, pointY, event);
|
|
248 | 248 |
} |
249 | 249 |
finally |
250 | 250 |
{ |
... | ... | |
325 | 325 |
context.clearState(); |
326 | 326 |
try |
327 | 327 |
{ |
328 |
ctxt.addPoint(pointX, pointY); |
|
328 |
ctxt.addPoint(pointX, pointY, event);
|
|
329 | 329 |
ctxt.end(); |
330 | 330 |
ctxt.refresh(); |
331 | 331 |
} |
... | ... | |
415 | 415 |
{ |
416 | 416 |
ctxt.setQuestion("Precise punto final recta referencia"); |
417 | 417 |
ctxt.setDescription(new String[]{"Cancelar"}); |
418 |
ctxt.addPoint(pointX, pointY); |
|
418 |
ctxt.addPoint(pointX, pointY, event);
|
|
419 | 419 |
} |
420 | 420 |
finally |
421 | 421 |
{ |
... | ... | |
453 | 453 |
{ |
454 | 454 |
ctxt.setQuestion("Precise punto origen recta escala"); |
455 | 455 |
ctxt.setDescription(new String[]{"Cancelar"}); |
456 |
ctxt.addPoint(pointX, pointY); |
|
456 |
ctxt.addPoint(pointX, pointY, event);
|
|
457 | 457 |
} |
458 | 458 |
finally |
459 | 459 |
{ |
... | ... | |
491 | 491 |
{ |
492 | 492 |
ctxt.setQuestion("Precise punto final recta escala"); |
493 | 493 |
ctxt.setDescription(new String[]{"Cancelar"}); |
494 |
ctxt.addPoint(pointX, pointY); |
|
494 |
ctxt.addPoint(pointX, pointY, event);
|
|
495 | 495 |
} |
496 | 496 |
finally |
497 | 497 |
{ |
... | ... | |
527 | 527 |
context.clearState(); |
528 | 528 |
try |
529 | 529 |
{ |
530 |
ctxt.addPoint(pointX, pointY); |
|
530 |
ctxt.addPoint(pointX, pointY, event);
|
|
531 | 531 |
ctxt.end(); |
532 | 532 |
ctxt.refresh(); |
533 | 533 |
} |
Also available in: Unified diff