Statistics
| Revision:

root / branches / v2_0_0_prep / applications / appgvSIG / src / org / gvsig / app / gui / preferencespage / DriversPages.java @ 38551

History | View | Annotate | Download (1.58 KB)

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