[closed] Disable Button "Check-in and Accept"
The question has been closed for the following reason: "Duplicate Question" by rschoon Jun 28 '18, 2:43 a.m.
Accepted answer
Out of curiosity, why do you want to disable the button?
Comments
We have written our own check-in, because we want to associate one change to a change set. So that's why we don't want to use the Check-in provided by the tool
If the user executes an Accept, and there are checkouts that would be overwritten by that Accept, do you want the dilemma handler to just give the user the two options: cancel the accept, or overwrite the checkout? (and not give them the option of checking in the checkouts before executing the Accept)? As David says, you cannot override the behavior of the dilemma handler, so just asking to make sure we understand the behavior you are looking for.
Thanks Geoff, See duplicate question and answers here: https://jazz.net/forum/questions/253790/disable-check-in-rtc-client
They could use an advisor to prevent wrong data to be created in case of the wrong button being pressed.
https://rsjazz.wordpress.com/2014/03/24/hiding-ui-contributions-in-the-rtc-eclipse-client/ might be an option.