Eclipse: Autocompletion for Spring beans in Spring WebFlow?
I am using Spring Web Flow 1.0 and Spring 2.0 (beans are defined in XMLs).
In eclipse (Indigo 3.7), I'd like to enable autocompletion for my beans when writing web flows. I am already using Spring IDE plugin.
Example (I'd like to prompt autocomp开发者_C百科letion for action - bean and method):
<action-state id="doDeleteSelection">
<action bean="pm.TypoController" method="doDeleteElement" />
<transition to="elements" />
</action-state>
Is this possible?
Yes. This behavior is available in the Spring WebFlow editor. SpringIDE provides basic WebFlow editing using this editor. If you want a more sophisticated graphical editor, then you should download SpringSource Tool Suite:
http://www.springsource.com/developer/sts
It is possible to install STS into an existing Eclipse instance.
I must say that I am a little surprised that you are not finding this feature since the use of the webflow editor should be default for all webflow files. Perhaps there is another problem going on.
精彩评论