and I need to find the number of the selected change list. IDEA does it somehow (shows Perforce CLN), but because its Perforce plugin is not open source, I can not see how it is implemented.
I have an instance of LocalChangeListImpl and I need to obtain from it some of the perforce specific change list classes which contain Perforce CLN info.
There is older thread on this topic: https://devnet.jetbrains.com/message/5460240
However it is 3 years old, so I hope someone have better, cleaner solution for that.
Thanks in advance