Revision 30043 branches/v2_0_0_prep/libraries/libUIComponent/src/org/gvsig/gui/beans/table/models/ROIsTableModel.java

View differences:

ROIsTableModel.java
9 9
	private static final long serialVersionUID = 8716862990277121681L;
10 10

  
11 11
	
12
	private static boolean[]	canEdit = new boolean[] { true, false, false, false, true, false };
13
	private static Class[]   	types   = new Class[] { String.class, Integer.class, Integer.class, Integer.class, JButton.class, Integer.class };
12
	private static boolean[]	canEdit = new boolean[] { true, false, false, false, true };
13
	private static Class[]   	types   = new Class[] { String.class, Integer.class, Integer.class, Integer.class, JButton.class };
14 14
	private static Color[]   	colors  = new Color[] {Color.RED, Color.GREEN, Color.BLUE, Color.YELLOW, Color.MAGENTA, Color.CYAN,
15 15
		Color.ORANGE, Color.PINK, Color.WHITE, Color.BLACK};
16 16
	
17 17
	public ROIsTableModel(String[] columnNames) {
18
		super(new Object[0][6], columnNames);
18
		super(new Object[0][5], columnNames);
19 19
	}
20 20
	
21 21
	/*
......
30 30
		else{
31 31
			color = new Color((float)Math.random(),(float)Math.random(),(float)Math.random());
32 32
		}
33
		return new Object[] {"", new Integer(0), new Integer(0), new Integer(0), color, new Integer(0)};
33
		return new Object[] {"", new Integer(0), new Integer(0), new Integer(0), color};
34 34
	}
35 35

  
36 36
	/*

Also available in: Unified diff