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

View differences:

LineCADTool.sm
77 77
		FirstPoint{
78 78
			end();
79 79
			}
80
	addOption(s:String)
81
		FirstPoint{
82
			throwOptionException(PluginServices.getText(this,"incorrect_option"),s);
83
			}
84
	addValue(d:double)
85
		FirstPoint{
86
			throwValueException(PluginServices.getText(this,"incorrect_value"),d);
87
			}
88
	addPoint(pointX:double,pointY:double,event:InputEvent)
89
		FirstPoint{
90
			throwPointException(PluginServices.getText(this,"incorrect_point"),pointX,pointY);
91
			}
80 92

  
81 93
}
82 94
%%

Also available in: Unified diff