Subversion Repository Public Repository

litesoft

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

Diff revisions: vs.
  @@ -5,35 +5,29 @@
5 5 import org.litesoft.core.*;
6 6 import org.litesoft.uispecification.*;
7 7
8 - public class ShowDialogCommand extends CommandHandlerAdaptor
9 - {
8 + public class ShowDialogCommand extends CommandHandlerAdaptor {
10 9 private final ViewDef mViewDef;
11 10 private final Object mParams;
12 11
13 - public ShowDialogCommand( ViewDef pViewDef, Object pParams )
14 - {
12 + public ShowDialogCommand( ViewDef pViewDef, Object pParams ) {
15 13 mViewDef = pViewDef;
16 14 mParams = pParams;
17 15 }
18 16
19 - public ShowDialogCommand( ViewDef pViewDef )
20 - {
17 + public ShowDialogCommand( ViewDef pViewDef ) {
21 18 this( pViewDef, null );
22 19 }
23 20
24 - public ViewDef getScreenDef()
25 - {
21 + public ViewDef getScreenDef() {
26 22 return mViewDef;
27 23 }
28 24
29 - public Object getParams()
30 - {
25 + public Object getParams() {
31 26 return mParams;
32 27 }
33 28
34 29 @Override
35 - public void execute()
36 - {
30 + public void execute() {
37 31 ClientContext.get().get( DialogViewShower.class ).showDialog( mViewDef, mParams );
38 32 }
39 33 }