Skip to content

Commit 560db2a

Browse files
committed
Adjust notification snippets to follow version schema to snippets
The JFace snippets have increasing numbers, the notificaiton api examples should follow the same schema.
1 parent 3fd04b3 commit 560db2a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

docs/JFaceSnippets.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Contents
2121
* [1.2 Snippet082 - Color Selector](#Snippet082---Color-Selector)
2222
* [2 Notification](#Notification)
2323
* [2.1 Snippet081 - Notification API](#Snippet081---Notification-API)
24-
* [2.2 Snippet002 - Notification Popup with Functions](#Snippet002---Notification-Popup-with-Functions)
25-
* [2.3 Snippet004 - Notification Popup with Custom Delay and Fade](#Snippet004---Notification-Popup-with-Custom-Delay-and-Fade)
24+
* [2.2 Snippet083 - Notification Popup with Functions](#Snippet083---Notification-Popup-with-Functions)
25+
* [2.3 Snippet084 - Notification Popup with Custom Delay and Fade](#Snippet084---Notification-Popup-with-Custom-Delay-and-Fade)
2626
* [3 Layout](#Layout)
2727
* [3.1 Snippet013 - Grid Layout Factory](#Snippet013---Grid-Layout-Factory)
2828
* [3.2 Snippet016 - Table Layout](#Snippet016---Table-Layout)
@@ -129,15 +129,15 @@ Demonstrates usage of the non-blocking notification API
129129

130130
![Snippet081 Shell1.gif](https://raw.githubusercontent.com/eclipse-platform/eclipse.platform.ui/master/docs/images/Snippet081_Shell1.gif)
131131

132-
### [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)
132+
### [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)
133133

134-
* [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)
134+
* [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)
135135

136136
Demonstrates the creation of notification popups that include function callbacks for user interactions.
137137

138-
### [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)
138+
### [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)
139139

140-
* [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)
140+
* [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)
141141

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import org.eclipse.swt.widgets.Display;
1111
import org.eclipse.swt.widgets.Shell;
1212

13-
public class Snippet002NotificationPopupWithFunctions {
13+
public class Snippet083NotificationPopupWithFunctions {
1414

1515
public static void main(String[] args) {
1616
Display display = new Display();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.eclipse.swt.widgets.Display;
55
import org.eclipse.swt.widgets.Shell;
66

7-
public class Snippet004NotificationPopupWithCustomDelayAndFade {
7+
public class Snippet084NotificationPopupWithCustomDelayAndFade {
88

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

0 commit comments

Comments
 (0)