litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/datatables/UnSelectableRegularTable.java
|
@@ -1,17 +1,14 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
2 |
|
package org.litesoft.GWT.client.widgets.datatables; |
3 |
3 |
|
|
4 |
|
- |
public class UnSelectableRegularTable<T> extends RegularTable<T> |
5 |
|
- |
{ |
6 |
|
- |
public UnSelectableRegularTable( ListTableModel<T> pListTableModel, TableDefinitionPlus<T> pDefinition ) |
7 |
|
- |
{ |
|
4 |
+ |
public class UnSelectableRegularTable<T> extends RegularTable<T> { |
|
5 |
+ |
public UnSelectableRegularTable( ListTableModel<T> pListTableModel, TableDefinitionPlus<T> pDefinition ) { |
8 |
6 |
|
super( pListTableModel, pDefinition ); |
9 |
7 |
|
setSelectionPolicy( RowSelectionPolicy.NONE ); |
10 |
8 |
|
} |
11 |
9 |
|
|
12 |
10 |
|
@Override |
13 |
|
- |
protected void onLoad() |
14 |
|
- |
{ |
|
11 |
+ |
protected void onLoad() { |
15 |
12 |
|
super.onLoad(); |
16 |
13 |
|
loadData(); |
17 |
14 |
|
} |