Subversion Repository Public Repository

litesoft

Diff Revisions 626 vs 948 for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/ViewComposite.java

Diff revisions: vs.
  @@ -1,11 +1,9 @@
1 1 package com.temp.client.foundation.widget;
2 2
3 - import com.temp.client.foundation.pavment.View;
4 - import com.temp.client.foundation.util.UtilsGwt;
5 - import com.temp.client.foundation.widget.dialog.AlertDialog;
6 -
7 - import com.google.gwt.user.client.ui.Composite;
8 - import com.google.gwt.user.client.ui.Widget;
3 + import com.google.gwt.user.client.ui.*;
4 + import com.temp.client.foundation.pavment.*;
5 + import com.temp.client.foundation.util.*;
6 + import com.temp.client.foundation.widget.dialog.*;
9 7
10 8 /**
11 9 * This class provides a home for common behavior across all our "page-like"
  @@ -18,7 +16,7 @@
18 16 /**
19 17 * When the Widget is injected, set the "ID" of the Widget to a simplified
20 18 * class Name.
21 - *
19 + * <p/>
22 20 * Simplified class Name is one that:
23 21 * <ol>
24 22 * <li>Ignores Inner Classes (removes '$' and anything after)</li>
  @@ -30,20 +28,20 @@
30 28 * "DashView"
31 29 */
32 30 @Override
33 - protected void initWidget(Widget widget) {
34 - super.initWidget(widget);
35 - UtilsGwt.setIdToClassNameOf(widget, this);
31 + protected void initWidget( Widget widget ) {
32 + super.initWidget( widget );
33 + UtilsGwt.setIdToClassNameOf( widget, this );
36 34 }
37 35
38 36 public void showLibraryAccountNotFoundError() {
39 - alert("No Library Account Name", "Please file a Contact Us Report");
37 + alert( "No Library Account Name", "Please file a Contact Us Report" );
40 38 }
41 39
42 - protected void alert(String title, String... bodyTextBlocksAboveCloseButton) {
43 - createAlert(title, bodyTextBlocksAboveCloseButton).show();
40 + protected void alert( String title, String... bodyTextBlocksAboveCloseButton ) {
41 + createAlert( title, bodyTextBlocksAboveCloseButton ).show();
44 42 }
45 43
46 - protected AlertDialog createAlert(String title, String... bodyTextBlocksAboveCloseButton) {
47 - return new AlertDialog(title, bodyTextBlocksAboveCloseButton).centerContent();
44 + protected AlertDialog createAlert( String title, String... bodyTextBlocksAboveCloseButton ) {
45 + return new AlertDialog( title, bodyTextBlocksAboveCloseButton ).centerContent();
48 46 }
49 47 }