Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ui-best-practices-working-group] Notifications

It appears to me that not everyone understands how the Mylyn Notifications API works and how it relates to native, a.k.a. SWT notifications. These two are not exclusive but complimentary.

A Mylyn Notifications «sink» or «notifier» is what presents a notification, sometimes it is capable of receiving user input. Currently the following notifier types are implemented:

* Builds view – the original use case
* Desktop popup – in bottom right corner
* Desktop popup (Errors)

A message has a category, and for each message category the user can configure zero or more notifiers. The developer should implement sensible defaults.

I’d like to move Mylyn Notifications to Platform and add a new notifier which would be the "SWT notifications". This bridge to the native notification API should probably be implemented in SWT. That would make good sense. But I think that the Eclipse code using this bridge should be doing it through the Mylyn Notifications API. That way the user will have control over how notifications of certain categories are handled and we don’t have to reinvent the wheel once again.

Torkild



Back to the top