svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libCorePlugin / src / org / gvsig / coreplugin / preferences / general / ExtensionsPage.java @ 38564
History | View | Annotate | Download (1.38 KB)
1 |
package org.gvsig.coreplugin.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 org.gvsig.andami.PluginServices; |
10 |
import org.gvsig.andami.preferences.AbstractPreferencePage; |
11 |
|
12 |
|
13 |
public class ExtensionsPage extends AbstractPreferencePage { |
14 |
|
15 |
private JLabel jLabel = null; |
16 |
private ImageIcon icon; |
17 |
|
18 |
/**
|
19 |
* This is the default constructor
|
20 |
*/
|
21 |
public ExtensionsPage() {
|
22 |
super();
|
23 |
icon = PluginServices.getIconTheme().get("edit-setup-extensions");
|
24 |
setParentID(GeneralPage.class.getName()); |
25 |
initialize(); |
26 |
} |
27 |
|
28 |
/**
|
29 |
* This method initializes this
|
30 |
*
|
31 |
* @return void
|
32 |
*/
|
33 |
private void initialize() { |
34 |
jLabel = new JLabel(); |
35 |
jLabel.setText(PluginServices.getText(this,"configurar_todas_las_extensiones")); |
36 |
this.setLayout(new BorderLayout()); |
37 |
this.setSize(300, 200); |
38 |
this.add(jLabel, java.awt.BorderLayout.CENTER);
|
39 |
} |
40 |
|
41 |
public String getID() { |
42 |
return this.getClass().getName(); |
43 |
} |
44 |
|
45 |
public String getTitle() { |
46 |
return PluginServices.getText(this,"extensiones"); |
47 |
} |
48 |
|
49 |
public JPanel getPanel() { |
50 |
return this; |
51 |
} |
52 |
|
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 |
} |