It's all about the answers!

Ask a question

add button in rtc client for verify snapshot


giorgio salvemini (20118) | asked Mar 22 '21, 6:26 a.m.

When I create a snapshot in rtc I would like this to be able to be verified before saving it. So I would like to include a "verify" button in the GUI so that I can verify some characteristics of the snapshot such as whether the snapshot is scoped to the project or that it meets a particular naming convention. How can I do this? Do I need to create a plugin to do this? Do you have any suggestion to make my job easier?

i would like to do this for RTC version 6.0.6, what kind of sdk should i install? client side? thanks in advance

Accepted answer


permanent link
Ralph Schoon (63.5k33646) | answered Mar 22 '21, 10:37 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 I do not know if you can add buttons to existing UI elements. That would be an Eclipse and not a Jazz question. I have found away to add context menus to some jazz items. See https://rsjazz.wordpress.com/2014/02/21/adding-context-menus-for-jazz-objects-to-the-rtc-eclipse-client/ .


If there is an operation that allows to hook up a RTC extension you can create advisors/pre-conditions and participants/follow up actions. See https://rsjazz.wordpress.com/?s=advisor&submit=Search for some examples. I do not see there is such a thing for snapshot or baseline creation.

You need a client SDK. I would always suggest to follow https://jazz.net/library/article/1000 and set up the environment.

Both the Eclipse workspaces contain a client SDK, the server development workspace contains both, a client as well as a server SDK.server development. 

I usually use the server workspace if I need a mix of client and server API.  

giorgio salvemini selected this answer as the correct answer

Comments
Ralph Schoon commented Mar 23 '21, 3:25 a.m. | edited Mar 23 '21, 3:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

If you use a workspace like the aforementioned, be careful with which API you use where. the server API is only available in the server, the client API only in the client. The common API in both. See  https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ and https://rsjazz.wordpress.com/2013/03/14/what-apis-are-available-for-rtc-and-what-can-you-extend/

Your answer


Register or 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.