Revision 5730 trunk/extensions/extCAD/sm/MoveCADTool.sm

View differences:

MoveCADTool.sm
52 52
		FirstPointToMove{
53 53
			end();
54 54
			}
55
	addOption(s:String)
56
		FirstPointToMove{
57
			throwOptionException(PluginServices.getText(this,"incorrect_option"),s);
58
			}
59
	addValue(d:double)
60
		FirstPointToMove{
61
			throwValueException(PluginServices.getText(this,"incorrect_value"),d);
62
			}
63
	addPoint(pointX:double,pointY:double,event:InputEvent)
64
		FirstPointToMove{
65
			throwPointException(PluginServices.getText(this,"incorrect_point"),pointX,pointY);
66
			}
55 67
}
56 68
%%

Also available in: Unified diff