Revision 33213 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/colortable/ui/library/ColorTableLibraryPanel.java

View differences:

ColorTableLibraryPanel.java
1
/* gvSIG. Sistema de Informaci�n Geogr�fica de la Generalitat Valenciana
1
/* gvSIG. Geographic Information System of the Valencian Government
2 2
 *
3
 * Copyright (C) 2005 IVER T.I. and Generalitat Valenciana.
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
4
 * of the Valencian Government (CIT)
4 5
 *
5 6
 * This program is free software; you can redistribute it and/or
6 7
 * modify it under the terms of the GNU General Public License
......
14 15
 *
15 16
 * You should have received a copy of the GNU General Public License
16 17
 * along with this program; if not, write to the Free Software
17
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,USA.
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19
 * MA  02110-1301, USA.
20
 *
18 21
 */
19 22
package org.gvsig.rastertools.colortable.ui.library;
20 23

  
......
50 53
import org.gvsig.rastertools.colortable.data.ColorTableData;
51 54

  
52 55
import com.iver.andami.PluginServices;
56
import com.iver.utiles.FileUtils;
53 57
/**
54 58
 * Panel que aparece en la parte inferior derecha que contiene la lista
55 59
 * de librerias disponibles para las tablas de color, con sus botones correspondientes
......
71 75

  
72 76
	private ArrayList         actionCommandListeners = new ArrayList();
73 77
	private ColorTableData    colorTableData         = null;
74
	
78

  
75 79
	private ColorTable        currentColorTable      = null;
76
	
77
	public static String palettesPath = System.getProperty("user.home") +
78
	File.separator +
79
	"gvSIG" + // PluginServices.getArguments()[0] +
80
	File.separator + "colortable";
80

  
81
	public static String      palettesPath           = FileUtils.getAppHomeDir() + "colortable";
81 82
		
82 83
	/**
83
	 *Inicializa componentes grficos y traduce
84
	 *Inicializa componentes gr?ficos y traduce
84 85
	 */
85 86
	public ColorTableLibraryPanel() {
86 87
		init();

Also available in: Unified diff