Resolving DomElements From Separate Model
If have DomFileDescriptionA and DomFileDescriptionB and DomElements used by DomFileDescriptionB can reference DomElements from DomFileDescriptionA, how do I get the two resolve scopes for the two file descriptions to recognize each other? Is there a way?
请先登录再写评论。
For instance, let's say the DomFileDescriptionA is the Spring model and DomFileDescriptionB references spring beans by id/name.
you need to use a @Converter on the attributes/tags which should reference the Spring Beans example: http://git.jetbrains.org/?p=idea/contrib.git;a=blob;f=struts2/plugin/src/com/intellij/struts2/dom/struts/impl/ExtendableClassConverterSpringContributor.java;h=675bf77ce67ceec8c59cf5c41f9e5a667296aa9a;hb=HEAD