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