Statistics
| Revision:

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

History | View | Annotate | Download (651 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("PUNTO" + "\n" +
23
		"Defina el punto");
24
		}
25
	Exit {
26
		}
27

    
28
	{
29

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

    
46
}
47
%%