root / branches / v2_0_0_prep / applications / appgvSIG / src / org / gvsig / app / project / documents / table / TableSelectionModel.java @ 29598
History | View | Annotate | Download (683 Bytes)
1 |
package org.gvsig.app.project.documents.table; |
---|---|
2 |
|
3 |
import org.gvsig.utils.swing.objectSelection.ObjectSelectionModel; |
4 |
|
5 |
|
6 |
/**
|
7 |
* @author Fernando Gonz?lez Cort?s
|
8 |
*/
|
9 |
public class TableSelectionModel implements ObjectSelectionModel{ |
10 |
|
11 |
private FeatureTableDocument[] tables; |
12 |
private String msg; |
13 |
|
14 |
public TableSelectionModel(FeatureTableDocument[] tables, String msg){ |
15 |
this.tables = tables;
|
16 |
this.msg = msg;
|
17 |
} |
18 |
|
19 |
/**
|
20 |
* @see org.gvsig.app.project.documents.table.TableSelectionModel#getTables()
|
21 |
*/
|
22 |
public Object[] getObjects() { |
23 |
return tables;
|
24 |
} |
25 |
|
26 |
/**
|
27 |
* @see org.gvsig.utils.swing.objectSelection.ObjectSelectionModel#getMsg()
|
28 |
*/
|
29 |
public String getMsg() { |
30 |
return msg;
|
31 |
} |
32 |
|
33 |
} |