svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.plugin / org.gvsig.app / org.gvsig.app.mainplugin / src / main / java / org / gvsig / app / gui / preferencespage / DriversPages.java @ 47790
History | View | Annotate | Download (2.52 KB)
1 | 40558 | jjdelcerro | /**
|
---|---|---|---|
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 | 40435 | jjdelcerro | package org.gvsig.app.gui.preferencespage; |
25 | |||
26 | import java.awt.BorderLayout; |
||
27 | |||
28 | import javax.swing.ImageIcon; |
||
29 | import javax.swing.JLabel; |
||
30 | import javax.swing.JPanel; |
||
31 | |||
32 | import org.gvsig.andami.PluginServices; |
||
33 | import org.gvsig.andami.preferences.AbstractPreferencePage; |
||
34 | |||
35 | |||
36 | |||
37 | /**
|
||
38 | * P�gina de preferencias de donde cuelgan todos los drivers.
|
||
39 | *
|
||
40 | * @author Vicente Caballero Navarro
|
||
41 | */
|
||
42 | public class DriversPages extends AbstractPreferencePage { |
||
43 | private JLabel jLabel = null; |
||
44 | private ImageIcon icon; |
||
45 | |||
46 | /**
|
||
47 | * This is the default constructor
|
||
48 | */
|
||
49 | public DriversPages() {
|
||
50 | super();
|
||
51 | icon=PluginServices.getIconTheme().get("layout-insert-view");
|
||
52 | initialize(); |
||
53 | } |
||
54 | |||
55 | /**
|
||
56 | * This method initializes this
|
||
57 | */
|
||
58 | private void initialize() { |
||
59 | jLabel = new JLabel(); |
||
60 | jLabel.setText(PluginServices.getText(this,
|
||
61 | "configurar_todos_los_drivers"));
|
||
62 | this.setLayout(new BorderLayout()); |
||
63 | this.setSize(300, 200); |
||
64 | this.add(jLabel, java.awt.BorderLayout.CENTER);
|
||
65 | } |
||
66 | |||
67 | public String getID() { |
||
68 | return this.getClass().getName(); |
||
69 | } |
||
70 | |||
71 | public String getTitle() { |
||
72 | return PluginServices.getText(this, "drivers"); |
||
73 | } |
||
74 | |||
75 | public JPanel getPanel() { |
||
76 | return this; |
||
77 | } |
||
78 | |||
79 | public void initializeValues() { |
||
80 | } |
||
81 | |||
82 | public void storeValues() { |
||
83 | } |
||
84 | |||
85 | public void initializeDefaults() { |
||
86 | } |
||
87 | |||
88 | public ImageIcon getIcon() { |
||
89 | return icon;
|
||
90 | } |
||
91 | |||
92 | public boolean isValueChanged() { |
||
93 | return false; // Because it does not manage values |
||
94 | } |
||
95 | |||
96 | public void setChangesApplied() { |
||
97 | } |
||
98 | } |