Revision 4115 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/DefaultRowEdited.java
DefaultRowEdited.java | ||
---|---|---|
8 | 8 |
|
9 | 9 |
private IRow row; |
10 | 10 |
private int status; |
11 |
private int index; |
|
11 | 12 |
|
12 | 13 |
/** |
13 | 14 |
* Quiz?s conviene que RowEdited tenga un getRow y un getStatus. |
... | ... | |
17 | 18 |
* @param status |
18 | 19 |
* @param linkedId |
19 | 20 |
*/ |
20 |
public DefaultRowEdited(IRow baseRow, int status) |
|
21 |
public DefaultRowEdited(IRow baseRow, int status, int index)
|
|
21 | 22 |
{ |
22 | 23 |
this.status = status; |
23 | 24 |
row = baseRow; |
25 |
this.index = index; |
|
24 | 26 |
} |
25 | 27 |
public IRow getLinkedRow() { |
26 | 28 |
return row; |
... | ... | |
43 | 45 |
public IRow cloneRow() { |
44 | 46 |
return row.cloneRow(); |
45 | 47 |
} |
48 |
public int getIndex() { |
|
49 |
return index; |
|
50 |
} |
|
46 | 51 |
|
47 | 52 |
} |
Also available in: Unified diff