Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Buschtöns2011-01-31 12:54:22 +0000
committerTim Buschtöns2011-01-31 12:54:22 +0000
commit6f830625ebb5ef6ad2a11e9fdcf3927b5c2bb469 (patch)
tree17a3bdefef7cf04de0e86831f0de5c36d66b922b /bundles
parent0626aee9650d15b1bd210bb1c60bf24f3c7958d6 (diff)
downloadorg.eclipse.rap-6f830625ebb5ef6ad2a11e9fdcf3927b5c2bb469.tar.gz
org.eclipse.rap-6f830625ebb5ef6ad2a11e9fdcf3927b5c2bb469.tar.xz
org.eclipse.rap-6f830625ebb5ef6ad2a11e9fdcf3927b5c2bb469.zip
Fix for Bug 335837 - [ToolTip] The ToolTip widget can not have a background-gradient
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/tooltipkit/ToolTipLCA.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/bundles/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/tooltipkit/ToolTipLCA.java b/bundles/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/tooltipkit/ToolTipLCA.java
index 7908abd008..53122fd62a 100644
--- a/bundles/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/tooltipkit/ToolTipLCA.java
+++ b/bundles/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/tooltipkit/ToolTipLCA.java
@@ -16,7 +16,8 @@ import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.internal.widgets.IToolTipAdapter;
-import org.eclipse.swt.widgets.*;
+import org.eclipse.swt.widgets.ToolTip;
+import org.eclipse.swt.widgets.Widget;
public final class ToolTipLCA extends AbstractWidgetLCA {
static final String PROP_VISIBLE = "visible";
@@ -37,6 +38,9 @@ public final class ToolTipLCA extends AbstractWidgetLCA {
adapter.preserve( PROP_LOCATION, getLocation( toolTip ) );
Boolean hasListener = hasSelectionListener( toolTip );
adapter.preserve( PROP_SELECTION_LISTENER, hasListener );
+ WidgetLCAUtil.preserveBackgroundGradient( widget );
+ WidgetLCAUtil.preserveRoundedBorder( widget );
+ WidgetLCAUtil.preserveCustomVariant( widget );
}
public void readData( final Widget widget ) {

Back to the top