svn-gvsig-desktop / trunk / applications / appgvSIG / src / com / iver / cit / gvsig / gui / preferencespage / DriversPages.java @ 16236
History | View | Annotate | Download (1.59 KB)
1 |
package com.iver.cit.gvsig.gui.preferencespage; |
---|---|
2 |
|
3 |
import java.awt.BorderLayout; |
4 |
|
5 |
import javax.swing.ImageIcon; |
6 |
import javax.swing.JLabel; |
7 |
import javax.swing.JPanel; |
8 |
|
9 |
import com.iver.andami.PluginServices; |
10 |
import com.iver.andami.preferences.AbstractPreferencePage; |
11 |
|
12 |
|
13 |
/**
|
14 |
* P�gina de preferencias de donde cuelgan todos los drivers.
|
15 |
*
|
16 |
* @author Vicente Caballero Navarro
|
17 |
*/
|
18 |
public class DriversPages extends AbstractPreferencePage { |
19 |
private JLabel jLabel = null; |
20 |
private ImageIcon icon; |
21 |
|
22 |
/**
|
23 |
* This is the default constructor
|
24 |
*/
|
25 |
public DriversPages() {
|
26 |
super();
|
27 |
icon=PluginServices.getIconTheme().get("layout-insert-view");
|
28 |
initialize(); |
29 |
} |
30 |
|
31 |
/**
|
32 |
* This method initializes this
|
33 |
*/
|
34 |
private void initialize() { |
35 |
jLabel = new JLabel(); |
36 |
jLabel.setText(PluginServices.getText(this,
|
37 |
"configurar_todos_los_drivers"));
|
38 |
this.setLayout(new BorderLayout()); |
39 |
this.setSize(300, 200); |
40 |
this.add(jLabel, java.awt.BorderLayout.CENTER);
|
41 |
} |
42 |
|
43 |
public String getID() { |
44 |
return this.getClass().getName(); |
45 |
} |
46 |
|
47 |
public String getTitle() { |
48 |
return PluginServices.getText(this, "drivers"); |
49 |
} |
50 |
|
51 |
public JPanel getPanel() { |
52 |
return this; |
53 |
} |
54 |
|
55 |
public void initializeValues() { |
56 |
} |
57 |
|
58 |
public void storeValues() { |
59 |
} |
60 |
|
61 |
public void initializeDefaults() { |
62 |
} |
63 |
|
64 |
public ImageIcon getIcon() { |
65 |
return icon;
|
66 |
} |
67 |
|
68 |
public boolean isValueChanged() { |
69 |
return false; // Because it does not manage values |
70 |
} |
71 |
|
72 |
public void setChangesApplied() { |
73 |
} |
74 |
} |