litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/client/widgets/ContextMenuBGImageButton.java
|
@@ -24,8 +24,7 @@ |
24 |
24 |
|
private Command mAltClickCommand; |
25 |
25 |
|
private TextCommand[] mTextCommands = TextCommand.EMPTY_ARRAY; |
26 |
26 |
|
|
27 |
|
- |
public void setTextCommands( TextCommand[] pTextCommands ) |
28 |
|
- |
{ |
|
27 |
+ |
public void setTextCommands( TextCommand[] pTextCommands ) { |
29 |
28 |
|
mTextCommands = Objects.hasEntries( pTextCommands ) ? pTextCommands : TextCommand.EMPTY_ARRAY; |
30 |
29 |
|
// todo: setEnabled( mTextCommands.length != 0 ); |
31 |
30 |
|
} |