gvsig-projects-pool / org.gvsig.vcsgis / trunk / org.gvsig.vcsgis / org.gvsig.vcsgis.swing / org.gvsig.vcsgis.swing.api / src / main / java / org / gvsig / vcsgis / swing / VCSGisSwingServices.java @ 3452
History | View | Annotate | Download (1.93 KB)
1 |
/*
|
---|---|
2 |
* To change this license header, choose License Headers in Project Properties.
|
3 |
* To change this template file, choose Tools | Templates
|
4 |
* and open the template in the editor.
|
5 |
*/
|
6 |
package org.gvsig.vcsgis.swing; |
7 |
|
8 |
import java.util.List; |
9 |
import javax.swing.ComboBoxModel; |
10 |
import javax.swing.ListModel; |
11 |
import javax.swing.tree.TreeModel; |
12 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
13 |
import org.gvsig.fmap.geom.Geometry; |
14 |
import org.gvsig.tools.util.LabeledValue; |
15 |
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace; |
16 |
|
17 |
/**
|
18 |
*
|
19 |
* @author fdiaz
|
20 |
*/
|
21 |
public interface VCSGisSwingServices { |
22 |
|
23 |
public static int HIGHLIGHT_REPOSITORY = 1; |
24 |
public static int HIGHLIGHT_WORKSPACE = 2; |
25 |
public static int HIGHLIGHT_WORKSPACE_PREVIOUS = 3; |
26 |
|
27 |
public TreeModel getFeatureStoresTreeModel(); |
28 |
|
29 |
public ListModel getFeatureStoresListModel(); |
30 |
|
31 |
public void addTableToProject(VCSGisWorkspace ws, FeatureStore store); |
32 |
|
33 |
public ComboBoxModel<LabeledValue> getViewDocumentsComboBoxModel(); |
34 |
|
35 |
public void addLayerToView(FeatureStore store, LabeledValue view); |
36 |
|
37 |
public void addLayerToView(FeatureStore store, LabeledValue view, String name); |
38 |
|
39 |
public void addLayerToActiveView(FeatureStore store, String name); |
40 |
|
41 |
public void centerActiveViewToGeometry(Geometry geometry); |
42 |
|
43 |
public void centerViewsHavingAStoreToGeometry(FeatureStore store, Geometry geometry); |
44 |
|
45 |
public void zoomActiveViewToGeometry(Geometry geometry); |
46 |
|
47 |
public void zoomViewsHavingAStoreToGeometry(FeatureStore store, Geometry geometry); |
48 |
|
49 |
public void cleanHighligthed(); |
50 |
|
51 |
public void cleanActiveViewHighligthed(); |
52 |
|
53 |
public void refreshDocument(FeatureStore store); |
54 |
|
55 |
public void highlight(int mode, Geometry geometry); |
56 |
|
57 |
public void highlight(int mode, Geometry geom, FeatureStore store); |
58 |
|
59 |
public boolean isThereAnyActiveView(); |
60 |
|
61 |
public void addTableToProject(VCSGisWorkspace ws, FeatureStore store, String tableName); |
62 |
|
63 |
} |