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 @ 29
History | View | Annotate | Download (1.05 KB)
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 |
import org.gvsig.tools.service.ServiceException; |
15 |
|
16 |
public interface EditingManager extends Manager { |
17 |
|
18 |
/**
|
19 |
* @param serviceName
|
20 |
* @return
|
21 |
*/
|
22 |
public EditingServiceInfo getServiceInfo(String serviceName) throws ServiceException; |
23 |
|
24 |
/**
|
25 |
* @param name
|
26 |
* @param mapControl
|
27 |
*/
|
28 |
public void activateTool(String name, MapControl mapControl); |
29 |
|
30 |
/**
|
31 |
* @param name
|
32 |
* @param editableFeatureStore
|
33 |
* @return
|
34 |
*/
|
35 |
public EditingService getEditingService(String name, FLyrVect layer); |
36 |
|
37 |
/**
|
38 |
* @param mapControl
|
39 |
*/
|
40 |
void beginEdition(FLyrVect layer, DefaultViewPanel view) throws DataException; |
41 |
} |