Revision 12838 trunk/extensions/extRasterTools-SE/src-test-ui/org/gvsig/rastertools/colortableJaume/TestComboBoxColorTable.java

View differences:

TestComboBoxColorTable.java
42 42

  
43 43
	private String palettesPath = System.getProperty("user.home") +
44 44
	File.separator +
45
	"gvSIG"; // PluginServices.getArguments()[0];
45
	"gvSIG" + // PluginServices.getArguments()[0] +
46
	File.separator + "colortable";
46 47

  
47 48
	public TestComboBoxColorTable() {
48 49
		super();
......
56 57
	private void initialize() {
57 58
		jComboBox = new JComboBox();
58 59

  
59
		ArrayList fileList = ColorTableLibraryPersistence.getPaletteFileList(palettesPath, "colortable");
60
		ArrayList fileList = ColorTableLibraryPersistence.getPaletteFileList(palettesPath);
60 61

  
61 62
		for (int i = 0; i < fileList.size(); i++) {
62 63
			ArrayList paletteItems = new ArrayList();
63
			String paletteName = ColorTableLibraryPersistence.loadPalette(palettesPath, (String) fileList.get(i), paletteItems, "colortable");
64
			String paletteName = ColorTableLibraryPersistence.loadPalette(palettesPath, (String) fileList.get(i), paletteItems);
64 65

  
65 66
			if (paletteItems.size() <= 0)
66 67
				continue;

Also available in: Unified diff