Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Displaying Notifications in RTC

I'm a newbie to JAZZ and RTC and am currently exploring how to display a notification to the user on a particular event. I went through the tutorial https://jazz.net/wiki/bin/view/Main/FoundationNotifierTutorial

It tells me to "Use the com.ibm.team.foundation.rcp.core.notifier extension point" to "contribute" a notifier. What does that exactly mean? Do I create a new class extending that? Just a bit confused about where to start.

Thanks in Advance!

1

0 votes



4 answers

Permanent link
This is also covered by the tutorial you read in https://jazz.net/wiki/bin/view/Main/FoundationNotifierTutorial#Contributing_an_Event_Category_w

0 votes


Permanent link
You need to use the extension point "Notification" in foundation.rcp.core to contribute a event category and type so that a user can enable a notification for this type.

0 votes


Permanent link
Thank you for your response.

I added two `extension` tags to the plugin.xml file as directed in the notifier tutorial. However, I fail to see any event types or event added to the `Windows > Preferences > Notifications` window.

Just to be sure, I extended the abstract Notifier class and wrote some code for the notify method. For eventcategory and eventtype tags in plugin.xml, although I specified their id just like I would for any class, I do not need to create a separate class for them right?

Just a bit confused regarding that. I'm pretty sure that the syntax of my plugin.xml is right since I used intellisense to write it all and I don't get any warnings/errors on it.

0 votes


Permanent link
To use the extension point you add it to the plugin.xml of your bundle after adding a dependency to com.ibm.team.foundation.rcp.core. When you add it, the editor asks you for a class that implements Notifier. This class would live in the same bundle and gets loaded in RTC automatically.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Feb 12 '09, 10:12 p.m.

Question was seen: 5,731 times

Last updated: Feb 12 '09, 10:12 p.m.

Confirmation Cancel Confirm