root / trunk / libraries / libFMap / src / com / iver / cit / gvsig / fmap / write / ModifyAddedCommand.java @ 1100
History | View | Annotate | Download (2.03 KB)
1 | 213 | fernando | /* Generated by Together */
|
---|---|---|---|
2 | |||
3 | 1100 | fjp | /* 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 | 213 | fernando | package com.iver.cit.gvsig.fmap.write; |
44 | |||
45 | 305 | fjp | import com.iver.cit.gvsig.fmap.core.IGeometry; |
46 | 214 | fernando | import com.iver.cit.gvsig.fmap.write.geometron.Geometry; |
47 | |||
48 | public class ModifyAddedCommand extends EditingCommand { |
||
49 | 305 | fjp | public ModifyAddedCommand(int index, IGeometry g) { |
50 | 213 | fernando | } |
51 | |||
52 | /**
|
||
53 | * Invoca el m?todo modifyGeometry del EditionFile y obtiene la geometry anterior y la guarda en oldGeometry
|
||
54 | */
|
||
55 | public void execute(){ } |
||
56 | |||
57 | /**
|
||
58 | * Invoca modifyGeometry en el editionFile pas?ndo como par?metro oldGeometry
|
||
59 | */
|
||
60 | public void executeUndo(){ } |
||
61 | |||
62 | /**
|
||
63 | * ?ndice en el EditionFile de la feature a?adida al EditionFile
|
||
64 | */
|
||
65 | private int index; |
||
66 | |||
67 | /**
|
||
68 | * Nueva geometria con las modificaciones
|
||
69 | */
|
||
70 | private Geometry g;
|
||
71 | private Geometry oldGeometry;
|
||
72 | private ExtensibleFile extensionFile;
|
||
73 | } |