litesoft
Diff Revisions
609
vs
610
for /trunk/Java/core/jvm1.4/src/org/litesoft/ui/def/nonpublic/support/UiActionSupport.java
|
@@ -8,14 +8,15 @@ |
8 |
8 |
|
{ |
9 |
9 |
|
public static UiDef convertStringAction( String pAction ) |
10 |
10 |
|
{ |
11 |
|
- |
if ( (pAction != null) && ((pAction = pAction.trim()).length() != 0) ) |
12 |
|
- |
{ |
13 |
|
- |
if ( UiSpacerDef.STRING_FORM.equals( pAction ) ) |
14 |
|
- |
{ |
15 |
|
- |
return new UiSpacerDef(); |
16 |
|
- |
} |
17 |
|
- |
return new UiActionDef( pAction ); |
18 |
|
- |
} |
|
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 |
+ |
} |
19 |
20 |
|
return null; |
20 |
21 |
|
} |
21 |
22 |
|
} |