litesoft
Diff Revisions
150
vs
151
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/event/UpdateEvent.java
|
@@ -7,18 +7,18 @@ |
7 |
7 |
|
{ |
8 |
8 |
|
private static Type<UpdateHandler> TYPE; |
9 |
9 |
|
|
10 |
|
- |
public static void fire(HasUpdateHandlers source) |
|
10 |
+ |
public static void fire( HasUpdateHandlers source ) |
11 |
11 |
|
{ |
12 |
|
- |
if (TYPE != null) |
|
12 |
+ |
if ( TYPE != null ) |
13 |
13 |
|
{ |
14 |
14 |
|
UpdateEvent event = new UpdateEvent(); |
15 |
|
- |
source.fireEvent(event); |
|
15 |
+ |
source.fireEvent( event ); |
16 |
16 |
|
} |
17 |
17 |
|
} |
18 |
18 |
|
|
19 |
19 |
|
public static Type<UpdateHandler> getType() |
20 |
20 |
|
{ |
21 |
|
- |
if (TYPE == null) |
|
21 |
+ |
if ( TYPE == null ) |
22 |
22 |
|
{ |
23 |
23 |
|
TYPE = new Type<UpdateHandler>(); |
24 |
24 |
|
} |
|
@@ -32,8 +32,8 @@ |
32 |
32 |
|
} |
33 |
33 |
|
|
34 |
34 |
|
@Override |
35 |
|
- |
protected void dispatch(UpdateHandler handler) |
|
35 |
+ |
protected void dispatch( UpdateHandler handler ) |
36 |
36 |
|
{ |
37 |
|
- |
handler.onUpdate(this); |
|
37 |
+ |
handler.onUpdate( this ); |
38 |
38 |
|
} |
39 |
39 |
|
} |