Skip to content

Commit

Permalink
Adjust notification snippets to follow version schema to snippets
Browse files Browse the repository at this point in the history
The JFace snippets have increasing numbers, the notificaiton api
examples should follow the same schema.
  • Loading branch information
vogella committed Nov 6, 2024
1 parent 3fd04b3 commit 560db2a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions docs/JFaceSnippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +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)
* [2.2 Snippet083 - Notification Popup with Functions](#Snippet083---Notification-Popup-with-Functions)
* [2.3 Snippet084 - Notification Popup with Custom Delay and Fade](#Snippet084---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)
Expand Down Expand Up @@ -129,15 +129,15 @@ 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)
### [Snippet083 - 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/Snippet083NotificationPopupWithFunctions.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)
* [Snippet083 - 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/Snippet083NotificationPopupWithFunctions.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)
### [Snippet084 - 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/Snippet084NotificationPopupWithCustomDelayAndFade.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)
* [Snippet084 - 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/Snippet084NotificationPopupWithCustomDelayAndFade.java)

Shows how to create notification popups with custom delay and fade effects for enhanced visual feedback.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

public class Snippet002NotificationPopupWithFunctions {
public class Snippet083NotificationPopupWithFunctions {

public static void main(String[] args) {
Display display = new Display();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;

public class Snippet004NotificationPopupWithCustomDelayAndFade {
public class Snippet084NotificationPopupWithCustomDelayAndFade {

public static void main(String[] args) {
Display display = new Display();
Expand Down

0 comments on commit 560db2a

Please sign in to comment.