Subversion Repository Public Repository

litesoft

Diff Revisions 627 vs 628 for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/input/fieldsupport/CompleteInputFieldAccessor.java

Diff revisions: vs.
  @@ -2,23 +2,35 @@
2 2
3 3 import com.temp.client.foundation.widget.*;
4 4 import com.temp.client.foundation.widget.input.support.*;
5 + import com.temp.shared.externalization.*;
5 6
6 7 public class CompleteInputFieldAccessor<T> extends InputFieldAccessor<T>
7 8 {
9 + private final E13nResolver e13nResolver;
8 10 private final TextLabel labelLabel;
9 11 private final TextLabel extendedLabel;
10 12 private final TextLabel exampleLabel;
11 13 private final TextLabel errorLabel;
12 14 private final HelpWidget helpWidget;
13 15
14 - public CompleteInputFieldAccessor( TextLabel labelLabel, TextLabel extendedLabel, InputFieldAccessor<T> inputFieldAccessor, HelpWidget helpWidget, TextLabel exampleLabel, TextLabel errorLabel )
16 + private boolean changed = false;
17 + private boolean baseValueValid = false;
18 + private T baseValue = null;
19 +
20 + public CompleteInputFieldAccessor( E13nResolver e13nResolver, TextLabel labelLabel, TextLabel extendedLabel, InputFieldAccessor<T> inputFieldAccessor, HelpWidget helpWidget, TextLabel exampleLabel, TextLabel errorLabel )
15 21 {
16 22 super( inputFieldAccessor.getInput(), inputFieldAccessor.getValidator(), inputFieldAccessor.getInputWidget() );
17 - this.helpWidget = helpWidget;
18 - this.errorLabel = errorLabel;
23 + this.e13nResolver = e13nResolver;
19 24 this.labelLabel = labelLabel;
20 25 this.extendedLabel = extendedLabel;
21 26 this.exampleLabel = exampleLabel;
27 + this.errorLabel = errorLabel;
28 + this.helpWidget = helpWidget;
29 + }
30 +
31 + public E13nResolver getE13nResolver()
32 + {
33 + return e13nResolver;
22 34 }
23 35
24 36 public TextLabel getLabelLabel()