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

Add Customize Warning Message in RTC Through Plugin

Hi all,

I need throw warning style like photo attached or like yellow refresh messages... Someone could tell me where I can find the code that does it?

thank you very much

0 votes

Comments
Sam thanks for your quick response. In the case of the call refresh message is a service of the IWorkitemRestService class but is an internal method and I can not see the code. I will keep investigating.

Paulino

I think everything is a call thru IWorkitemRestService, it is the router.. 
the data parms should tell you.



One answer

Permanent link
I don't know exactly, but this is really a two part design..

the UI has a reserved area for the banner message to be displayed,

the UI code continually looks in an architected buffer area for the message objects to process.

the code wanting to have a message displayed (advisor, ...) creates one of these message buffer objects in the right place.. then the clients (native, Eclipse and Web) all process from the list..

the client code is quite complex..
but can be found in the sdk

com.ibm.team.workitem.web (web)
com.ibm.team.workitem.ide.ui (java)

I looked thru both, but didn't see anything obvious.. both are completely object oriented.
I do not think the message object architecture supports customer extendability

On the web side, you might be able to get a handle on the object class by using a javascript debugger in firefox or chrome to see the class invocation when a message is displayed.


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
× 10,937

Question asked: Jul 25 '14, 6:51 a.m.

Question was seen: 3,868 times

Last updated: Jul 29 '14, 9:43 a.m.

Confirmation Cancel Confirm