Subversion Repository Public Repository

litesoft

Diff Revisions 748 vs 749 for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/input/FormEngine.java

Diff revisions: vs.
  @@ -6,11 +6,10 @@
6 6
7 7 import com.google.gwt.event.dom.client.*;
8 8 import com.google.gwt.user.client.ui.*;
9 - import com.temp.client.foundation.util.HasEnabledSetManager;
9 + import com.temp.client.foundation.util.*;
10 10 import com.temp.client.foundation.widget.*;
11 11 import com.temp.client.foundation.widget.input.support.*;
12 12 import com.temp.shared.*;
13 - import com.temp.shared.externalization.*;
14 13 import com.temp.shared.utils.*;
15 14
16 15 /**
  @@ -134,7 +133,7 @@
134 133 if ( submitButton != null )
135 134 {
136 135 buttonInit( submitButton );
137 - simpleChildren.add(submitButton);
136 + simpleChildren.add( submitButton );
138 137 submitButton.addClickHandler( new ClickHandler()
139 138 {
140 139 @Override
  @@ -331,9 +330,10 @@
331 330 {
332 331 member.addNamedWidgetsTo( nameToID );
333 332 }
334 - nameToID.tryAdd(submitButton);
335 - for (ButtonBase button : managedButtons) {
336 - nameToID.tryAdd(button);
333 + nameToID.tryAdd( submitButton );
334 + for ( ButtonBase button : managedButtons )
335 + {
336 + nameToID.tryAdd( button );
337 337 }
338 338 return nameToID;
339 339 }
  @@ -343,7 +343,8 @@
343 343 {
344 344 checkRunMode( "busyInteractingWithServer" );
345 345 serverInteractionHelper.snagStateAndDisable();
346 - for (FormEngine subForm : subForms) {
346 + for ( FormEngine subForm : subForms )
347 + {
347 348 subForm.busyInteractingWithServer();
348 349 }
349 350 }
  @@ -353,7 +354,8 @@
353 354 {
354 355 checkRunMode( "doneInteractingWithServer" );
355 356 serverInteractionHelper.restoreState();
356 - for (FormEngine subForm : subForms) {
357 + for ( FormEngine subForm : subForms )
358 + {
357 359 subForm.doneInteractingWithServer();
358 360 }
359 361 }