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