Statistics
| Revision:

svn-gvsig-desktop / tags / v1_1_Build_1010 / libraries / libCorePlugin / src / com / iver / core / preferences / general / ExtensionsPage.java @ 12804

History | View | Annotate | Download (1.41 KB)

1
package com.iver.core.preferences.general;
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
public class ExtensionsPage extends AbstractPreferencePage {
13

    
14
        private JLabel jLabel = null;
15
        private ImageIcon icon;
16

    
17
        /**
18
         * This is the default constructor
19
         */
20
        public ExtensionsPage() {
21
                super();
22
                icon = new ImageIcon(this.getClass().getClassLoader().getResource("images/bonobo-component-browser.png"));
23
                setParentID(GeneralPage.class.getName());
24
                initialize();
25
        }
26

    
27
        /**
28
         * This method initializes this
29
         *
30
         * @return void
31
         */
32
        private void initialize() {
33
                jLabel = new JLabel();
34
                jLabel.setText(PluginServices.getText(this,"configurar_todas_las_extensiones"));
35
                this.setLayout(new BorderLayout());
36
                this.setSize(300, 200);
37
                this.add(jLabel, java.awt.BorderLayout.CENTER);
38
        }
39

    
40
        public String getID() {
41
                return this.getClass().getName();
42
        }
43

    
44
        public String getTitle() {
45
                return PluginServices.getText(this,"extensiones");
46
        }
47

    
48
        public JPanel getPanel() {
49
                return this;
50
        }
51

    
52

    
53

    
54
        public void initializeValues() {
55
        }
56

    
57
        public void storeValues() {
58
        }
59

    
60
        public void initializeDefaults() {
61
        }
62

    
63
        public ImageIcon getIcon() {
64
                return icon;
65
        }
66

    
67
        public boolean isValueChanged() {
68
                return false; // Because it does not manage values
69
        }
70

    
71
        public void setChangesApplied() {
72
        }
73
}