Statistics
| Revision:

svn-gvsig-desktop / trunk / extensions / extCAD / sm / ArcCADTool.sm @ 3844

History | View | Annotate | Download (778 Bytes)

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

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

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

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

    
17
Initial
18

    
19
	Entry {
20
		init();
21
		setQuestion("ARCO" + "\n"+
22
		"Insertar primer punto");
23
		}
24
	Exit{
25
		}
26

    
27
	{
28
		addPoint( pointX:double,pointY:double)
29
			First {
30
				setQuestion("Insertar segundo punto");
31
				addPoint( pointX,pointY);
32
				}
33

    
34
	}
35
First{
36
	addPoint( pointX:double,pointY:double)
37
		Second {
38
			setQuestion("Insertar ultimo punto");
39
			addPoint( pointX,pointY);
40
			}
41

    
42
}
43
Second{
44
	addPoint( pointX:double,pointY:double)
45
		Third {
46
			addPoint(pointX,pointY);
47
			end();
48
			}
49
}
50
Third{
51
}
52
Default
53
{
54

    
55
}
56
%%