litesoft
Diff Revisions
801
vs
804
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/widgets/DefButtonNamedTypedFactory.java
|
@@ -6,7 +6,6 @@ |
6 |
6 |
|
import org.litesoft.GWT.client.command.*; |
7 |
7 |
|
import org.litesoft.GWT.client.widgets.nonpublic.*; |
8 |
8 |
|
import org.litesoft.core.typeutils.*; |
9 |
|
- |
import org.litesoft.core.util.*; |
10 |
9 |
|
import org.litesoft.uispecification.*; |
11 |
10 |
|
|
12 |
11 |
|
import com.google.gwt.event.dom.client.*; |
|
@@ -44,8 +43,8 @@ |
44 |
43 |
|
|
45 |
44 |
|
protected DefButtonNamedTypedFactory( DefButtonNamedTyped pTyped, Form pForm ) |
46 |
45 |
|
{ |
47 |
|
- |
UtilsCommon.assertNotNull( "Typed", mTyped = pTyped ); |
48 |
|
- |
UtilsCommon.assertNotNull( "Form", mForm = pForm ); |
|
46 |
+ |
Objects.assertNotNull( "Typed", mTyped = pTyped ); |
|
47 |
+ |
Objects.assertNotNull( "Form", mForm = pForm ); |
49 |
48 |
|
} |
50 |
49 |
|
|
51 |
50 |
|
public final String getName() |
|
@@ -119,20 +118,20 @@ |
119 |
118 |
|
|
120 |
119 |
|
public final DefButtonNamedTypedFactory add( ViewDef pTarget ) |
121 |
120 |
|
{ |
122 |
|
- |
UtilsCommon.assertNotNull( "Target (ViewDef)", pTarget ); |
|
121 |
+ |
Objects.assertNotNull( "Target (ViewDef)", pTarget ); |
123 |
122 |
|
return add( new ShowScreenCommand( pTarget ) ); |
124 |
123 |
|
} |
125 |
124 |
|
|
126 |
125 |
|
public final DefButtonNamedTypedFactory add( ViewDef pTarget, UriFragmentIdParams pParams ) |
127 |
126 |
|
{ |
128 |
|
- |
UtilsCommon.assertNotNull( "Target (ViewDef)", pTarget ); |
|
127 |
+ |
Objects.assertNotNull( "Target (ViewDef)", pTarget ); |
129 |
128 |
|
return add( new ShowScreenCommand( pTarget, pParams ) ); |
130 |
129 |
|
} |
131 |
130 |
|
|
132 |
131 |
|
public final DefButtonNamedTypedFactory add( final ViewDef pTarget, final UriFragmentIdParams.ScreenParamsFactory pFactory ) |
133 |
132 |
|
{ |
134 |
|
- |
UtilsCommon.assertNotNull( "Target (ViewDef)", pTarget ); |
135 |
|
- |
UtilsCommon.assertNotNull( "Factory", pFactory ); |
|
133 |
+ |
Objects.assertNotNull( "Target (ViewDef)", pTarget ); |
|
134 |
+ |
Objects.assertNotNull( "Factory", pFactory ); |
136 |
135 |
|
return add( new ClickHandler() |
137 |
136 |
|
{ |
138 |
137 |
|
@Override |