gvsig-vectorediting / org.gvsig.vectorediting / trunk / org.gvsig.vectorediting / org.gvsig.vectorediting.lib / org.gvsig.vectorediting.lib.api / src / main / java / org / gvsig / vectorediting / lib / api / EditingManager.java @ 22
History | View | Annotate | Download (1001 Bytes)
1 |
/*
|
---|---|
2 |
* Copyright 2014 DiSiD Technologies S.L.L. All rights reserved.
|
3 |
*
|
4 |
* Project : DiSiD org.gvsig.vectorediting.lib.api
|
5 |
* SVN Id : $Id$
|
6 |
*/
|
7 |
package org.gvsig.vectorediting.lib.api; |
8 |
|
9 |
import org.gvsig.app.project.documents.view.gui.DefaultViewPanel; |
10 |
import org.gvsig.fmap.dal.exception.DataException; |
11 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
12 |
import org.gvsig.fmap.mapcontrol.MapControl; |
13 |
import org.gvsig.tools.service.Manager; |
14 |
|
15 |
public interface EditingManager extends Manager { |
16 |
|
17 |
/**
|
18 |
* @param serviceName
|
19 |
* @return
|
20 |
*/
|
21 |
public EditingServiceInfo getServiceInfo(String serviceName); |
22 |
|
23 |
/**
|
24 |
* @param name
|
25 |
* @param mapControl
|
26 |
*/
|
27 |
public void activateTool(String name, MapControl mapControl); |
28 |
|
29 |
/**
|
30 |
* @param name
|
31 |
* @param editableFeatureStore
|
32 |
* @return
|
33 |
*/
|
34 |
public EditingService getEditingService(String name, FLyrVect layer); |
35 |
|
36 |
/**
|
37 |
* @param mapControl
|
38 |
*/
|
39 |
void beginEdition(FLyrVect layer, DefaultViewPanel view) throws DataException; |
40 |
} |