Revision 1591

View differences:

branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/ModifyGeometryCommand.java
10 10
 * Modifica una geometr?a del EditableFeatureSource 
11 11
 */
12 12
public class ModifyGeometryCommand implements Command {
13
	private EditableFeatureSource efs;
13
	private DefaultEditableFeatureSource efs;
14 14
	private IGeometry geomAnt;
15 15
	private IGeometry geomNext;
16 16
	private int indexAnt;
17 17
	private int previousIndex;
18
	public ModifyGeometryCommand(EditableFeatureSource ef,int i,int p,IGeometry newg) throws IOException, DriverIOException{
18
	public ModifyGeometryCommand(DefaultEditableFeatureSource ef,int i,int p,IGeometry newg) throws IOException, DriverIOException{
19 19
		efs=ef;
20 20
		indexAnt=i;
21 21
		geomNext=newg;
branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/AddGeometryCommand.java
13 13
public class AddGeometryCommand implements Command {
14 14
	private IGeometry geometry;
15 15
	private int index;
16
	private EditableFeatureSource efs;
17
	public AddGeometryCommand(EditableFeatureSource ef,IGeometry g,int i){
16
	private DefaultEditableFeatureSource efs;
17
	public AddGeometryCommand(DefaultEditableFeatureSource ef,IGeometry g,int i){
18 18
		efs=ef;
19 19
		index=i;
20 20
		geometry=g;
branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/EditableFeatureSource.java
179 179
	 * @return DOCUMENT ME!
180 180
	 */
181 181
	Image getImage();
182

  
183
	void undoAddGeometry(int index) throws DriverIOException, IOException;
184
	void undoModifyGeometry(int index,int previndex) throws IOException, DriverIOException;
185
	void undoRemoveGeometry(int index) throws IOException, DriverIOException;
186 182
}
branches/pilotoDWG/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/RemoveGeometryCommand.java
51 51

  
52 52

  
53 53
public class RemoveGeometryCommand implements Command {
54
	private EditableFeatureSource efs;
54
	private DefaultEditableFeatureSource efs;
55 55
	private IGeometry geometry;
56 56
	private int index;
57
	public RemoveGeometryCommand(EditableFeatureSource ef,int i) throws IOException, DriverIOException{
57
	public RemoveGeometryCommand(DefaultEditableFeatureSource ef,int i) throws IOException, DriverIOException{
58 58
		efs=ef;
59 59
		index=i;
60 60
		geometry=efs.getGeometry(index);

Also available in: Unified diff