litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/event/SelectionDelegator.java
|
@@ -3,18 +3,15 @@ |
3 |
3 |
|
|
4 |
4 |
|
import com.google.gwt.event.logical.shared.*; |
5 |
5 |
|
|
6 |
|
- |
public class SelectionDelegator<T> implements SelectionHandler<T> |
7 |
|
- |
{ |
|
6 |
+ |
public class SelectionDelegator<T> implements SelectionHandler<T> { |
8 |
7 |
|
private final HasSelectionHandlers<T> mSource; |
9 |
8 |
|
|
10 |
|
- |
public SelectionDelegator( HasSelectionHandlers<T> pSource ) |
11 |
|
- |
{ |
|
9 |
+ |
public SelectionDelegator( HasSelectionHandlers<T> pSource ) { |
12 |
10 |
|
mSource = pSource; |
13 |
11 |
|
} |
14 |
12 |
|
|
15 |
13 |
|
@Override |
16 |
|
- |
public void onSelection( SelectionEvent<T> pEvent ) |
17 |
|
- |
{ |
|
14 |
+ |
public void onSelection( SelectionEvent<T> pEvent ) { |
18 |
15 |
|
SelectionEvent.fire( mSource, pEvent.getSelectedItem() ); |
19 |
16 |
|
} |
20 |
17 |
|
} |