litesoft
Diff Revisions
948
vs
950
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/view/ViewManagerImpl.java
|
@@ -4,7 +4,7 @@ |
4 |
4 |
|
import org.litesoft.GWT.client.*; |
5 |
5 |
|
import org.litesoft.GWT.client.widgets.*; |
6 |
6 |
|
import org.litesoft.bo.views.*; |
7 |
|
- |
import org.litesoft.commonfoundation.typeutils.*; |
|
7 |
+ |
import org.litesoft.commonfoundation.base.*; |
8 |
8 |
|
import org.litesoft.core.*; |
9 |
9 |
|
import org.litesoft.security.*; |
10 |
10 |
|
import org.litesoft.uispecification.*; |
|
@@ -32,7 +32,7 @@ |
32 |
32 |
|
|
33 |
33 |
|
@Override |
34 |
34 |
|
public void showDialog( ViewDef pViewDef, Object pParams ) { |
35 |
|
- |
Objects.assertNotNull( "(Dialog) ViewDef", pViewDef ); |
|
35 |
+ |
Confirm.isNotNull( "(Dialog) ViewDef", pViewDef ); |
36 |
36 |
|
ViewFactory zFactory = getViewFactory( pViewDef ); |
37 |
37 |
|
if ( zFactory instanceof DialogViewFactory ) { |
38 |
38 |
|
new DialogViewDialog( ((DialogViewFactory) zFactory).createDialog( ClientContext.get(), pParams ) ).show(); |
|
@@ -44,7 +44,7 @@ |
44 |
44 |
|
@Override |
45 |
45 |
|
public void showScreen( ViewDef pViewDef, UriFragmentIdParams pParams, TransientScreenProperties pNextScreenProperties ) { |
46 |
46 |
|
UtilsGwt.busyCursor(); |
47 |
|
- |
Objects.assertNotNull( "(Screen) ViewDef", pViewDef ); |
|
47 |
+ |
Confirm.isNotNull( "(Screen) ViewDef", pViewDef ); |
48 |
48 |
|
mNextScreenProperties.putAll( pNextScreenProperties ); |
49 |
49 |
|
ParameterizedUriFragmentId zFragmentId = new ParameterizedUriFragmentId( pViewDef.getFragmentID(), // |
50 |
50 |
|
UriFragmentIdParams.toParamsString( pParams ) ); |
|
@@ -107,7 +107,7 @@ |
107 |
107 |
|
if ( zViewDef == null ) { |
108 |
108 |
|
zViewDef = ViewDef.HOME; |
109 |
109 |
|
zParams = null; |
110 |
|
- |
if ( Strings.isNotNullOrEmpty( viewDefId ) ) { |
|
110 |
+ |
if ( Currently.isNotNullOrEmpty( viewDefId ) ) { |
111 |
111 |
|
mNextScreenProperties.ERROR.set( "No Screen for: " + viewDefId ); |
112 |
112 |
|
} |
113 |
113 |
|
} |
|
@@ -125,7 +125,7 @@ |
125 |
125 |
|
StatusMessageSinc zMessageSinc = ClientContext.get().checkGet( StatusMessageSinc.class ); |
126 |
126 |
|
if ( zMessageSinc != null ) { |
127 |
127 |
|
zMessageSinc.setErrorMessage( mNextScreenProperties.ERROR.get() ); |
128 |
|
- |
if ( Strings.isNullOrEmpty( mNextScreenProperties.ERROR.get() ) ) { |
|
128 |
+ |
if ( Currently.isNullOrEmpty( mNextScreenProperties.ERROR.get() ) ) { |
129 |
129 |
|
zMessageSinc.setWarningMessage( mNextScreenProperties.WARNING.get() ); |
130 |
130 |
|
} |
131 |
131 |
|
} |