Statistics
| Revision:

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 @ 3459

History | View | Annotate | Download (2.01 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 java.util.Set;
10
import javax.swing.ComboBoxModel;
11
import javax.swing.ListModel;
12
import javax.swing.tree.TreeModel;
13
import org.gvsig.fmap.dal.feature.FeatureStore;
14
import org.gvsig.fmap.geom.Geometry;
15
import org.gvsig.tools.util.LabeledValue;
16
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
17

    
18
/**
19
 *
20
 * @author fdiaz
21
 */
22
public interface VCSGisSwingServices {
23
    
24
    public static int HIGHLIGHT_REPOSITORY = 1;
25
    public static int HIGHLIGHT_WORKSPACE = 2;
26
    public static int HIGHLIGHT_WORKSPACE_PREVIOUS = 3;
27
    
28
    public TreeModel getFeatureStoresTreeModel();
29

    
30
    public ListModel getFeatureStoresListModel();
31

    
32
    public void addTableToProject(VCSGisWorkspace ws, FeatureStore store);
33

    
34
    public ComboBoxModel<LabeledValue> getViewDocumentsComboBoxModel();
35

    
36
    public void addLayerToView(FeatureStore store, LabeledValue view);
37

    
38
    public void addLayerToView(FeatureStore store, LabeledValue view, String name);
39
    
40
    public void addLayerToActiveView(FeatureStore store, String name);
41

    
42
    public void centerActiveViewToGeometry(Geometry geometry);
43

    
44
    public void centerViewsHavingAStoreToGeometry(FeatureStore store, Geometry geometry);
45

    
46
    public void zoomActiveViewToGeometry(Geometry geometry);
47

    
48
    public void zoomViewsHavingAStoreToGeometry(FeatureStore store, Geometry geometry);
49

    
50
    public void cleanHighligthed();
51
    
52
    public void cleanActiveViewHighligthed();
53
    
54
    public void refreshDocument(FeatureStore store);
55
    
56
    public void refreshDocument(Set<FeatureStore> stores);
57

    
58
    public void highlight(int mode, Geometry geometry);
59
    
60
    public void highlight(int mode, Geometry geom, FeatureStore store);
61
    
62
    public boolean isThereAnyActiveView();
63
    
64
    public void addTableToProject(VCSGisWorkspace ws, FeatureStore store, String tableName);
65
    
66
}