Revision 7967

View differences:

org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/pom.xml
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
  <modelVersion>4.0.0</modelVersion>
3
  <parent>
4
    <groupId>org.gvsig</groupId>
5
    <artifactId>org.gvsig.vcsgis.swing</artifactId>
6
    <version>1.0.93</version>
7
  </parent>
8
  <artifactId>org.gvsig.vcsgis.swing.api</artifactId>
9
  <name>${project.artifactId}</name>
10
  <dependencies>
11
    <dependency>
12
      <groupId>org.gvsig</groupId>
13
      <artifactId>org.gvsig.tools.swing.api</artifactId>
14
    </dependency>
15
    <dependency>
16
      <groupId>org.gvsig</groupId>
17
      <artifactId>org.gvsig.vcsgis.lib.api</artifactId>
18
    </dependency>
19
    <dependency>
20
      <groupId>org.gvsig</groupId>
21
      <artifactId>org.gvsig.fmap.control</artifactId>
22
    </dependency>
23
  </dependencies>
24
</project>
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJCheckoutDataModel.java
1
package org.gvsig.vcsgis.swing;
2

  
3
/*
4
 * gvSIG. Desktop Geographic Information System.
5
 * 
6
 * Copyright (C) 2007-2020 gvSIG Association.
7
 * 
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 3
11
 * of the License, or (at your option) any later version.
12
 * 
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 * 
18
 * You should have received a copy of the GNU General Public License 
19
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
20
 * 
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24

  
25

  
26
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
27

  
28
/**
29
 *
30
 * @author jjdelcerro
31
 */
