How to generate code by Papyrus on Eclipse?

前端 未结 7 2198
野的像风
野的像风 2021-02-03 12:38

I install Papyrus at here. So how to generate code using Papyrus ?

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-03 13:12

    To generate the java code from UML you can follow the below steps.

    1. New Project->EMF Project Press Next
    2. give the project name
    3. In Model Importer page select UML model and press Next
    4. Select UML model which is created by using Papyrus.Press next
    5. In Package selection page select all the root packages
    6. click finish, it will generate genmodel.
    7. Use the genmodel to generate Java code.

    I hope this information helps.

提交回复
热议问题