PAPYRUS
  Welcome  
  Papyrus 4 UML  
- Papyrus for MARTE  
- Papyrus for SysML  
- Papyrus for CCM  
- Papyrus for EAST-ADL  
- Papyrus Add-ins  
  Download  
  Model library  
  Documentation  
Team  
Licence  
Bug report  
FAQ  



Step by step example : "Hello world"
  • Preparing the project
  • Creating the model
  • Generating java code
  • Synchronizing model / code
  • Synchronizyng code / model
  • Download project example

  •  Preparing the project

    The following video describes how to create the Java project and a new UML model that will be used for code generation.

    See video

     Creating the model

    The following video shows the creation of a UML modelling the well known "Hello world" example.
    See video

     Generating java code

    The following video shows how to generate java code for the "hello world" model.
    See video

     Synchronizing model / code

    Papyrus code generator is able to synchronize the generated Java code each time the model is saved. This is describe in the video below.
    See video

     Synchronizyng code / model

    The code generator can be configure to synchronize the model according to changes done directly in the code. Each time a Java source file is saved with changes (new class, new operation ...) the related information is added (deleted) in the model. An example is given in the video below.
    See video

     Download project example

    Use the link hereafter to download the example from the video.
    Download example project

    papyrus - Last update : 23/07/2007 14:07:40 - Legal Notice
    © CEA 2003-2013 All Rights Reserved