Subversion Repository Public Repository

litesoft

Diff Revisions 49 vs 151 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/AlertErrorDialog.java

Diff revisions: vs.
  @@ -1,10 +1,11 @@
1 1 // This Source Code is in the Public Domain per: http://litesoft.org/License.txt
2 2 package org.litesoft.GWT.client;
3 3
4 - import com.google.gwt.user.client.ui.*;
5 4 import org.litesoft.GWT.client.nonpublic.*;
6 5 import org.litesoft.GWT.client.widgets.*;
6 +
7 7 import com.google.gwt.user.client.ui.Button;
8 + import com.google.gwt.user.client.ui.*;
8 9
9 10 public class AlertErrorDialog extends AbstractMessageDialog
10 11 {
  @@ -13,14 +14,12 @@
13 14 protected AlertErrorDialog()
14 15 {
15 16 super( "Error", "litesoft-AlertErrorDialog", //
16 - "litesoft-AlertErrorDialogBodyPanel", "litesoft-AlertErrorDialogHTML",
17 - "litesoft-AlertErrorDialogButtonBar", "litesoft-AlertErrorDialogIcon" );
17 + "litesoft-AlertErrorDialogBodyPanel", "litesoft-AlertErrorDialogHTML", "litesoft-AlertErrorDialogButtonBar", "litesoft-AlertErrorDialogIcon" );
18 18 }
19 19
20 20 private String mVersion, mDetail;
21 21
22 - public AlertErrorDialog( String pTitle, String pMessage, String pVersion, String pDetail,
23 - DialogCloseCallBack pCloseCallBack )
22 + public AlertErrorDialog( String pTitle, String pMessage, String pVersion, String pDetail, DialogCloseCallBack pCloseCallBack )
24 23 {
25 24 this();
26 25
  @@ -42,7 +41,7 @@
42 41 @Override
43 42 public void onClick( Widget sender )
44 43 {
45 - UtilsGwt.windowOpenWithHtml( "", "location=0,menubar=1,status=0,scrollbars=1", "<html><body style='font-family:sans-serif; overflow:auto;'><h4>" + pMessage + "</h4>" + wrapWithPre( mDetail ) + "</body></html>");
44 + UtilsGwt.windowOpenWithHtml( "", "location=0,menubar=1,status=0,scrollbars=1", "<html><body style='font-family:sans-serif; overflow:auto;'><h4>" + pMessage + "</h4>" + wrapWithPre( mDetail ) + "</body></html>" );
46 45 }
47 46 } ) );
48 47 }