Get available enums as variants in custom reference.

Hello
I'm providing custom reference in JSP files. This refernce should offer variants for attributes of custom JSP tags.
Those variats should be al available enums within current project.
What i was doing in 7th branch.

JavaClassReferenceProvider provider = new JavaClassReferenceProvider();
provider.setOption(JavaClassReferenceProvider.EXTEND_CLASS_NAMES, new String[]{"java.lang.Enum"});

.... register provider with ReferenceProvidersRegistry code ...



 

After migration codebase to Diana i've noticed that this code doesn't work anymore.
After i tried to use various option for ReferenceProvidersRegistry i've discovered that none of them help.
So plz give me some clue how to solve this problem. Thnx in advance.

4 comments
Comment actions Permalink

This problem should be fixed in the next EAP, thank you!

0
Comment actions Permalink

ok nice to hear thix. can you post here build number after which i can try this feature ?
sure if now posssble :)
thnx

0
Comment actions Permalink

Should work in 9678

0
Comment actions Permalink

Thnx for help. I will check it later and report :)

0

Please sign in to leave a comment.