litesoft
Diff Revisions
949
vs
950
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/forms/client/POBackedFormDialog.java
|
@@ -1,21 +1,21 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
|
- |
package org.litesoft.GWT.forms.client; |
3 |
|
- |
|
4 |
|
- |
import org.litesoft.GWT.eventbus.client.*; |
5 |
|
- |
import org.litesoft.GWT.forms.client.components.nonpublic.*; |
6 |
|
- |
import org.litesoft.GWT.forms.client.rpc.*; |
7 |
|
- |
import org.litesoft.commonfoundation.base.*; |
8 |
|
- |
import org.litesoft.ui.def.*; |
9 |
|
- |
|
10 |
|
- |
public class POBackedFormDialog extends AbstractFormDialog { |
11 |
|
- |
public POBackedFormDialog( UiFormDef pFormDef, String pRootTypeForUI, String pRootKey, // |
12 |
|
- |
EventBus pEventBus, String pFormServicePeerFactoryName ) { |
13 |
|
- |
super( pFormDef, pRootTypeForUI, pRootKey, // |
14 |
|
- |
new BusFormServicePeerChannel( pEventBus, pRootTypeForUI + "FormDialog", |
15 |
|
- |
pFormServicePeerFactoryName ) ); |
16 |
|
- |
} |
17 |
|
- |
|
18 |
|
- |
protected String createDialogTitle() { |
19 |
|
- |
return DeCamelizer.resolve( ((getRootKey() != null) ? "Edit" : "New") + mTypeDisplayString ); |
20 |
|
- |
} |
21 |
|
- |
} |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
|
2 |
+ |
package org.litesoft.GWT.forms.client; |
|
3 |
+ |
|
|
4 |
+ |
import org.litesoft.GWT.eventbus.client.*; |
|
5 |
+ |
import org.litesoft.GWT.forms.client.components.nonpublic.*; |
|
6 |
+ |
import org.litesoft.GWT.forms.client.rpc.*; |
|
7 |
+ |
import org.litesoft.commonfoundation.base.*; |
|
8 |
+ |
import org.litesoft.ui.def.*; |
|
9 |
+ |
|
|
10 |
+ |
public class POBackedFormDialog extends AbstractFormDialog { |
|
11 |
+ |
public POBackedFormDialog( UiFormDef pFormDef, String pRootTypeForUI, String pRootKey, // |
|
12 |
+ |
EventBus pEventBus, String pFormServicePeerFactoryName ) { |
|
13 |
+ |
super( pFormDef, pRootTypeForUI, pRootKey, // |
|
14 |
+ |
new BusFormServicePeerChannel( pEventBus, pRootTypeForUI + "FormDialog", |
|
15 |
+ |
pFormServicePeerFactoryName ) ); |
|
16 |
+ |
} |
|
17 |
+ |
|
|
18 |
+ |
protected String createDialogTitle() { |
|
19 |
+ |
return DeCamelizer.resolve( ((getRootKey() != null) ? "Edit" : "New") + mTypeDisplayString ); |
|
20 |
+ |
} |
|
21 |
+ |
} |