I'm currently writing a Eclipse plugin for model driven code generation.
This Plugin features a Wizard for converting UML to Java Code and deploying (in this case copying) the Code Base to different Projects. One Project now has the necessity for one auto-import cleanup (the pipeline messes around with the imports). I usually do this by selecting the source folder and then pressing ctrl+shift+o (organize imports).
Is there the possibility to start this operation out of my Plugin?
in short: How to start the "organize-import" function from my plugin?