Revision 12838 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/colortable/ui/ColorTablePanel.java

View differences:

ColorTablePanel.java
102 102

  
103 103
	private String palettesPath = System.getProperty("user.home") +
104 104
		File.separator +
105
		"gvSIG"; // PluginServices.getArguments()[0];
105
		"gvSIG" + // PluginServices.getArguments()[0] +
106
		File.separator + "colortable";
106 107

  
107 108
	/**
108 109
	 * Construir un nuevo ColorTablePanel
......
133 134

  
134 135
		add(jSplitPane1, BorderLayout.CENTER);
135 136

  
136
		ArrayList fileList = ColorTableLibraryPersistence.getPaletteFileList(palettesPath, "colortable");
137
		ArrayList fileList = ColorTableLibraryPersistence.getPaletteFileList(palettesPath);
137 138

  
138 139
		for (int i = 0; i < fileList.size(); i++) {
139 140
			ArrayList paletteItems = new ArrayList();
140
			String paletteName = ColorTableLibraryPersistence.loadPalette(palettesPath, (String) fileList.get(i), paletteItems, "colortable");
141
			String paletteName = ColorTableLibraryPersistence.loadPalette(palettesPath, (String) fileList.get(i), paletteItems);
141 142

  
142 143
			if (paletteItems.size() <= 0)
143 144
				continue;

Also available in: Unified diff