Add Customize Warning Message in RTC Through Plugin
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.
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.
Comments
Paulino Alonso
Jul 25 '14, 8:54 a.m.Paulino
sam detweiler
Jul 25 '14, 9:08 a.m.I think everything is a call thru IWorkitemRestService, it is the router..
the data parms should tell you.