Revision 3836 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/commands/RemoveRowCommand.java

View differences:

RemoveRowCommand.java
16 16
		index=i;
17 17
		geometry=efs.getRow(i);
18 18
	}
19
	
19

  
20 20
	/**
21 21
	 * @throws DriverIOException
22 22
	 * @throws IOException
23 23
	 * @see com.iver.cit.gvsig.fmap.edition.Command#undo()
24 24
	 */
25 25
	public void undo() throws IOException, DriverIOException {
26
		efs.undo();
26
		//efs.undo();
27
		efs.undoRemoveRow(index);
27 28
	}
28 29
	/**
29 30
	 * @throws IOException
......
31 32
	 * @see com.iver.cit.gvsig.fmap.edition.Command#redo()
32 33
	 */
33 34
	public void redo() throws DriverIOException, IOException {
34
		efs.redo();
35
		//efs.redo();
36
		efs.doRemoveFeature(index);
35 37
	}
36 38

  
37 39
}

Also available in: Unified diff