How to replace the selection model in the NetBeans Platform