Revision 5258 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/thememanager/legendmanager/panels/AbstractPanel.java

View differences:

AbstractPanel.java
20 20
 */
21 21
public abstract class AbstractPanel extends JPanel {
22 22
	/**
23
	 * Cuando hay varios temas vectoriales seleccionados, devolver? el ?ltimo.
23
	 * Cuando hay varios capas vectoriales seleccionados, devolver? el ?ltimo.
24 24
	 *
25 25
	 * @param layers Grupo de layers.
26 26
	 *
27 27
	 * @return la primera flayer seleccionada.
28 28
	 */
29 29
	protected FLayer getFirstActiveLayerVect(FLayers layers) {
30
		// Comprobar en openLegendManager que hay alg?n tema activo!
30
		// Comprobar en openLegendManager que hay alg?n capa activo!
31 31
		FLayer[] activeLyrs = layers.getActives();
32 32

  
33 33
		if (activeLyrs.length == 0) {
34 34
			JOptionPane.showMessageDialog(null,
35
				Messages.getString("necesita_un_tema_activo"), "",
35
				Messages.getString("necesita_una_capa_activa"), "",
36 36
				JOptionPane.ERROR_MESSAGE);
37 37

  
38 38
			return null;
......
57 57

  
58 58
		if (lyr == null) {
59 59
			System.out.println(PluginServices.getText(this,
60
					"Por_favor_active_el_tema") + ".");
60
					"Por_favor_active_la_capa") + ".");
61 61
			JOptionPane.showMessageDialog(null,
62 62
				Messages.getString(PluginServices.getText(this,
63
						"necesita_un_tema_vectorial_activo")), "",
63
						"necesita_una_capa_vectorial_activa")), "",
64 64
				JOptionPane.ERROR_MESSAGE);
65 65

  
66 66
			return null;

Also available in: Unified diff