summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuergen Becker2011-01-20 11:16:17 (EST)
committerJuergen Becker2011-01-20 11:16:17 (EST)
commita1586889b010eefd0aaf029a6ebd1d3fa721ef7b (patch)
tree8dad0e6ea1ced70c623eefb8a63c2bf204f0f897
parent2be49bc79eb77738c9fc7c547817247e2efc377c (diff)
downloadorg.eclipse.riena.rap-a1586889b010eefd0aaf029a6ebd1d3fa721ef7b.zip
org.eclipse.riena.rap-a1586889b010eefd0aaf029a6ebd1d3fa721ef7b.tar.gz
org.eclipse.riena.rap-a1586889b010eefd0aaf029a6ebd1d3fa721ef7b.tar.bz2
InfoFlyoutRidget now works with RAP.
Added two support methods to the SWTFacades.
-rw-r--r--org.eclipse.riena.ui.swt.rap/src/org/eclipse/riena/ui/swt/facades/SWTFacadeRAP.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/org.eclipse.riena.ui.swt.rap/src/org/eclipse/riena/ui/swt/facades/SWTFacadeRAP.java b/org.eclipse.riena.ui.swt.rap/src/org/eclipse/riena/ui/swt/facades/SWTFacadeRAP.java
index da57e22..a0edaf0 100644
--- a/org.eclipse.riena.ui.swt.rap/src/org/eclipse/riena/ui/swt/facades/SWTFacadeRAP.java
+++ b/org.eclipse.riena.ui.swt.rap/src/org/eclipse/riena/ui/swt/facades/SWTFacadeRAP.java
@@ -13,6 +13,7 @@ package org.eclipse.riena.ui.swt.facades;
import java.util.EventListener;
import org.eclipse.jface.viewers.ILabelProvider;
+import org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
import org.eclipse.swt.events.ModifyListener;
@@ -199,6 +200,16 @@ public final class SWTFacadeRAP extends SWTFacade {
// do nothing
}
+ @Override
+ public void beforeInfoFlyoutShow(final InfoFlyout flyout) {
+ UICallBackServiceHandler.activateUICallBacksFor(flyout.getPropertyName());
+ }
+
+ @Override
+ public void afterInfoFlyoutShow(final InfoFlyout flyout) {
+ UICallBackServiceHandler.deactivateUICallBacksFor(flyout.getPropertyName());
+ }
+
// protected methods
////////////////////