How to toggle(Turn Off) the Info, Warning actions button in message handler from code?
I got the message handler using the following code.
MessagesViewTool tool = mpsProject.getComponent(MessagesViewTool.class);
if (tool != null) {
handler = tool.newHandler("Make", true);
}
I want to turn off the Show Info/Warning buttons .
Is there a way to configure these actions from code?
Please sign in to leave a comment.
There's no mechanism in MPS to control buttons on this toolbar. You can try IDEA's ActionToolbar#getActions of QuickActionProvider#getActions, UI component of the message list has to be QuickActionProvider.