Statistics
| Revision:

svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.impl / src / main / java / org / gvsig / fmap / dal / feature / impl / undo / FeatureCommandsStack.java @ 40435

History | View | Annotate | Download (1.3 KB)

1 40435 jjdelcerro
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.DefaultFeatureReferenceSelection;
6
import org.gvsig.fmap.dal.feature.impl.DefaultFeatureStore;
7
import org.gvsig.tools.undo.command.UndoRedoCommandStack;
8
9
public interface FeatureCommandsStack extends UndoRedoCommandStack {
10
11
    public void insert(Feature feature) throws DataException;
12
13
    public void update(Feature feature, Feature oldFeature) throws DataException;
14
15
    public void delete(Feature feature) throws DataException;
16
17
    public void update(FeatureType featureType, FeatureType oldFeatureType);
18
19
    public void select(DefaultFeatureReferenceSelection selection,
20
            FeatureReference reference);
21
22
    public void deselect(DefaultFeatureReferenceSelection selection,
23
            FeatureReference reference);
24
25
    public void selectAll(DefaultFeatureReferenceSelection selection)
26
            throws DataException;
27
28
    public void deselectAll(DefaultFeatureReferenceSelection selection)
29
            throws DataException;
30
31
    public void selectionReverse(DefaultFeatureReferenceSelection selection);
32
33
    public void selectionSet(DefaultFeatureStore store,
34
            FeatureSelection oldSelection, FeatureSelection newSelection);
35
36
}