| <html> |
| <head> |
| <title>Setting up Eclipse</title> |
| <link href="book.css" rel="stylesheet" type="text/css"/> |
| <meta content="DocBook XSL Stylesheets V1.75.1" name="generator"/> |
| <link rel="home" href="index.html" title="Xpand Documentation"/> |
| <link rel="up" href="uml_adapter.html" title="UML2 Adapter"/> |
| <link rel="prev" href="uml_adapter_installation.html" title="Installation"/> |
| <link rel="next" href="uml_adapter_runtime_configuration.html" title="Runtime Configuration"/> |
| </head> |
| <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
| <h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">Setting up Eclipse</h1> |
| <div class="section" title="Setting up Eclipse"> |
| <div class="titlepage"> |
| <div> |
| <div> |
| <h2 class="title" style="clear: both"> |
| <a name="uml_adapter_eclipse_setup"/>Setting up Eclipse</h2> |
| </div> |
| </div> |
| </div> |
| <p>You need to configure your project (or the whole workspace) to use |
| the UML2Adapter.</p> |
| <p>Right-click on the project and choose |
| '<span class="emphasis"> |
| <em>properties</em> |
| </span>' from the pop-up menu. Therein open the |
| '<span class="emphasis"> |
| <em>Xtend/Xpand</em> |
| </span>' tab, activate the checkboxes |
| <span class="emphasis"> |
| <em>Enable project specific settings</em> |
| </span> and add the |
| <span class="emphasis"> |
| <em>UML2 profiles</em> |
| </span> metamodel contributor. Use the |
| <span class="emphasis"> |
| <em>Up</em> |
| </span>-button to push the UML2 profiles contributor to |
| the first position.</p> |
| <div class="section" title="Profiles in Eclipse"> |
| <div class="titlepage"> |
| <div> |
| <div> |
| <h3 class="title"> |
| <a name="uml_adapter_setup_profiles"/>Profiles in Eclipse</h3> |
| </div> |
| </div> |
| </div> |
| <p>If you want Eclipse to register your specific profile in order to |
| provide static type checking and code completion in the editors, the |
| profiles (*.profile.uml or *.profile.uml2) need to be on the classpath |
| of the project (e.g. are contained in a <code class="filename">src</code> |
| folder)</p> |
| </div> |
| </div> |
| </body> |
| </html> |