Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] [Salvo] "Provide a popup notification when a reply is received" functionality

Hi Isuru,

A few years ago, another ECF committer (Remy Suen, I believe) used the 
Mylyn notification mechanism to add some notification support for the 
ECF presence API.   You might be able to use/reuse this code.  It's in 
the org.eclipse.ecf.presence.ui project/bundle, here:

http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/tree/framework/bundles/org.eclipse.ecf.presence.ui

For example, see this class:  
org.eclipse.ecf.presence.ui.MessageNotificationPopup
http://git.eclipse.org/c/ecf/org.eclipse.ecf.git/tree/framework/bundles/org.eclipse.ecf.presence.ui/src/org/eclipse/ecf/presence/ui/MessageNotificationPopup.java

This is fairly old code at this point, but it may be useful...and it's 
already in ECF distribution.  We had been a part of the push for [3], 
but it didn't seem to actually make it into the platform (I don't know 
why).

In any event, if this meets the newsreader notification needs, it should 
make things easier to reuse it from ECF, rather than introduce a new 
external dependency.

Scott

On Sat, Jul 09, 2011 at 02:01:00PM +0530, Isuru Udana wrote:
> Hi Wim, Harshana,
> 
> I did some research to find how to display a notification in eclipse.
> 
> According to my research, for displaying a popup desktop notification, still
> there is no proper API in the platform UI.
> 
> But there is an excellent notification mechanism in the mylyn [1],[2].
> There were discussions on moving that mylyns' popup notification API to
> platform UI [3].
> But seems like it is not completed yet.
> 
> So to reuse the mylyn notification mechanism we have to
> add org.eclipse.mylyn.commons.ui bundle as a dependency.
> In the discussion [3] Steffen Pingel (from mylyn) has encouraged other
> projects to reuse their notification API in that way.
> 
> I tested a simple plugin to display notifications
> using org.eclipse.mylyn.commons.ui bundle.
> 
> Shall we reuse mylyn notification API or shall we look for some other
> method.
> Please express your view on this.
> 
> [1] http://wiki.eclipse.org/index.php/Mylyn/Integrator_Reference#Commons_UI
> 
> [2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=177974
> 
> <http://wiki.eclipse.org/index.php/Mylyn/Integrator_Reference#Commons_UI>
> [3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=229823
> 
> -- 
> *Regards,*
> *
> Isuru Udana
> *
> *
> 
> *
> Undergraduate
> Department of Computer Science & Engineering,
> University of Moratuwa.
> *
> Blog*: http://mytecheye.blogspot.com/
> *gTalk*: isudana  *skype*: isudana

> _______________________________________________
> ecf-dev mailing list
> ecf-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ecf-dev



Back to the top