Implementation of a Graphical Modelica Editor with Preserved Source Code Formatting
Author
Summary, in English
One implementation of Modelica is the open-source platform JModelica.org. It contains the JModelica.org IDE, that provides a text editor for Modelica code, based on the Eclipse platform.
In this paper, we present an implementation of a graphical editor for the JModelica.org IDE. Several challenges with implementing a graphical editor for Modelica are discussed. Among others, the difficulties in rendering Modelica diagrams and how to interact with existing frameworks in Eclipse are brought up.
A method for preserving the formatting of a modified source code file is also presented, which is essential when the model is altered in the graphical editor.
Department/s
Publishing year
2012
Language
English
Pages
375-384
Publication/Series
Proceedings of the 9th International Modelica Conference
Full text
- Available as PDF - 455 kB
- Download statistics
Document type
Conference paper
Publisher
The Modelica Association
Topic
- Control Engineering
Keywords
- AST
- JModelica.org
- Eclipse GEF Graphical Editing Icon Rendering Preserved File Formatting Pretty Printing
Conference name
9th International Modelica Conference
Conference date
2012-09-03
Conference place
Munich, Germany
Status
Published
Project
- LCCC
Research group
- LCCC
ISBN/ISSN/Other
- ISBN: 978-91-7519-826-2