Skip to content

The open source IFML editor - Based on Sirius

License

Notifications You must be signed in to change notification settings

umuhoza/ifml-editor

 
 

Repository files navigation

IFML Editor

The open source IFML editor - Based on Sirius

Projects

  • IFMLEditor: project with model and model sources.
    • Folder “Model”: contains the .ecore and the .genmodel.
  • IFMLEditor.edit : project with the generated edit code.
  • IFMLEditor.editor: project with the generated editor code.
  • IFMLEditorDesign: project with the editor design
    • Folder “description”: IFML.odesign file which specifies the editor
    • Source Folder “templates” inside the src folder: helper.mtl file, which specifies some queries, used by the IFML.odesign.

Remarks

  • In order to avoid problems due to the existence of elements with the same name in other metamodels the following elements were renamed only for the Editor:
        - Action --> IFML Action
        - Menu --> IFMLMenu
        - Slot --> IFMLSlot
        - Parameter --> IFMLParameter
        - Window --> IFMLWindow
        - Port --> IFMLPort
        - Module --> IFMLModule
  • In order to generate a unique identifier for each element the ElementImpl.java class in the package IFML.Core.impl in the Model Project was modified:
        - inserting the following line in the ElementImpl Constructor
          id=EcoreUtil.generateUUID(); 
        - marking the constructor @generated NOT
        - changing the variable ID_EDEFAULT value from null to "":
          protected static final String ID_DEFAULT = ""

About

The open source IFML editor - Based on Sirius

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%