Revision 15939 trunk/libraries/libUIComponent/src/org/gvsig/gui/beans/table/models/ROIsTableModel.java

View differences:

ROIsTableModel.java
11 11
	private static final long serialVersionUID = 8716862990277121681L;
12 12

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

  
38 38
	/*

Also available in: Unified diff