Page 1 of 1

Remove quick-fix actions from ValidationProblems list through Java

Posted: Wed Apr 24, 2024 8:35 pm
by vitorhugovm
Hello!

Is there a way to remove quick-fix actions inside a problem from ValidationProblems through Java?
I have access to the problems list by extending ValidationProblemsFilter and then calling the following function:

Code: Select all

this.problems = validationProblems.getProblemsList()
Example:
image.png
I can edit the text inside, but I didn't find a way to remove or customize these two actions below the error text by using this same class or any other in the Java API. How could I do that?

Thanks!
Vitor

Re: Remove quick-fix actions from ValidationProblems list through Java

Posted: Thu Apr 25, 2024 2:14 pm
by cosminef
Hello,

You can remove or customize those actions directly from your Schema file.

Best,
Cosmin