Revision 24346 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/impl/commands/implementation/FeatureTypeUpdateCommand.java
FeatureTypeUpdateCommand.java | ||
---|---|---|
82 | 82 |
*/ |
83 | 83 |
package org.gvsig.fmap.data.feature.impl.commands.implementation; |
84 | 84 |
|
85 |
import org.gvsig.fmap.data.exceptions.DataException; |
|
85 | 86 |
import org.gvsig.fmap.data.feature.Command; |
86 | 87 |
import org.gvsig.fmap.data.feature.FeatureType; |
87 | 88 |
import org.gvsig.fmap.data.feature.impl.FeatureTypeManager; |
... | ... | |
111 | 112 |
/* (non-Javadoc) |
112 | 113 |
* @see org.gvsig.fmap.data.commands.Command#undo() |
113 | 114 |
*/ |
114 |
public void undo() { |
|
115 |
public void undo() throws DataException {
|
|
115 | 116 |
// if (expansionManager.contains(oldFeature.getReference())) { |
116 | 117 |
// expansionManager.deleteLastFeature(feature.getReference()); |
117 | 118 |
// } else { |
... | ... | |
124 | 125 |
/* (non-Javadoc) |
125 | 126 |
* @see org.gvsig.fmap.data.commands.Command#redo() |
126 | 127 |
*/ |
127 |
public void redo() { |
|
128 |
public void redo() throws DataException {
|
|
128 | 129 |
execute(); |
129 | 130 |
} |
130 | 131 |
|
Also available in: Unified diff