Revision 38638
branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/view/legend/gui/VectorialInterval.java | ||
---|---|---|
61 | 61 |
import javax.swing.JPanel; |
62 | 62 |
import javax.swing.JTextField; |
63 | 63 |
|
64 |
import org.gvsig.andami.IconThemeHelper; |
|
64 | 65 |
import org.gvsig.andami.PluginServices; |
65 | 66 |
import org.gvsig.andami.messages.NotificationManager; |
66 | 67 |
import org.gvsig.app.gui.panels.ColorChooserPanel; |
... | ... | |
826 | 827 |
} |
827 | 828 |
|
828 | 829 |
public ImageIcon getIcon() { |
829 |
return new ImageIcon(this.getClass().getClassLoader().
|
|
830 |
getResource("images/Intervalos.png"));
|
|
830 |
return IconThemeHelper.getImageIcon(
|
|
831 |
"legend-overview-vectorial-interval");
|
|
831 | 832 |
} |
832 | 833 |
|
833 | 834 |
public Class getParentClass() { |
branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/view/legend/gui/VectorialUniqueValue.java | ||
---|---|---|
59 | 59 |
import javax.swing.JOptionPane; |
60 | 60 |
import javax.swing.JPanel; |
61 | 61 |
|
62 |
import org.gvsig.andami.IconThemeHelper; |
|
62 | 63 |
import org.gvsig.andami.PluginServices; |
63 | 64 |
import org.gvsig.andami.messages.NotificationManager; |
64 | 65 |
import org.gvsig.app.gui.styling.JComboBoxColorScheme; |
... | ... | |
130 | 131 |
* DOCUMENT ME! |
131 | 132 |
*/ |
132 | 133 |
protected void initComponents() { |
133 |
/* JLabel label = new JLabel(); |
|
134 |
label.setIcon(new javax.swing.ImageIcon(Abrir.class.getClassLoader() |
|
135 |
.getResource("images/ValoresUnicos.png"))); |
|
136 |
limagen[1] = new JLabel(); |
|
137 |
limagen[1] = label; */ |
|
138 | 134 |
JPanel pnlButtons = new JPanel(); |
139 | 135 |
|
140 | 136 |
JButton btnAddAll = new JButton(PluginServices.getText(this, |
... | ... | |
758 | 754 |
} |
759 | 755 |
|
760 | 756 |
public ImageIcon getIcon() { |
761 |
return new ImageIcon(this.getClass().getClassLoader().
|
|
762 |
getResource("images/ValoresUnicos.png"));
|
|
757 |
return IconThemeHelper.getImageIcon(
|
|
758 |
"legend-overview-vectorial-unique-value");
|
|
763 | 759 |
} |
764 | 760 |
|
765 | 761 |
public Class getParentClass() { |
Also available in: Unified diff