Revision 36207 branches/v2_0_0_prep/libraries/libFMap_dal/src/org/gvsig/fmap/dal/feature/impl/DefaultFeatureStoreNotification.java
DefaultFeatureStoreNotification.java | ||
---|---|---|
4 | 4 |
import org.gvsig.fmap.dal.DataStore; |
5 | 5 |
import org.gvsig.fmap.dal.feature.EditableFeatureType; |
6 | 6 |
import org.gvsig.fmap.dal.feature.Feature; |
7 |
import org.gvsig.fmap.dal.feature.FeatureIndex; |
|
7 | 8 |
import org.gvsig.fmap.dal.feature.FeatureStoreNotification; |
8 | 9 |
import org.gvsig.tools.undo.command.Command; |
9 | 10 |
|
... | ... | |
17 | 18 |
private EditableFeatureType featureType = null; |
18 | 19 |
private String type; |
19 | 20 |
private DataStore source; |
21 |
private FeatureIndex index; |
|
20 | 22 |
|
21 | 23 |
protected void init(DataStore source, String type) { |
22 | 24 |
this.source = source; |
... | ... | |
55 | 57 |
this.featureType = featureType; |
56 | 58 |
} |
57 | 59 |
|
60 |
public DefaultFeatureStoreNotification(DataStore source, String type, |
|
61 |
FeatureIndex index) { |
|
62 |
this.init(source, type); |
|
63 |
this.index = index; |
|
64 |
} |
|
65 |
|
|
58 | 66 |
public Feature getFeature() { |
59 | 67 |
return feature; |
60 | 68 |
} |
... | ... | |
87 | 95 |
return type; |
88 | 96 |
} |
89 | 97 |
|
98 |
public FeatureIndex getIndex() { |
|
99 |
return index; |
|
100 |
} |
|
90 | 101 |
} |
Also available in: Unified diff