litesoft
Diff Revisions
150
vs
151
for /trunk/Java/GWT/Client/src/org/litesoft/GWT/forms/client/components/impls/input/FormImageSelectOptions.java
|
@@ -8,8 +8,8 @@ |
8 |
8 |
|
import org.litesoft.uispecification.*; |
9 |
9 |
|
|
10 |
10 |
|
import com.google.gwt.user.client.*; |
11 |
|
- |
import com.google.gwt.user.client.ui.*; |
12 |
11 |
|
import com.google.gwt.user.client.ui.Button; |
|
12 |
+ |
import com.google.gwt.user.client.ui.*; |
13 |
13 |
|
|
14 |
14 |
|
public class FormImageSelectOptions extends FormImageSelector implements ResourceKeyNameURLsAvailableCallback |
15 |
15 |
|
{ |
|
@@ -17,13 +17,9 @@ |
17 |
17 |
|
private SimplePanel mPopupListWrapper; |
18 |
18 |
|
private PointXY mPointXY; |
19 |
19 |
|
|
20 |
|
- |
public FormImageSelectOptions( String pFieldLabel, UiFont pLabelFont, String pTooltip, boolean pViewOnly, |
21 |
|
- |
ResourceKeyNameURLprovider pProvider, Integer pInitialWidth, |
22 |
|
- |
boolean pWidthNotStretchable, Integer pInitialHeight, |
23 |
|
- |
boolean pHeightNotStretchable ) |
|
20 |
+ |
public FormImageSelectOptions( String pFieldLabel, UiFont pLabelFont, String pTooltip, boolean pViewOnly, ResourceKeyNameURLprovider pProvider, Integer pInitialWidth, boolean pWidthNotStretchable, Integer pInitialHeight, boolean pHeightNotStretchable ) |
24 |
21 |
|
{ |
25 |
|
- |
super( pFieldLabel, pLabelFont, pTooltip, pViewOnly, pInitialWidth, pWidthNotStretchable, |
26 |
|
- |
pInitialHeight, pHeightNotStretchable ); |
|
22 |
+ |
super( pFieldLabel, pLabelFont, pTooltip, pViewOnly, pInitialWidth, pWidthNotStretchable, pInitialHeight, pHeightNotStretchable ); |
27 |
23 |
|
mProvider = pProvider; |
28 |
24 |
|
mPickerButtonTooltip = "Select Image from List"; |
29 |
25 |
|
|
|
@@ -44,8 +40,7 @@ |
44 |
40 |
|
@Override |
45 |
41 |
|
public void setCurrentValue( Object pNewValue ) |
46 |
42 |
|
{ |
47 |
|
- |
setCurrentResourceKeyNameURL( |
48 |
|
- |
(pNewValue instanceof ResourceKeyNameURL) ? (ResourceKeyNameURL) pNewValue : null ); |
|
43 |
+ |
setCurrentResourceKeyNameURL( (pNewValue instanceof ResourceKeyNameURL) ? (ResourceKeyNameURL) pNewValue : null ); |
49 |
44 |
|
} |
50 |
45 |
|
|
51 |
46 |
|
private Widget buildPickerPanel() |