Download Modelica Development Tooling for Eclipse
Transcript
Contents 1 Introduction 1.1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Thesis Contributions . . . . . . . . . . . . . . . . . . . . . . . 1.3 Thesis Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1 2 2 2 Background 2.1 Software Development Environments . . 2.1.1 Language-centered Environments 2.1.2 Structure-oriented Environments 2.1.3 Toolkit Environments . . . . . . . 2.1.4 Method-based Environments . . . 2.2 Modelica . . . . . . . . . . . . . . . . . . 2.3 Eclipse . . . . . . . . . . . . . . . . . . . 2.3.1 Eclipse History . . . . . . . . . . 2.3.2 Eclipse Platform Architecture . . 2.4 OpenModelica Compiler . . . . . . . . . . . . . . . . . . . 3 3 3 4 4 5 5 6 6 7 9 . . . . . . . . . . . . . . . . . 10 10 10 10 11 11 11 11 11 11 12 12 12 13 13 14 14 15 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Overview 3.1 Modelica Development Users Guide . . . . . . . 3.1.1 Features . . . . . . . . . . . . . . . . . . 3.1.2 Known Issues . . . . . . . . . . . . . . . 3.1.3 Requirements . . . . . . . . . . . . . . . 3.2 Getting Started . . . . . . . . . . . . . . . . . . 3.2.1 Configuring the OpenModelica Compiler 3.2.2 Accessing the Modelica Perspective . . . 3.2.3 The Modelica Wizards . . . . . . . . . . 3.2.4 Making a Project . . . . . . . . . . . . . 3.2.5 Importing a Project . . . . . . . . . . . 3.2.6 Creating a Package . . . . . . . . . . . . 3.2.7 Creating a Class . . . . . . . . . . . . . 3.2.8 Syntax Checking . . . . . . . . . . . . . 3.2.9 Code Completion . . . . . . . . . . . . . 3.3 Information Popups . . . . . . . . . . . . . . . . 3.4 Building Modelica Projects . . . . . . . . . . . . 3.4.1 Creating a Builder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Architecture 19 4.1 org.modelica.mdt.core . . . . . . . . . . . . . . . . . . . . . . 19 4.1.1 Modelica Elements Access Layer . . . . . . . . . . . . . 20 iv