Subversion Repository Public Repository

litesoft

Diff Revisions 544 vs 551 for /trunk/GWT_Sandbox/MultiModule/common/src/org/litesoft/sandbox/infrastructure/client/Activity.java

Diff revisions: vs.
  @@ -2,33 +2,34 @@
2 2
3 3 import com.google.gwt.user.client.ui.*;
4 4
5 - public interface Activity {
6 - /**
7 - * Called when the user is trying to navigate away from this activity.
8 - *
9 - * @return A message to display to the user, e.g. to warn of unsaved work, or
10 - * null to say nothing
11 - */
12 - String mayStop();
5 + public interface Activity
6 + {
7 + /**
8 + * Called when the user is trying to navigate away from this activity.
9 + *
10 + * @return A message to display to the user, e.g. to warn of unsaved work, or
11 + * null to say nothing
12 + */
13 + String mayStop();
13 14
14 - /**
15 - * Called when {@link #start} has not yet replied to its callback, but the
16 - * user has lost interest.
17 - */
18 - void onCancel();
15 + /**
16 + * Called when {@link #start} has not yet replied to its callback, but the
17 + * user has lost interest.
18 + */
19 + void onCancel();
19 20
20 - /**
21 - * Called when the Activity's widget has been removed from view.
22 - */
23 - void onStop();
21 + /**
22 + * Called when the Activity's widget has been removed from view.
23 + */
24 + void onStop();
24 25
25 - /**
26 - * Called when the Activity should ready its widget for the user. When the
27 - * widget is ready (typically after an RPC response has been received),
28 - * receiver should present it by calling
29 - * {@link AcceptsOneWidget#setWidget} on the given panel.
30 - *
31 - * @param panel the panel to display this activity's widget when it is ready
32 - */
33 - void start( AcceptsOneWidget panel );
26 + /**
27 + * Called when the Activity should ready its widget for the user. When the
28 + * widget is ready (typically after an RPC response has been received),
29 + * receiver should present it by calling
30 + * {@link AcceptsOneWidget#setWidget} on the given panel.
31 + *
32 + * @param panel the panel to display this activity's widget when it is ready
33 + */
34 + void start( AcceptsOneWidget panel );
34 35 }