Skip Navigation

Dependencies and Classes for Notifications

Whether you are customizing a notification service or creating the sample that the procedure in this book builds, both Eclipse and Sabre Red 360 have defined some dependencies, extension points, and classes that are required to add a notification service to a plug-in. They are listed below.

Minimum Required Dependencies

  • com.sabre.edge.platform.core.common

  • com.sabre.edge.platform.optional.notifications

  • org.eclipse.ui

  • org.eclipse.core.runtime

Extension Points

None

Classes

  • Activator AbstractEdgeBasePlugin class.You are required to extend this class.

  • INotificationService

  • Create the Notification entity object

  • UiThreadInvoker , unless the notification is in a SWT UI thread

  • SWT Listener interface

  • destroyNotification() method. This is required only if you are destroying a notification.

  • replaceNotification() method. This is required only if you are replacing a notification.