Subversion Repository Public Repository

litesoft

Diff Revisions 49 vs 60 for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/client/widgets/ContextMenuBGImageButton.java

Diff revisions: vs.
  @@ -1,25 +1,25 @@
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 com.google.gwt.user.client.*;
5 - import com.google.gwt.user.client.ui.*;
6 4 import org.litesoft.GWT.client.*;
7 5 import org.litesoft.GWT.client.commands.*;
8 - import org.litesoft.core.util.*;
9 6
10 - public class ContextMenuBGImageButton extends BGImageButton
11 - {
12 - public ContextMenuBGImageButton( String pButtonName, String pEnabledToolTip )
13 - {
14 - this( pButtonName, pEnabledToolTip, null );
15 - }
7 + import com.google.gwt.user.client.*;
16 8
17 - public ContextMenuBGImageButton( String pButtonName, String pEnabledToolTip, Command pAltClickCommand )
18 - {
19 - super( pButtonName, pEnabledToolTip );
20 - // todo: setEnabled( false );
21 - mAltClickCommand = pAltClickCommand;
22 - }
9 + public class ContextMenuBGImageButton // extends BGImageButton
10 + {
11 + // todo: translate:
12 + // public ContextMenuBGImageButton( String pButtonName, String pEnabledToolTip )
13 + // {
14 + // this( pButtonName, pEnabledToolTip, null );
15 + // }
16 + //
17 + // public ContextMenuBGImageButton( String pButtonName, String pEnabledToolTip, Command pAltClickCommand )
18 + // {
19 + // super( pButtonName, pEnabledToolTip );
20 + // // todo: setEnabled( false );
21 + // mAltClickCommand = pAltClickCommand;
22 + // }
23 23
24 24 private Command mAltClickCommand;
25 25 private TextCommand[] mTextCommands = TextCommand.EMPTY_ARRAY;