litesoft
Diff Revisions
808
vs
809
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/client/widgets/ContextMenuBGImageButton.java
|
@@ -1,8 +1,8 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.GWT.client.widgets; |
3 |
3 |
|
|
4 |
|
- |
import org.litesoft.GWT.client.*; |
5 |
4 |
|
import org.litesoft.GWT.client.commands.*; |
|
5 |
+ |
import org.litesoft.core.typeutils.*; |
6 |
6 |
|
|
7 |
7 |
|
import com.google.gwt.user.client.*; |
8 |
8 |
|
|
|
@@ -26,7 +26,7 @@ |
26 |
26 |
|
|
27 |
27 |
|
public void setTextCommands( TextCommand[] pTextCommands ) |
28 |
28 |
|
{ |
29 |
|
- |
mTextCommands = UtilsGwt.hasEntries( pTextCommands ) ? pTextCommands : TextCommand.EMPTY_ARRAY; |
|
29 |
+ |
mTextCommands = Objects.hasEntries( pTextCommands ) ? pTextCommands : TextCommand.EMPTY_ARRAY; |
30 |
30 |
|
// todo: setEnabled( mTextCommands.length != 0 ); |
31 |
31 |
|
} |
32 |
32 |
|
|