Subversion Repository Public Repository

litesoft

Diff Revisions 947 vs 948 for /trunk/Java/GWT/Client/src/org/litesoft/GWT/client/view/ClickableViewObjectQBEscreenView.java

Diff revisions: vs.
  @@ -4,28 +4,21 @@
4 4 import org.litesoft.GWT.client.widgets.datatables.*;
5 5 import org.litesoft.bo.views.*;
6 6
7 - public abstract class ClickableViewObjectQBEscreenView<T extends IViewObject> extends ViewObjectQBEscreenView<T> implements TableClickCommand<T>
8 - {
9 - protected ClickableViewObjectQBEscreenView( CO pCO, VoDataProvider<T> pDataProvider )
10 - {
7 + public abstract class ClickableViewObjectQBEscreenView<T extends IViewObject> extends ViewObjectQBEscreenView<T> implements TableClickCommand<T> {
8 + protected ClickableViewObjectQBEscreenView( CO pCO, VoDataProvider<T> pDataProvider ) {
11 9 super( pCO, pDataProvider );
12 10 }
13 11
14 12 @Override
15 - public final void execute( T pRowValue )
16 - {
17 - if ( pRowValue == null )
18 - {
13 + public final void execute( T pRowValue ) {
14 + if ( pRowValue == null ) {
19 15 processVO( pRowValue );
20 16 return;
21 17 }
22 - mDataProvider.requestRow( pRowValue.getObjectURL(), new FetchRowDataProviderCallBack<T>()
23 - {
18 + mDataProvider.requestRow( pRowValue.getObjectURL(), new FetchRowDataProviderCallBack<T>() {
24 19 @Override
25 - public void success( T pRow )
26 - {
27 - if ( pRow != null )
28 - {
20 + public void success( T pRow ) {
21 + if ( pRow != null ) {
29 22 processVO( pRow );
30 23 return;
31 24 }
  @@ -33,8 +26,7 @@
33 26 }
34 27
35 28 @Override
36 - public void error( String pError )
37 - {
29 + public void error( String pError ) {
38 30 AlertManager.alert( mTitle, mTitle, pError );
39 31 }
40 32 } );