Revision 24346 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/impl/commands/implementation/FeatureCommandsRecord.java

View differences:

FeatureCommandsRecord.java
1 1
package org.gvsig.fmap.data.feature.impl.commands.implementation;
2 2

  
3
import org.gvsig.fmap.data.feature.Feature;
4
import org.gvsig.fmap.data.feature.FeatureReference;
5
import org.gvsig.fmap.data.feature.FeatureReferenceSelection;
6
import org.gvsig.fmap.data.feature.FeatureType;
7
import org.gvsig.fmap.data.feature.impl.FeatureManager;
8
import org.gvsig.fmap.data.feature.impl.FeatureTypeManager;
9
import org.gvsig.fmap.data.feature.impl.SpatialManager;
3
import org.gvsig.fmap.data.exceptions.DataException;
4
import org.gvsig.fmap.data.feature.*;
5
import org.gvsig.fmap.data.feature.impl.*;
10 6
import org.gvsig.fmap.data.feature.impl.commands.AbstractCommand;
11 7
import org.gvsig.fmap.data.feature.impl.commands.AbstractCommandsRecord;
12 8

  
......
96 92
	}
97 93

  
98 94
	public void deselectAll(
99
			FeatureReferenceSelection selection) {
95
			FeatureReferenceSelection selection)
96
            throws DataException {
100 97
		AbstractCommand command = new SelectionCommandSelectAll(selection,
101 98
				false);
102 99
		add(command);
......
112 109
	}
113 110

  
114 111
	public void selectAll(
115
			FeatureReferenceSelection selection) {
112
			FeatureReferenceSelection selection)
113
            throws DataException {
116 114
		AbstractCommand command = new SelectionCommandSelectAll(selection, true);
117 115
		add(command);
118 116
		command.execute();
......
125 123
		command.execute();
126 124
	}
127 125

  
128
	public void selectionSet(FeatureReferenceSelection oldSelection,
126
	public void selectionSet(DefaultFeatureStore store,
127
            FeatureReferenceSelection oldSelection,
129 128
			FeatureReferenceSelection newSelection) {
130
		AbstractCommand command = new SelectionCommandSet(oldSelection,
129
		AbstractCommand command = new SelectionCommandSet(store, oldSelection,
131 130
				newSelection);
132 131
		add(command);
133 132
		command.execute();

Also available in: Unified diff