Statistics
| Revision:

root / trunk / extensions / extCAD / sm / PointCADTool.sm @ 3828

History | View | Annotate | Download (632 Bytes)

1
// -*- tab-width: 4; -*-
2

    
3
%{
4
//
5
// Vicente Caballero Navarro
6
%}
7

    
8
%start ExecuteMap::Initial
9
%class PointCADTool
10
%package com.iver.cit.gvsig.gui.cad.tools.smc
11
%import com.iver.cit.gvsig.gui.cad.tools.PointCADTool
12

    
13

    
14
%map ExecuteMap
15
%%
16
// A task begins life in suspended animation.
17

    
18
Initial
19

    
20
	Entry {
21
		init();
22
		setQuestion("Defina el punto");
23
		}
24
	Exit {
25
		}
26

    
27
	{
28

    
29
		addPoint( pointX:double,pointY:double)
30
			First {
31
				setQuestion("Insertar punto");
32
				addPoint( pointX,pointY);
33
				}
34
	}
35
First{
36
	addPoint( pointX:double,pointY:double)
37
		First {
38
			setQuestion("Insertar punto");
39
			addPoint( pointX,pointY);
40
			}
41
}
42
Default
43
{
44

    
45
}
46
%%