gvsig-projects-pool / org.gvsig.online / trunk / org.gvsig.online / org.gvsig.online.swing / org.gvsig.online.swing.api / src / main / java / org / gvsig / online / swing / api / OnlineSwingManager.java @ 9518
History | View | Annotate | Download (3.35 KB)
1 |
/**
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007-2013 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, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
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 |
package org.gvsig.online.swing.api; |
25 |
|
26 |
import java.sql.Timestamp; |
27 |
import java.util.List; |
28 |
import javax.swing.JButton; |
29 |
import javax.swing.JComboBox; |
30 |
import javax.swing.JList; |
31 |
import javax.swing.JTree; |
32 |
import javax.swing.text.JTextComponent; |
33 |
import org.gvsig.online.lib.api.workingcopy.OnlineEntity; |
34 |
import org.gvsig.tools.swing.api.pickercontroller.PickerController; |
35 |
import org.gvsig.online.lib.api.workingcopy.OnlineWorkingcopy; |
36 |
|
37 |
|
38 |
/**
|
39 |
*
|
40 |
* @author jjdelcerro
|
41 |
*/
|
42 |
public interface OnlineSwingManager { |
43 |
public OnlineJChanges createChangesPanel();
|
44 |
|
45 |
public OnlineJChanges createChangesPanel(OnlineWorkingcopy workspace, List<String> tableNames, Timestamp efectivedate, String comment); |
46 |
|
47 |
public OnlineJDownload createDownloadPanel();
|
48 |
|
49 |
public OnlineJDownload createDownloadPanel(OnlineWorkingcopy workspace, List<String> tableNames, Boolean overwrite); |
50 |
|
51 |
public OnlineJInitWorkingcopy createInitWorkspacePanel();
|
52 |
|
53 |
public PickerController<OnlineWorkingcopy> createPickerWorkspaceController(JComboBox combo); |
54 |
|
55 |
public PickerController<OnlineWorkingcopy> createPickerWorkspaceController(JComboBox combo, JButton btnInitWorkspace); |
56 |
|
57 |
public void setDefaultServices(OnlineSwingServices services); |
58 |
|
59 |
public OnlineSwingServices getDefaultServices();
|
60 |
|
61 |
public String getHTMLColoredForEntity(OnlineEntity entity, String name); |
62 |
|
63 |
public String getHTMLColoredForEntity(OnlineEntity entity, String name, int defaultState); |
64 |
|
65 |
public OnlineEntitySelectorController createEntitySelectorController(JList lstTables, JTextComponent txtFilter, JButton btnTable, JButton btnCheckAll, JButton btnUnCheckAll); |
66 |
|
67 |
public OnlineEntitySelectorController createEntitySelectorController(JList lstTables, JTextComponent txtFilter, JButton btnTable); |
68 |
|
69 |
public OnlineEntitySelectorController createEntitySelectorController(JList lstTables); |
70 |
|
71 |
public OnlineEntitySelectorController createEntitySelectorController(JComboBox cboTables); |
72 |
|
73 |
public OnlineEntitySelectorController createEntitySelectorController(JTree treeEntities, JTextComponent txtFilter, JButton btnTable, JButton btnCheckAll, JButton btnUnCheckAll); |
74 |
|
75 |
public OnlineEntitySelectorController createEntitySelectorController(JTree treeEntities, JTextComponent txtFilter, JButton btnTable); |
76 |
|
77 |
public OnlineEntitySelectorController createEntitySelectorController(JTree treeEntities); |
78 |
|
79 |
public OnlineJRegisterWorkspace createRegisterWorkspacePanel();
|
80 |
} |