UsageType has become final?
Hi guys,
I have noticed that UsageType class is final now, it means plugins which were used it to provide "Find Usages" feature not valid any longer ..
Does this mean Jetbrains restrict an access to Find Usages feature or there is another way to use"Find Usages" in the plugin without deriving of the UsageType class?
Thanks a lot,
Sergei
Please sign in to leave a comment.
Hello Sergei,
In order to provide custom usage types, you don't need to create UsageType
subclasses - you can simply use the public UsageType(String name) constructor
to create the instances you need.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Fixed, sorry for inconvenience.
Dmitry, thank you, it looks it works.
Sergei