diff options
author | Uwe Stieber | 2014-02-20 07:28:26 +0000 |
---|---|---|
committer | Uwe Stieber | 2014-02-20 07:28:26 +0000 |
commit | 4bf3f83b75c1633b1806b8304bc6b95030ed7213 (patch) | |
tree | 40f9727e27b8949c7a9fccc190ab70c78c0e3f00 | |
parent | 6c765a492870682645600839c71d8c81b956a868 (diff) | |
download | org.eclipse.tcf-4bf3f83b75c1633b1806b8304bc6b95030ed7213.tar.gz org.eclipse.tcf-4bf3f83b75c1633b1806b8304bc6b95030ed7213.tar.xz org.eclipse.tcf-4bf3f83b75c1633b1806b8304bc6b95030ed7213.zip |
Target Explorer: Associate the original notification event which triggered a notification popup with the notification form text widget
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.ui.notifications/src/org/eclipse/tcf/te/ui/notifications/internal/popup/NotificationPopup.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.notifications/src/org/eclipse/tcf/te/ui/notifications/internal/popup/NotificationPopup.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.notifications/src/org/eclipse/tcf/te/ui/notifications/internal/popup/NotificationPopup.java index 645ba2aa9..2bae08ecf 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.ui.notifications/src/org/eclipse/tcf/te/ui/notifications/internal/popup/NotificationPopup.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.notifications/src/org/eclipse/tcf/te/ui/notifications/internal/popup/NotificationPopup.java @@ -103,6 +103,9 @@ public class NotificationPopup extends AbstractNotificationPopup { widget.setBackground(notificationComposite.getBackground()); widget.setWhitespaceNormalized(false); + // Associate the notification event with the form text widget + widget.setData("event", notification); //$NON-NLS-1$ + // Populate the widget content based on the current notification event delegate.populateFormText(toolkit, widget, notification); // Adjust the notification close delay |