gvsig-vectorediting / 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 @ 73
History | View | Annotate | Download (1.19 KB)
1 |
/*
|
---|---|
2 |
* Copyright 2014 DiSiD Technologies S.L.L. All rights reserved.
|
3 |
*
|
4 |
* Project : DiSiD org.gvsig.vectorediting.swing.api
|
5 |
* SVN Id : $Id$
|
6 |
*/
|
7 |
package org.gvsig.vectorediting.swing.api; |
8 |
|
9 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
10 |
import org.gvsig.fmap.mapcontrol.MapControl; |
11 |
import org.gvsig.tools.service.Manager; |
12 |
|
13 |
/**
|
14 |
*
|
15 |
* @author gvSIG team.
|
16 |
*
|
17 |
*/
|
18 |
public interface EditingSwingManager extends Manager{ |
19 |
|
20 |
/**
|
21 |
* Activates service as of name and {@link MapControl}
|
22 |
*
|
23 |
* @param name of service
|
24 |
* @param mapControl of
|
25 |
*/
|
26 |
public void activateService(String name, MapControl mapControl); |
27 |
|
28 |
/**
|
29 |
* Begin edition of a layer with the {@link MapControl} received as parameter.
|
30 |
*
|
31 |
* @param layer to begin edition
|
32 |
* @param mapControl necessary to add listeners, console... See {@link EditingBehavior}.
|
33 |
*/
|
34 |
void beginEdition(FLyrVect layer, MapControl mapControl);
|
35 |
|
36 |
/**
|
37 |
* End edition of a layer with the {@link MapControl} received as parameter.
|
38 |
*
|
39 |
* @param layer to end edition
|
40 |
* @param mapControl necessary to delete observers, stop drawing, obtain {@link EditingBehavior}...
|
41 |
*/
|
42 |
void endEdition(FLyrVect layer, MapControl mapControl);
|
43 |
|
44 |
} |