Statistics
| Revision:

root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / write / AddCommand.java @ 1100

History | View | Annotate | Download (1.99 KB)

1
/* Generated by Together */
2

    
3
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
4
 *
5
 * Copyright (C) 2004 IVER T.I. and Generalitat Valenciana.
6
 *
7
 * This program is free software; you can redistribute it and/or
8
 * modify it under the terms of the GNU General Public License
9
 * as published by the Free Software Foundation; either version 2
10
 * of the License, or (at your option) any later version.
11
 *
12
 * This program is distributed in the hope that it will be useful,
13
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 * GNU General Public License for more details.
16
 *
17
 * You should have received a copy of the GNU General Public License
18
 * along with this program; if not, write to the Free Software
19
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
20
 *
21
 * For more information, contact:
22
 *
23
 *  Generalitat Valenciana
24
 *   Conselleria d'Infraestructures i Transport
25
 *   Av. Blasco Ib??ez, 50
26
 *   46010 VALENCIA
27
 *   SPAIN
28
 *
29
 *      +34 963862235
30
 *   gvsig@gva.es
31
 *      www.gvsig.gva.es
32
 *
33
 *    or
34
 *
35
 *   IVER T.I. S.A
36
 *   Salamanca 50
37
 *   46005 Valencia
38
 *   Spain
39
 *
40
 *   +34 963163400
41
 *   dac@iver.es
42
 */
43
package com.iver.cit.gvsig.fmap.write;
44

    
45
import com.iver.cit.gvsig.fmap.core.IGeometry;
46

    
47
public class AddCommand extends EditingCommand {
48
    /**
49
     * Invoca el m?todo addGeometry del extensionFile pas?ndole la geometry como par?metro.
50
     */
51
    public void execute() {
52
    }
53

    
54
    /**
55
     * Invoca el m?todo deleteGeometry del extensionFile pasandole como par?metro el ?ndice de la feature que se a?adi?
56
     */
57
    public void executeUndo() {
58
    }
59

    
60
    public AddCommand(int index, IGeometry g) {
61
    }
62

    
63
    /**
64
     * ?ndice en el EditionFile de la feature a?adida 
65
     */
66
    private int index;
67

    
68
    /**
69
     * Geometr?a que se quiere a?adir, una vez a?adida se pone a null porque para deshacer el comando s?lamente es necesario el ?ndice 
70
     */
71
    private IGeometry g;
72
}