litesoft
Diff Revisions
946
vs
947
for /trunk/Java/core/jvm1.4/src/org/litesoft/ui/def/nonpublic/support/UiActionSupport.java
|
@@ -1,4 +1,4 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
2 |
|
package org.litesoft.ui.def.nonpublic.support; |
3 |
3 |
|
|
4 |
4 |
|
import org.litesoft.ui.def.*; |
|
@@ -9,14 +9,14 @@ |
9 |
9 |
|
public static UiDef convertStringAction( String pAction ) |
10 |
10 |
|
{ |
11 |
11 |
|
if ( pAction != null ) |
12 |
|
- |
if ( (pAction = pAction.trim()).length() != 0 ) |
13 |
|
- |
{ |
14 |
|
- |
if ( UiSpacerDef.STRING_FORM.equals( pAction ) ) |
15 |
|
- |
{ |
16 |
|
- |
return new UiSpacerDef(); |
17 |
|
- |
} |
18 |
|
- |
return new UiActionDef( pAction ); |
19 |
|
- |
} |
|
12 |
+ |
if ( (pAction = pAction.trim()).length() != 0 ) |
|
13 |
+ |
{ |
|
14 |
+ |
if ( UiSpacerDef.STRING_FORM.equals( pAction ) ) |
|
15 |
+ |
{ |
|
16 |
+ |
return new UiSpacerDef(); |
|
17 |
+ |
} |
|
18 |
+ |
return new UiActionDef( pAction ); |
|
19 |
+ |
} |
20 |
20 |
|
return null; |
21 |
21 |
|
} |
22 |
22 |
|
} |