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 |
One answer
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. |
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.
Comments
Paulino
I think everything is a call thru IWorkitemRestService, it is the router..
the data parms should tell you.