Statistics
| Revision:

root / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / feature / impl / undo / FeatureCommandsStack.java @ 24960

History | View | Annotate | Download (1.26 KB)

1
package org.gvsig.fmap.dal.feature.impl.undo;
2

    
3
import org.gvsig.fmap.dal.exception.DataException;
4
import org.gvsig.fmap.dal.feature.*;
5
import org.gvsig.fmap.dal.feature.impl.DefaultFeatureStore;
6
import org.gvsig.tools.undo.command.UndoRedoCommandStack;
7

    
8
public interface FeatureCommandsStack extends UndoRedoCommandStack {
9
    
10
    public void insert(Feature feature);
11

    
12
    public void update(Feature feature, Feature oldFeature);
13

    
14
    public void delete(Feature feature);
15
    
16
    public void insert(FeatureType featureType);
17

    
18
    public void update(FeatureType featureType, FeatureType oldFeatureType);
19

    
20
    public void delete(FeatureType featureType);
21

    
22
    public void select(FeatureReferenceSelection selection,
23
            FeatureReference reference);
24

    
25
    public void deselect(FeatureReferenceSelection selection,
26
            FeatureReference reference);
27

    
28
    public void selectAll(FeatureReferenceSelection selection)
29
            throws DataException;
30

    
31
    public void deselectAll(FeatureReferenceSelection selection)
32
            throws DataException;
33

    
34
    public void selectionReverse(FeatureReferenceSelection selection);
35

    
36
    public void selectionSet(DefaultFeatureStore store,
37
            FeatureReferenceSelection oldSelection,
38
            FeatureReferenceSelection newSelection);
39

    
40
}