gvsig-projects-pool / org.gvsig.vcsgis / trunk / org.gvsig.vcsgis / org.gvsig.vcsgis.swing / org.gvsig.vcsgis.swing.impl / src / main / java / org / gvsig / vcsgis / swing / impl / VCSGisSwingManagerImpl.java @ 2381
History | View | Annotate | Download (3.28 KB)
1 |
/* gvSIG. Desktop Geographic Information System.
|
---|---|
2 |
*
|
3 |
* Copyright ? 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.impl; |
24 |
|
25 |
import javax.swing.JButton; |
26 |
import javax.swing.JComboBox; |
27 |
import org.gvsig.vcsgis.lib.VCSGisWorkspace; |
28 |
import org.gvsig.vcsgis.swing.VCSGisJAddToWorkspace; |
29 |
import org.gvsig.vcsgis.swing.VCSGisJChanges; |
30 |
import org.gvsig.vcsgis.swing.VCSGisJCheckout; |
31 |
import org.gvsig.vcsgis.swing.VCSGisJInitServer; |
32 |
import org.gvsig.vcsgis.swing.VCSGisJInitWorkspace; |
33 |
import org.gvsig.vcsgis.swing.VCSGisSwingManager; |
34 |
import org.gvsig.vcsgis.swing.VCSGisSwingServices; |
35 |
import org.gvsig.vcsgis.swing.impl.addToWorkspace.VCSGisJAddToWorkspaceImpl; |
36 |
import org.gvsig.vcsgis.swing.impl.checkout.VCSGisJCheckoutImpl; |
37 |
import org.gvsig.vcsgis.swing.impl.initserver.VCSGisJInitServerImpl; |
38 |
import org.gvsig.vcsgis.swing.impl.initworkspace.VCSGisJInitWorkspaceImpl; |
39 |
import org.gvsig.tools.swing.api.pickercontroller.PickerController; |
40 |
|
41 |
/**
|
42 |
* @author gvSIG Team
|
43 |
*
|
44 |
*/
|
45 |
public class VCSGisSwingManagerImpl implements VCSGisSwingManager { |
46 |
|
47 |
private VCSGisSwingServices services;
|
48 |
|
49 |
@Override
|
50 |
public VCSGisJChanges createChangesPanel(VCSGisWorkspace workspace) {
|
51 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
52 |
} |
53 |
|
54 |
@Override
|
55 |
public PickerController<VCSGisWorkspace> createPickerWorkspaceController(JComboBox combo) { |
56 |
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. |
57 |
} |
58 |
|
59 |
@Override
|
60 |
public VCSGisJInitServer createInitServerPanel() {
|
61 |
return new VCSGisJInitServerImpl(); |
62 |
} |
63 |
|
64 |
@Override
|
65 |
public VCSGisJInitWorkspace createInitWorkspacePanel() {
|
66 |
return new VCSGisJInitWorkspaceImpl(); |
67 |
} |
68 |
|
69 |
@Override
|
70 |
public VCSGisJAddToWorkspace createAddToWorkspacePanel() {
|
71 |
return new VCSGisJAddToWorkspaceImpl(); |
72 |
} |
73 |
|
74 |
@Override
|
75 |
public VCSGisJCheckout createCheckoutPanel() {
|
76 |
return new VCSGisJCheckoutImpl(); |
77 |
} |
78 |
|
79 |
@Override
|
80 |
public void setDefaultServices(VCSGisSwingServices services) { |
81 |
this.services = services;
|
82 |
} |
83 |
|
84 |
@Override
|
85 |
public VCSGisSwingServices getDefaultServices() {
|
86 |
return this.services; |
87 |
} |
88 |
|
89 |
@Override
|
90 |
public PickerController<VCSGisWorkspace> createWorkspacePickerController(JComboBox combo, JButton button) { |
91 |
return new VCSWorkspacePickerControllerImpl(combo, button); |
92 |
} |
93 |
|
94 |
} |