litesoft
Diff Revisions
803
vs
804
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/view/UiView.java
|
@@ -12,6 +12,7 @@ |
12 |
12 |
|
import org.litesoft.GWT.forms.client.components.nonpublic.*; |
13 |
13 |
|
import org.litesoft.bo.views.*; |
14 |
14 |
|
import org.litesoft.core.*; |
|
15 |
+ |
import org.litesoft.core.typeutils.*; |
15 |
16 |
|
import org.litesoft.core.util.*; |
16 |
17 |
|
import org.litesoft.logger.*; |
17 |
18 |
|
import org.litesoft.uispecification.*; |
|
@@ -192,13 +193,13 @@ |
192 |
193 |
|
|
193 |
194 |
|
protected <T extends IViewObject<T>> ButtonBase createSubmitButton( VoDataProvider<T> pDataProvider, FormBinder<T> pFormBinder, ViewUpdatable<T> pViewUpdatable ) |
194 |
195 |
|
{ |
195 |
|
- |
UtilsCommon.assertNotNull( "ViewUpdatable", pViewUpdatable ); |
|
196 |
+ |
Objects.assertNotNull( "ViewUpdatable", pViewUpdatable ); |
196 |
197 |
|
return SubmitButton.factory().add( createCommitClickHandler( pDataProvider, pFormBinder, null, pViewUpdatable ) ).create(); |
197 |
198 |
|
} |
198 |
199 |
|
|
199 |
200 |
|
protected <T extends IViewObject<T>> ButtonBase createSubmitButton( VoDataProvider<T> pDataProvider, FormBinder<T> pFormBinder, ViewDef pNavigateToOnSuccess ) |
200 |
201 |
|
{ |
201 |
|
- |
UtilsCommon.assertNotNull( "NavigateToOnSuccess", pNavigateToOnSuccess ); |
|
202 |
+ |
Objects.assertNotNull( "NavigateToOnSuccess", pNavigateToOnSuccess ); |
202 |
203 |
|
return Button.named( "SaveClose" ).green().text( "Save & Close" ) // |
203 |
204 |
|
.enabledToolTip( SubmitButton.TOOL_TIP + " and then close" ) // |
204 |
205 |
|
.add( createCommitClickHandler( pDataProvider, pFormBinder, pNavigateToOnSuccess, null ) ).create(); |