Eclipse UML plugin with Java Code Generation

后端 未结 5 1929
暗喜
暗喜 2021-02-06 08:12

Does anyone know of a good (read: Free) Eclipse UML plugin that can also do code generation? If not, does anyone know of any good Eclipse UML plugins?

EDIT

5条回答
  •  渐次进展
    2021-02-06 08:33

    I agree with Jordi Cabot. you can basically exploit the Eclipse Modeling Framework with one of the existing model editors (i.e. Papyrus, TopCased, etc.). Then you can write your own generation workflow by means of Acceleo, an Eclipse implementation of the MOF to Text Transformation Language. It enables you to dive into a model and generate the text you want (i.e. Java, C++, C, python, Matlab, etc.) from it.

    At the beginning it may look a bit weird and hard to understand but it is the best environment I know for this purpose. It is totally conform to the OMG standards.

    Bye

提交回复
热议问题