32
public interface VCSGisJCheckoutDataModel extends VCSGisPanel {
33
    
34
    public int connectToModel();
35
    
36
    public VCSGisWorkspace getWorkspace();
37

  
38
    public String getDataModel();
39
    
40
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJRevisions.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
/**
25
 *
26
 * @author jjdelcerro
27
 */
28
public interface VCSGisJRevisions extends VCSGisPanel {
29
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJExport.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
25
import org.gvsig.vcsgis.lib.VCSGisEntity;
26

  
27
/**
28
 *
29
 * @author gvSIG Team
30
 */
31
public interface VCSGisJExport extends VCSGisPanel {
32
    
33
    public int export();
34
    
35
    public VCSGisWorkspace getWorkspace();
36

  
37
    public VCSGisEntity getTable();
38
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisSwingServices.java
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.Set;
9
import javax.swing.ComboBoxModel;
10
import javax.swing.Icon;
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.fmap.mapcontrol.MapControl;
16
import org.gvsig.tools.util.LabeledValue;
17
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
18

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

  
31
    public ListModel getFeatureStoresListModel();
32

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

  
35
    public ComboBoxModel<LabeledValue> getViewDocumentsComboBoxModel();
36

  
37
    public void addLayerToView(FeatureStore store, LabeledValue view, String groupName, String name, boolean replaceLayerIfExists);
38

  
39
    public void centerActiveViewToGeometry(Geometry geometry);
40

  
41
    public void centerViewsHavingAStoreToGeometry(FeatureStore store, Geometry geometry);
42

  
43
    public void zoomActiveViewToGeometry(Geometry geometry);
44

  
45
    public void zoomViewsHavingAStoreToGeometry(FeatureStore store, Geometry geometry);
46

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

  
57
    public void highlight(int mode, Geometry geometry);
58
    
59
    public void highlight(int mode, Geometry geom, FeatureStore store);
60
    
61
    public boolean isThereAnyActiveView();
62
    
63
    public void addTableToProject(VCSGisWorkspace ws, FeatureStore store, String tableName);
64
    
65
    public Icon getFeatureStoresTreeModelIcon(TreeModel model, Object obj);
66
    
67
    public void connectedToModel(VCSGisWorkspace workspace, String model);
68
    
69
    public Geometry getExtentOfCurrentDocument();
70

  
71
    public boolean isInSomeDocument(FeatureStore store);
72

  
73
    public MapControl getActiveMapControl();
74

  
75
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJInitWorkspace.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
/**
25
 *
26
 * @author jjdelcerro
27
 */
28
public interface VCSGisJInitWorkspace extends VCSGisPanel {
29
 
30
    public int initializeWorkspace();
31
    
32
    public String getWorkspaceName();
33
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJCreateResourceTable.java
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 org.gvsig.vcsgis.lib.VCSGisEntity;
9
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
10

  
11
/**
12
 *
13
 * @author jovivas
14
 */
15
public interface VCSGisJCreateResourceTable extends VCSGisPanel {
16
    
17
    public int createResourceTable();
18
    
19
    public String getWorkspaceName();
20
    
21
    public VCSGisWorkspace getWorkspace();
22

  
23
    public VCSGisEntity getTable();
24
    
25
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSWorkspacePickerController.java
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 org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
9
import org.gvsig.tools.swing.api.pickercontroller.PickerController;
10

  
11
/**
12
 *
13
 * @author gvSIG Team
14
 */
15
public interface VCSWorkspacePickerController extends PickerController<VCSGisWorkspace>{
16
    
17
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJAddLayer.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
import org.gvsig.fmap.dal.feature.OpenFeatureStoreParameters;
25
import org.gvsig.tools.swing.api.Component;
26

  
27
/**
28
 *
29
 * @author gvSIG Team
30
 */
31
public interface VCSGisJAddLayer extends Component {
32
    
33
    public OpenFeatureStoreParameters getOpenFeatureStoreParameters();
34

  
35
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisPanel.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2021 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
import org.gvsig.tools.swing.api.Component;
25
import org.gvsig.tools.swing.api.windowmanager.Dialog;
26

  
27
/**
28
 *
29
 * @author gvSIG Team
30
 */
31
public interface VCSGisPanel extends Component {
32
    
33
        public boolean isProcessing();
34

  
35
        public void setDialog(Dialog dialog);
36
    
37
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJBackupHistory.java
1
package org.gvsig.vcsgis.swing;
2

  
3
/*
4
 * gvSIG. Desktop Geographic Information System.
5
 * 
6
 * Copyright (C) 2007-2020 gvSIG Association.
7
 * 
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 3
11
 * of the License, or (at your option) any later version.
12
 * 
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 * 
18
 * You should have received a copy of the GNU General Public License 
19
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
20
 * 
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24

  
25

  
26
import java.util.List;
27
import org.gvsig.vcsgis.lib.VCSGisEntity;
28
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
29

  
30
/**
31
 *
32
 * @author fdiaz
33
 */
34
public interface VCSGisJBackupHistory extends VCSGisPanel {
35
    
36
    public int backupHistory();
37
    
38
    public VCSGisWorkspace getWorkspace();
39

  
40
    public List<VCSGisEntity> getTables();
41
    
42
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJPrepareWorkingcopy.java
1
package org.gvsig.vcsgis.swing;
2

  
3
/**
4
 *
5
 * @author gvSIG Team
6
 */
7
public interface VCSGisJPrepareWorkingcopy extends VCSGisPanel {
8
    
9
    public int prepare();
10

  
11
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJInitServer.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
import org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParameters;
25
import org.gvsig.fmap.dal.store.jdbc2.JDBCServerExplorer;
26

  
27
/**
28
 *
29
 * @author jjdelcerro
30
 */
31
public interface VCSGisJInitServer extends VCSGisPanel {
32
    
33
    public int initialize();
34
    
35
    public JDBCServerExplorerParameters getConnection();
36

  
37
    public JDBCServerExplorer getServer();
38
    
39
    public String getConnectionLabel();
40
 
41
    
42
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJImportHistory.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
import java.io.File;
25
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
26
import org.gvsig.fmap.dal.feature.FeatureStore;
27
import org.gvsig.tools.swing.api.Component;
28
import org.gvsig.tools.swing.api.windowmanager.Dialog;
29

  
30
/**
31
 *
32
 * @author jjdelcerro
33
 */
34
public interface VCSGisJImportHistory extends VCSGisPanel {
35
    
36
    public int importHistory();
37
    
38
    public VCSGisWorkspace getWorkspace();
39
    
40
    public File getLastLogFile();
41
    
42
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisSwingLocator.java
1
/* gvSIG. Desktop Geographic Information System.
2
 *
3
 * Copyright (c) 2007-2020 gvSIG Association
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
 * MA  02110-1301, USA.
19
 *
20
 * For any additional information, do not hesitate to contact us
21
 * at info AT gvsig.com, or visit our website www.gvsig.com.
22
 */
23
package org.gvsig.vcsgis.swing;
24

  
25
import org.gvsig.tools.locator.AbstractLocator;
26
import org.gvsig.tools.locator.Locator;
27
import org.gvsig.tools.locator.LocatorException;
28

  
29

  
30
/**
31
 * @author gvSIG Team
32
 *
33
 */
34
public class VCSGisSwingLocator extends AbstractLocator {
35

  
36
    private static final String LOCATOR_NAME = "vcsgisSwingLocator";
37
    public static final String MANAGER_NAME = "vcsgisSwingManager";
38
    private static final String MANAGER_DESCRIPTION = "vcsgis Swing Algorithms Manager of gvSIG";
39

  
40
    private static final VCSGisSwingLocator INSTANCE = new VCSGisSwingLocator();
41

  
42

  
43
    public static Locator getInstance() {
44
        return INSTANCE;
45
    }
46

  
47
    @Override
48
    public String getLocatorName() {
49
        return LOCATOR_NAME;
50
    }
51

  
52

  
53
    /**
54
     * Registers the Class implementing the vcsgisSwingManager interface.
55
     *
56
     * @param clazz implementing the vcsgisSwingManager interface
57
     */
58
    public static void registerVCSGisSwingManager(Class clazz){
59
        getInstance().register(MANAGER_NAME, MANAGER_DESCRIPTION, clazz);
60
    }
61

  
62
    /**
63
     * Registers the default Class implementing the vcsgisSwingManager interface
64
     *
65
     * @param clazz implementing the vcsgisSwingManager interface
66
     */
67
    public static void registerDefaultVCSGisSwingManager(Class clazz){
68
        getInstance().registerDefault(MANAGER_NAME, MANAGER_DESCRIPTION, clazz);
69
    }
70

  
71
    /**
72
     * Return a reference to vcsgisSwingManager.
73
     *
74
     * @return a reference to vcsgisSwingManager
75
     * @throws LocatorException
76
     *             if there is no access to the class or the class
77
     *             cannot be instantiated
78
     * @see Locator#get(String)
79
     */
80
    public static VCSGisSwingManager getVCSGisSwingManager() throws LocatorException {
81
        return (VCSGisSwingManager)(getInstance().get(MANAGER_NAME));
82
    }
83

  
84
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisSwingLibrary.java
1
/* gvSIG. Desktop Geographic Information System.
2
 *
3
 * Copyright (c) 2007-2020 gvSIG Association
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
 * MA  02110-1301, USA.
19
 *
20
 * For any additional information, do not hesitate to contact us
21
 * at info AT gvsig.com, or visit our website www.gvsig.com.
22
 */
23
package org.gvsig.vcsgis.swing;
24

  
25
import org.gvsig.tools.library.AbstractLibrary;
26
import org.gvsig.tools.library.LibraryException;
27
import org.gvsig.tools.locator.ReferenceNotRegisteredException;
28

  
29
/**
30
 * @author gvSIG Team
31
 *
32
 */
33
public class VCSGisSwingLibrary extends AbstractLibrary {
34

  
35
    @Override
36
    protected void doInitialize() throws LibraryException {
37
        registerAsAPI(VCSGisSwingLibrary.class);
38

  
39
    }
40

  
41
    @Override
42
    protected void doPostInitialize() throws LibraryException {
43
        // Validate there is any implementation registered.
44
        VCSGisSwingManager swingManager = VCSGisSwingLocator.getVCSGisSwingManager();
45
        if (swingManager == null) {
46
            throw new ReferenceNotRegisteredException(
47
                    VCSGisSwingLocator.MANAGER_NAME, VCSGisSwingLocator.getInstance());
48
        }
49
    }
50

  
51
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJShowServerTableForm.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
import org.gvsig.tools.swing.api.Component;
25

  
26
/**
27
 *
28
 * @author jjdelcerro
29
 */
30
public interface VCSGisJShowServerTableForm extends Component {
31
    
32
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJDownloadWorkingcopy.java
1
package org.gvsig.vcsgis.swing;
2

  
3
/**
4
 *
5
 * @author gvSIG Team
6
 */
7
public interface VCSGisJDownloadWorkingcopy extends VCSGisPanel {
8
    
9
    public int download(boolean quietly);
10

  
11
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJRegisterWorkspace.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
/**
25
 *
26
 * @author jjdelcerro
27
 */
28
public interface VCSGisJRegisterWorkspace extends VCSGisPanel {
29
 
30
    public void registerWorkspace();
31
    
32
    public void deregisterWorkspace();
33

  
34
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJRestoreHistory.java
1
package org.gvsig.vcsgis.swing;
2

  
3
/*
4
 * gvSIG. Desktop Geographic Information System.
5
 * 
6
 * Copyright (C) 2007-2020 gvSIG Association.
7
 * 
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 3
11
 * of the License, or (at your option) any later version.
12
 * 
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 * 
18
 * You should have received a copy of the GNU General Public License 
19
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
20
 * 
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24

  
25

  
26
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
27

  
28
/**
29
 *
30
 * @author fdiaz
31
 */
32
public interface VCSGisJRestoreHistory extends VCSGisPanel {
33
    
34
    public int restoreHistory();
35
    
36
    public VCSGisWorkspace getWorkspace();
37

  
38
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJCheckout.java
1
package org.gvsig.vcsgis.swing;
2

  
3
/*
4
 * gvSIG. Desktop Geographic Information System.
5
 * 
6
 * Copyright (C) 2007-2020 gvSIG Association.
7
 * 
8
 * This program is free software; you can redistribute it and/or
9
 * modify it under the terms of the GNU General Public License
10
 * as published by the Free Software Foundation; either version 3
11
 * of the License, or (at your option) any later version.
12
 * 
13
 * This program is distributed in the hope that it will be useful,
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
 * GNU General Public License for more details.
17
 * 
18
 * You should have received a copy of the GNU General Public License 
19
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
20
 * 
21
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24

  
25

  
26
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
27
import org.gvsig.vcsgis.lib.VCSGisEntity;
28

  
29
/**
30
 *
31
 * @author jjdelcerro
32
 */
33
public interface VCSGisJCheckout extends VCSGisPanel {
34
    
35
    public int checkout();
36
    
37
    public VCSGisWorkspace getWorkspace();
38

  
39
    public VCSGisEntity getTable();
40
    
41
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisEntitySelectorController.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
import java.util.Collection;
25
import java.util.Collections;
26
import java.util.List;
27
import java.util.function.Function;
28
import java.util.function.Predicate;
29
import javax.swing.tree.DefaultMutableTreeNode;
30
import javax.swing.tree.DefaultTreeModel;
31
import javax.swing.tree.TreePath;
32
import org.gvsig.tools.swing.api.ActionListenerSupport;
33
import org.gvsig.tools.swing.api.ChangeListenerSupport;
34
import org.gvsig.vcsgis.lib.VCSGisEntity;
35
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
36
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspaceEntity;
37

  
38
/**
39
 *
40
 * @author gvSIG Team
41
 */
42
public interface VCSGisEntitySelectorController extends ActionListenerSupport, ChangeListenerSupport { //, ListSelectionListenerSupport {
43

  
44
    public static Predicate<VCSGisEntity> ALL_ENTITIES = (VCSGisEntity t) -> true;
45
    public static Predicate<VCSGisEntity> REMOTE_ENTITIES = (VCSGisEntity t) -> !(t instanceof VCSGisWorkspaceEntity);
46
    public static Predicate<VCSGisEntity> LOCAL_ENTITIES = (VCSGisEntity t) -> (t instanceof VCSGisWorkspaceEntity);
47
   
48
    public static final int ACTION_SELECT_ID = 0;
49
    public static final int ACTION_CHECK_ID = 1;
50
    public static final int ACTION_RELOAD_ID = 2;
51
    public static final int ACTION_BEGIN_PROCESSING_ID = 3;
52
    public static final int ACTION_END_PROCESSING_ID = 4;
53
    
54
    public static final String ACTION_SELECT = "select";
55
    public static final String ACTION_CHECK = "check";
56
    public static final String ACTION_RELOAD = "reload";
57
    public static final String ACTION_BEGIN_PROCESSING = "begin_processing";
58
    public static final String ACTION_END_PROCESSING = "end_processing";
59
    
60
    public VCSGisEntity getSelectedEntity();
61

  
62
    public void setSelectedEntity(VCSGisEntity entity);
63

  
64
    public List<VCSGisEntity> getCheckedEntities();
65

  
66
    public Collection<VCSGisEntity> getEntities();
67

  
68
    public VCSGisWorkspace getWorkspace();
69
    
70
    public void reloadEntities();
71

  
72
    public boolean isProcessing();
73
    
74
    public void setChecksEnabled(boolean enabled);
75
    
76
    public boolean isChecksEnabled();
77
    
78
    public void setEnabled(boolean enabled);
79

  
80
    public boolean isEnabled();
81
    
82
    public void setWorkspace(VCSGisWorkspace workspace);
83
    
84
    public void setViewFilter(Predicate<VCSGisEntity> viewFilter);
85

  
86
    public void setFilter(Predicate<VCSGisEntity> filter);
87
    
88
    public void clearChecks();
89
    
90
    public void check(VCSGisEntity entity);
91

  
92
    public void unCheck(VCSGisEntity entity);
93
    
94
    public void setCheck(Collection<String> entityCodes, boolean check);
95

  
96
    public void checkAll();
97
    
98
    public void clear();
99
    
100
    public void setLabelEntityFormatter(Function<VCSGisEntity,String> formatter);
101
    
102
    public String getCategory(VCSGisEntity category);
103
    
104
    public void collapseAll();
105
    
106
    public void expandAll();
107
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisSwingManager.java
1
/* gvSIG. Desktop Geographic Information System.
2
 *
3
 * Copyright (c) 2007-2020 gvSIG Association
4
 *
5
 * This program is free software; you can redistribute it and/or
6
 * modify it under the terms of the GNU General Public License
7
 * as published by the Free Software Foundation; either version 2
8
 * of the License, or (at your option) any later version.
9
 *
10
 * This program is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18
 * MA  02110-1301, USA.
19
 *
20
 * For any additional information, do not hesitate to contact us
21
 * at info AT gvsig.com, or visit our website www.gvsig.com.
22
 */
23
package org.gvsig.vcsgis.swing;
24

  
25
import java.sql.Timestamp;
26
import java.util.List;
27
import javax.swing.JButton;
28
import javax.swing.JComboBox;
29
import javax.swing.JList;
30
import javax.swing.JTree;
31
import javax.swing.text.JTextComponent;
32
import org.gvsig.tools.swing.api.pickercontroller.PickerController;
33
import org.gvsig.vcsgis.lib.VCSGisEntity;
34
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
35
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspaceEntity;
36

  
37

  
38

  
39
/**
40
 * @author gvSIG Team
41
 *
42
 */
43
public interface VCSGisSwingManager {
44

  
45
    public VCSGisJChanges createChangesPanel();
46
    
47
    public VCSGisJChanges createChangesPanel(VCSGisWorkspace workspace, List<String> tableNames, Timestamp efectivedate, String comment);
48
    
49
    public VCSGisJRevisions createRevisionsPanel();
50
    
51
    public PickerController<VCSGisWorkspace> createPickerWorkspaceController(JComboBox combo);
52

  
53
    public VCSGisJInitServer createInitRepositoryPanel();
54
    
55
    public VCSGisJInitWorkspace createInitWorkspacePanel();
56
    
57
    public VCSGisJAddToWorkspace createAddToWorkspacePanel();
58

  
59
    public VCSGisJCheckout createCheckoutPanel();
60
    
61
    public VCSGisJCheckout createCheckoutPanel(VCSGisWorkspace workspace, List<String> tableNames, Boolean overwrite);
62

  
63
    public VCSGisJCheckoutDataModel createCheckoutDataModelPanel();
64
    
65
    public VCSGisJCheckoutDataModel createCheckoutDataModelPanel(VCSGisWorkspace workspace, String model);
66
    
67
    public VCSGisJExport createExportPanel();
68
    
69
    public VCSGisJImportHistory createImportHistoryPanel();
70
    
71
    public void setDefaultServices(VCSGisSwingServices services);
72

  
73
    public VCSGisSwingServices getDefaultServices();
74
    
75
    public PickerController<VCSGisWorkspace> createWorkspacePickerController(JComboBox combo, JButton button);
76

  
77
    public VCSGisJRegisterWorkspace createRegisterWorkspacePanel();
78

  
79
    public VCSGisJShowServerTableForm createShowTableServerFormPanel(String tableName);
80
    
81
    public String getHTMLColoredForEntity(VCSGisWorkspaceEntity entity, String name);
82

  
83
    public String getHTMLColoredForEntity(VCSGisWorkspaceEntity entity, String name, int defaultState);
84
    
85
    public VCSGisJCreateResourceTable createResourceTablePanel();
86
    
87
    public VCSGisJLogout createLogoutPanel();
88
    
89
    public VCSGisEntitySelectorController createEntitySelectorController(JList lstTables, JTextComponent txtFilter, JButton btnTable, JButton btnCheckAll, JButton btnUnCheckAll);
90
    
91
    public VCSGisEntitySelectorController createEntitySelectorController(JList lstTables, JTextComponent txtFilter, JButton btnTable);
92
    
93
    public VCSGisEntitySelectorController createEntitySelectorController(JList lstTables);
94
    
95
    public VCSGisEntitySelectorController createEntitySelectorController(JTree treeEntities, JTextComponent txtFilter, JButton btnTable, JButton btnCheckAll, JButton btnUnCheckAll);
96

  
97
    public VCSGisEntitySelectorController createEntitySelectorController(JTree treeEntities, JTextComponent txtFilter, JButton btnTable);
98
    
99
    public VCSGisEntitySelectorController createEntitySelectorController(JTree treeEntities);
100
    
101
    public VCSGisEntitySelectorController createEntitySelectorController(JComboBox cboTables);
102

  
103
    public VCSGisJDownloadWorkingcopy createDownloadWorkingcopyPanel();
104
    
105
    public boolean executeTopologyPlan(VCSGisWorkspace ws, VCSGisEntity entity, boolean autoclose);
106

  
107
    public VCSGisJPrepareWorkingcopy createPrepareWorkingcopyPanel();
108

  
109
    public VCSGisJBackupHistory createBackupHistoryPanel();
110
    
111
    public VCSGisJRestoreHistory createRestoreHistoryPanel();
112

  
113
    public VCSGisPanel createRegistrationOfEditingStoresPanel();
114
    
115
    public VCSGisPanel createRepositoryEntityFeatureTypeEditor();
116
    
117
    public boolean isEmptyEffectiveDateAllowed();
118
    
119
    public boolean useCurrentDateAsEffectiveDateByDefault();
120

  
121
    public void setEmptyEffectiveDateAllowed(boolean b);
122

  
123
    public void setCurrentDateAsEffectiveDateByDefault(boolean b);
124

  
125
    public void setRepositoryEntityFeatureTypeEditorMode(int value);
126

  
127
    public boolean getEmptyEffectiveDateAllowed();
128

  
129
    public boolean getCurrentDateAsEffectiveDateByDefault();
130

  
131
    public int getRepositoryEntityFeatureTypeEditorMode();
132
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJChanges.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
/**
25
 *
26
 * @author jjdelcerro
27
 */
28
public interface VCSGisJChanges extends VCSGisPanel {
29
    
30
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJLogout.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
25

  
26
/**
27
 *
28
 * @author gvSIG Team
29
 */
30
public interface VCSGisJLogout extends VCSGisPanel {
31
    
32
    public VCSGisWorkspace getWorkspace();
33
    
34
    public void logout();
35
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/java/org/gvsig/vcsgis/swing/VCSGisJAddToWorkspace.java
1
/*
2
 * gvSIG. Desktop Geographic Information System.
3
 * 
4
 * Copyright (C) 2007-2020 gvSIG Association.
5
 * 
6
 * This program is free software; you can redistribute it and/or
7
 * modify it under the terms of the GNU General Public License
8
 * as published by the Free Software Foundation; either version 3
9
 * of the License, or (at your option) any later version.
10
 * 
11
 * This program is distributed in the hope that it will be useful,
12
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 * GNU General Public License for more details.
15
 * 
16
 * You should have received a copy of the GNU General Public License 
17
 * along with this program. If not, see <https://www.gnu.org/licenses/>. 
18
 * 
19
 * For any additional information, do not hesitate to contact us
20
 * at info AT gvsig.com, or visit our website www.gvsig.com.
21
 */
22
package org.gvsig.vcsgis.swing;
23

  
24
import org.gvsig.vcsgis.lib.workspace.VCSGisWorkspace;
25

  
26
/**
27
 *
28
 * @author jjdelcerro
29
 */
30
public interface VCSGisJAddToWorkspace extends VCSGisPanel {
31
    
32
    public int add();
33
    
34
    public VCSGisWorkspace getWorkspace();
35
    
36
    public String getLastErrorMessage();
37
    
38
}
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library
1
org.gvsig.vcsgis.swing.VCSGisSwingLibrary
0 2

  
org.gvsig.vcsgis/tags/org.gvsig.vcsgis-1.0.93/org.gvsig.vcsgis.swing/org.gvsig.vcsgis.swing.impl/pom.xml
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2
  <modelVersion>4.0.0</modelVersion>
3
  <parent>
4
    <groupId>org.gvsig</groupId>
5
    <artifactId>org.gvsig.vcsgis.swing</artifactId>
6
    <version>1.0.93</version>
7
  </parent>
8
  <artifactId>org.gvsig.vcsgis.swing.impl</artifactId>
9
  <name>${project.artifactId}</name>
10
  <dependencies>
11
    <dependency>
12
      <groupId>org.gvsig</groupId>
13
      <artifactId>org.gvsig.vcsgis.swing.api</artifactId>
14
      <scope>compile</scope>
15
    </dependency>
16
    <dependency>
17
      <groupId>org.gvsig</groupId>
18
      <artifactId>org.gvsig.tools.lib</artifactId>
19
      <scope>compile</scope>
20
    </dependency>
21
    <dependency>
22
      <groupId>com.jgoodies</groupId>
23
      <artifactId>jgoodies-forms</artifactId>
24
      <scope>compile</scope>
25
    </dependency>
26
    <dependency>
27
      <groupId>org.gvsig</groupId>
28
      <artifactId>org.gvsig.vcsgis.lib.api</artifactId>
29
      <scope>compile</scope>
30
    </dependency>
31
    <dependency>
32
      <groupId>org.gvsig</groupId>
33
      <artifactId>org.gvsig.tools.swing.api</artifactId>
34
      <scope>compile</scope>
35
    </dependency>
36
    <dependency>
37
      <groupId>org.gvsig</groupId>
38
      <artifactId>org.gvsig.fmap.dal.swing.api</artifactId>
39
      <scope>compile</scope>
40
    </dependency>
41
    <dependency>
42
      <groupId>org.gvsig</groupId>
43
      <artifactId>org.gvsig.fmap.mapcontext.api</artifactId>
44
      <scope>compile</scope>
45
    </dependency>
46
    <dependency>
47
      <groupId>org.gvsig</groupId>
48
      <artifactId>org.gvsig.topology.lib.api</artifactId>
49
      <scope>compile</scope>
50
    </dependency>
51
    <dependency>
52
      <groupId>org.gvsig</groupId>
53
      <artifactId>org.gvsig.topology.swing.api</artifactId>
54
      <scope>compile</scope>
55
    </dependency>
56
    <dependency>
57
      <groupId>org.gvsig</groupId>
58
      <artifactId>org.gvsig.h2spatial.h2gis132.provider</artifactId>
59
      <scope>compile</scope>
60
    </dependency>
61
    <dependency>
62
      <groupId>org.apache.httpcomponents</groupId>
63
      <artifactId>httpclient</artifactId>
64
      <scope>compile</scope>
65
    </dependency>
66
    <dependency>
67
        <groupId>org.gvsig</groupId>
68
        <artifactId>org.gvsig.vcsgis.lib.impl</artifactId>
69
        <scope>test</scope>
70
        <type>test-jar</type>
71
    </dependency>
72
    <dependency>
73
        <groupId>org.gvsig</groupId>
74
        <artifactId>org.gvsig.vcsgis.lib.impl</artifactId>
75
        <scope>test</scope>
76
    </dependency>
77
    
78
        <dependency>
79
            <groupId>org.gvsig</groupId>
80
            <artifactId>org.gvsig.fmap.dal.impl</artifactId>
81
            <scope>test</scope>
82
        </dependency>
83
<!--        <dependency>
84
            <groupId>org.gvsig</groupId>
85
            <artifactId>${org.gvsig.h2spatial.provider}</artifactId>
86
            <artifactId>org.gvsig.h2spatial.h2gis132.provider</artifactId>
87
            <scope>test</scope>
88
        </dependency>            -->
89
        <dependency>
90
            <groupId>org.gvsig</groupId>
91
            <artifactId>org.gvsig.fmap.dal.file.csv</artifactId>
92
            <scope>test</scope>
93
        </dependency>
94
        <dependency>
95
            <groupId>org.gvsig</groupId>
96
            <artifactId>${org.gvsig.fmap.geometry.impl}</artifactId>
97
            <scope>test</scope>
98
        </dependency>    
99
        <dependency>
100
            <groupId>org.gvsig</groupId>
101
            <artifactId>org.gvsig.expressionevaluator.lib.impl</artifactId>
102
            <scope>test</scope>
103
        </dependency>    
104
        <dependency>
105
            <groupId>org.gvsig</groupId>
106
            <artifactId>org.gvsig.expressionevaluator.geometry.lib.impl</artifactId>
107
            <scope>test</scope>
108
        </dependency>    
109
        <dependency>
110
            <groupId>org.gvsig</groupId>
111
            <artifactId>org.gvsig.expressionevaluator.swing.impl</artifactId>
112
            <scope>test</scope>
113
        </dependency>    
114
        <dependency>
115
            <groupId>org.gvsig</groupId>
116
            <artifactId>${org.gvsig.proj.lib.impl}</artifactId>
117
            <scope>test</scope>
118
        </dependency>
119
        <dependency>
120
            <groupId>org.gvsig</groupId>
121
            <artifactId>org.gvsig.compat.se</artifactId>
122
            <scope>test</scope>
123
        </dependency>
124
        <dependency>
125
            <groupId>org.gvsig</groupId>
126
            <artifactId>org.gvsig.metadata.lib.basic.impl</artifactId>
127
            <scope>test</scope>
128
        </dependency>      
129
        <dependency>
130
            <groupId>org.gvsig</groupId>
131
            <artifactId>org.gvsig.timesupport.lib.impl</artifactId>
132
            <scope>test</scope>
133
        </dependency>
134
        <dependency>
135
            <groupId>org.gvsig</groupId>
136
            <artifactId>org.gvsig.tools.util.impl</artifactId>
137
            <scope>test</scope>
138
        </dependency>
139
        <dependency>
140
            <groupId>org.gvsig</groupId>
141
            <artifactId>org.gvsig.tools.swing.impl</artifactId>
142
            <scope>test</scope>
143
        </dependency>
144
        <dependency>
145
            <groupId>org.gvsig</groupId>
146
            <artifactId>org.gvsig.tools.dynform.spi</artifactId>
147
            <scope>compile</scope>
148
        </dependency>
149
        <dependency>
150
            <groupId>org.gvsig</groupId>
151
            <artifactId>org.gvsig.tools.dynform.impl</artifactId>
152
            <scope>test</scope>
153
        </dependency>
154
        <dependency>
155
            <groupId>org.gvsig</groupId>
156
            <artifactId>org.gvsig.tools.dynform.services</artifactId>
157
            <scope>test</scope>
158
        </dependency>
159
        <dependency>
160
            <groupId>org.gvsig</groupId>
161
            <artifactId>org.gvsig.fmap.mapcontext.impl</artifactId>
162
            <scope>test</scope>
163
        </dependency>
164
        <dependency>
165
            <groupId>org.gvsig</groupId>
166
            <artifactId>org.gvsig.raster.lib.buffer.impl</artifactId>
167
            <scope>test</scope>
168
        </dependency>
169
        <dependency>
170
            <groupId>org.gvsig</groupId>
171
            <artifactId>org.gvsig.raster.lib.buffer.spi</artifactId>
172
            <scope>test</scope>
173
        </dependency>
174
                
175
        <dependency>
176
            <groupId>org.gvsig</groupId>
177
            <artifactId>org.gvsig.fmap.dal.swing.impl</artifactId>
178
            <scope>test</scope>
179
        </dependency>
180
    <dependency>
181
      <groupId>org.apache.commons</groupId>
182
      <artifactId>commons-compress</artifactId>
183
      <scope>compile</scope>
184
    </dependency>
185
    <dependency>
186
      <groupId>org.gvsig</groupId>
187
      <artifactId>org.gvsig.fmap.control</artifactId>
188
    </dependency>
189
  </dependencies>
190

  
191

  
192
    <build>
193
        <plugins>
194

  
195
            <plugin>
196
                <groupId>org.apache.maven.plugins</groupId>
197
                <artifactId>maven-surefire-plugin</artifactId>
198
                <configuration>
199
                    <!-- Skip test execution ? -->
200
                    <skipTests>true</skipTests>
201
                    <!-- Ignore test execution failure ? -->
202
                    <testFailureIgnore>false</testFailureIgnore>
203
                </configuration>
204
            </plugin>
205
        
206
            <!-- Skip test compilation ? -->
207
            <plugin>
208
                <groupId>org.apache.maven.plugins</groupId>
209
                <artifactId>maven-compiler-plugin</artifactId>
210
                <executions>
211
                    <execution>
212
                        <id>default-testCompile</id>
213
                        <phase>process-test-sources</phase>
214
                        <goals>
215
                            <goal>testCompile</goal>
216
                        </goals>
217
                        <configuration>
218
                            <skip>false</skip>
219
                        </configuration>
220
                    </execution>
221
                </executions>
222
            </plugin>
223
            <plugin>
224
                <groupId>org.apache.maven.plugins</groupId>
225
                <artifactId>maven-jar-plugin</artifactId>
226
                <configuration>
227
                </configuration>
228
                <executions>
229
                    <!-- Generates a jar file only with the test classes -->
230
                    <execution>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff