From 136afb43a529ad3a969db742b46b8ba25a89d226 Mon Sep 17 00:00:00 2001 From: Lars Vogel Date: Tue, 5 Nov 2024 10:55:33 +0100 Subject: [PATCH] Adding the missing Notification snippets to the wiki Since a while we have three notification snippets but only on the documentation page. --- docs/JFaceSnippets.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/JFaceSnippets.md b/docs/JFaceSnippets.md index f557f878ccc..e2ad06964a6 100644 --- a/docs/JFaceSnippets.md +++ b/docs/JFaceSnippets.md @@ -21,6 +21,8 @@ Contents * [1.2 Snippet082 - Color Selector](#Snippet082---Color-Selector) * [2 Notification](#Notification) * [2.1 Snippet081 - Notification API](#Snippet081---Notification-API) + * [2.2 Snippet002 - Notification Popup with Functions](#Snippet002---Notification-Popup-with-Functions) + * [2.3 Snippet004 - Notification Popup with Custom Delay and Fade](#Snippet004---Notification-Popup-with-Custom-Delay-and-Fade) * [3 Layout](#Layout) * [3.1 Snippet013 - Grid Layout Factory](#Snippet013---Grid-Layout-Factory) * [3.2 Snippet016 - Table Layout](#Snippet016---Table-Layout) @@ -127,6 +129,18 @@ Demonstrates usage of the non-blocking notification API ![Snippet081 Shell1.gif](https://raw.githubusercontent.com/eclipse-platform/eclipse.platform.ui/master/docs/images/Snippet081_Shell1.gif) +### [Snippet002 - Notification Popup with Functions](https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/examples/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/notifications/Snippet002NotificationPopupWithFunctions.java) + +* [Snippet002 - Notification Popup with Functions](https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/examples/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/notifications/Snippet002NotificationPopupWithFunctions.java) + +Demonstrates the creation of notification popups that include function callbacks for user interactions. + +### [Snippet004 - Notification Popup with Custom Delay and Fade](https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/examples/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/notifications/Snippet004NotificationPopupWithCustomDelayAndFade.java) + +* [Snippet004 - Notification Popup with Custom Delay and Fade](https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/examples/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/notifications/Snippet004NotificationPopupWithCustomDelayAndFade.java) + +Shows how to create notification popups with custom delay and fade effects for enhanced visual feedback. + Layout ------