Revision 73 org.gvsig.vectorediting/trunk/org.gvsig.vectorediting/org.gvsig.vectorediting.swing/org.gvsig.vectorediting.swing.api/src/main/java/org/gvsig/vectorediting/swing/api/EditingSwingManager.java
EditingSwingManager.java | ||
---|---|---|
10 | 10 |
import org.gvsig.fmap.mapcontrol.MapControl; |
11 | 11 |
import org.gvsig.tools.service.Manager; |
12 | 12 |
|
13 |
|
|
13 |
/** |
|
14 |
* |
|
15 |
* @author gvSIG team. |
|
16 |
* |
|
17 |
*/ |
|
14 | 18 |
public interface EditingSwingManager extends Manager{ |
15 | 19 |
|
16 | 20 |
/** |
17 |
* @param name |
|
18 |
* @param mapControl |
|
21 |
* Activates service as of name and {@link MapControl} |
|
22 |
* |
|
23 |
* @param name of service |
|
24 |
* @param mapControl of |
|
19 | 25 |
*/ |
20 |
public void activateTool(String name, MapControl mapControl);
|
|
26 |
public void activateService(String name, MapControl mapControl);
|
|
21 | 27 |
|
22 | 28 |
/** |
29 |
* Begin edition of a layer with the {@link MapControl} received as parameter. |
|
23 | 30 |
* |
24 |
* @param layer |
|
25 |
* @param mapControl |
|
31 |
* @param layer to begin edition
|
|
32 |
* @param mapControl necessary to add listeners, console... See {@link EditingBehavior}.
|
|
26 | 33 |
*/ |
27 | 34 |
void beginEdition(FLyrVect layer, MapControl mapControl); |
28 | 35 |
|
29 | 36 |
/** |
37 |
* End edition of a layer with the {@link MapControl} received as parameter. |
|
30 | 38 |
* |
31 |
* @param layer |
|
32 |
* @param mapControl |
|
39 |
* @param layer to end edition
|
|
40 |
* @param mapControl necessary to delete observers, stop drawing, obtain {@link EditingBehavior}...
|
|
33 | 41 |
*/ |
34 | 42 |
void endEdition(FLyrVect layer, MapControl mapControl); |
35 | 43 |
|
Also available in: Unified diff