Meny

Javascript is not activated in your browser. This website needs javascript activated to work properly.
Du är här

Implementation of a Graphical Modelica Editor with Preserved Source Code Formatting

Författare:
  • Jon Sten
  • Tobias Mattsson
  • Tove Bergdahl
  • Jesper Mattsson
  • Johan Åkesson (Assistant Professor)
Publiceringsår: 2012
Språk: Engelska
Dokumenttyp: Konferensbidrag
Ytterligare information: Key=ste+12mc project=LCCC-modeling

Sammanfattning

When an Integrated Development Environment (IDE) is developed, the support for multiple views of the same document is often essential. An example of this is Modelica models, as it should be possible to view and edit the same model in both its textual and graphical representation.

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.

Disputation

Nyckelord

  • Technology and Engineering
  • AST
  • JModelica.org
  • Eclipse GEF Graphical Editing Icon Rendering Preserved File Formatting Pretty Printing

Övriga

9th International Modelica Conference
2012-09-03
Munich, Germany
Inpress
  • LCCC
Yes
  • LCCC

Box 117, 221 00 LUND
Telefon 046-222 00 00 (växel)
Telefax 046-222 47 20
lu [at] lu [dot] se

Fakturaadress: Box 188, 221 00 LUND
Organisationsnummer: 202100-3211
Om webbplatsen