litesoft
Diff Revisions
49
vs
60
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/client/taskbar/nonpublic/AbstractGridIconCommandContextPopup.java
|
@@ -1,12 +1,13 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.GWT.client.taskbar.nonpublic; |
3 |
3 |
|
|
4 |
|
- |
import com.google.gwt.user.client.*; |
5 |
|
- |
import com.google.gwt.user.client.ui.*; |
6 |
4 |
|
import org.litesoft.GWT.client.commands.*; |
7 |
5 |
|
import org.litesoft.GWT.client.widgets.*; |
8 |
6 |
|
import org.litesoft.core.simpletypes.*; |
9 |
7 |
|
|
|
8 |
+ |
import com.google.gwt.user.client.ui.*; |
|
9 |
+ |
import com.google.gwt.user.client.*; |
|
10 |
+ |
|
10 |
11 |
|
public class AbstractGridIconCommandContextPopup extends AbstractContextPopup |
11 |
12 |
|
{ |
12 |
13 |
|
private PointToCommandMap mCommands = new PointToCommandMap(); |
|
@@ -40,7 +41,7 @@ |
40 |
41 |
|
protected void addIconCommand( int pRow, int pColumn, CssBackgroundCommand pCommand ) |
41 |
42 |
|
{ |
42 |
43 |
|
|
43 |
|
- |
BGImageButton zButton = new BGImageButton( pCommand.getCssBaseClassname(), pCommand.getTooltip() ); |
|
44 |
+ |
BGImageButton zButton = null; // todo: translate: new BGImageButton( pCommand.getCssBaseClassname(), pCommand.getTooltip() ); |
44 |
45 |
|
if ( pCommand.isEnabled() ) |
45 |
46 |
|
{ |
46 |
47 |
|
mCommands.put( new PointXY( pColumn, pRow ), pCommand ); |