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

View differences:

RectangleCADTool.sm
66 66
		FirstPoint{
67 67
			end();
68 68
			}
69
	addOption(s:String)
70
		FirstPoint{
71
			throwOptionException(PluginServices.getText(this,"incorrect_option"),s);
72
			}
73
	addValue(d:double)
74
		FirstPoint{
75
			throwValueException(PluginServices.getText(this,"incorrect_value"),d);
76
			}
77
	addPoint(pointX:double,pointY:double,event:InputEvent)
78
		FirstPoint{
79
			throwPointException(PluginServices.getText(this,"incorrect_point"),pointX,pointY);
80
			}
69 81
}
70 82
%%

Also available in: Unified diff