how to set multiple selection false in com.intellij.ui.CheckboxTree
Hi,
I m using com.intellij.ui.CheckboxTree to show hierarchical view of some data. I want to make sure that user is able to select only one item (check only one check box).
Currently multiple selection is true by default. Is there any method with which i can set this to false?
thank you
Please sign in to leave a comment.
You can override the nodeStateWillChange() method and remove the checked state from all items in your handler.
I am using idea 12.0.1. I was not able to find nodeStateWillChange() .
I found onNodeStateChanged() ....should i use this?