Community
Participate
Working Groups
<h3>Tutorials</h3>
<li><a href="documentation/setup.php">How to set up the EMF Client Platform</a></li>
<li><a href="documentation/core-feature-demo.php">Demonstration of the core features</a></li>
<li><a href="documentation/core-feature-demo.php">How to use the core features</a></li>
<li><a href="documentation/registermodel.php">How to register a model to be used in the application</a></li>
<li><a href="documentation/registermodel.php">How to register a model to the EMF Client Platform</a></li>
<li><a href="documentation/replace-editor.php">How to replace the editor which is opened on double click with a custom view</a></li>
<li><a href="documentation/arrange-attributes.php">Change the order of attributes which are shown in the editor</a></li>
<li><a href="documentation/arrange-attributes.php">How to change the order of attributes which are shown in the editor</a></li>
<li><a href="documentation/how_to_extend_ecp_editor.php">How to extend the editor of ECP by replacing control displays</a></li>
<li><a href="documentation/customize-navigator.php">Customize the navigator</a></li>
<li><a href="documentation/customize-navigator.php">How to customize the Navigator view</a></li>
<li><a href="documentation/validation.php">How to add custom validation rules</a></li>
<div id="midcolumn">
<h2>How to arrange attributes in the EMF Client Platform (EMFCP)</h2>
<h2>How to change the order of attributes which are shown in the editor</h2>
<p>If you have setup your Eclipse developer environment as outlined in the previous tutorials, you have learned how to run a EMFCP instance and add model elements to a project.</p>
<p>The following steps will explain how to arrange the attributes in the EMFCP editor.</p>
<h2>Demonstration of the core features of ECP</h2>
<h2>How to use the core features</h2>
<p>In the previous tutorial, you would have learned how to setup the Eclipse development environment for ECP. We also learnt how to import a project into the workspace using the Library tutorial and learnt how to run the ECP project. </p>
<p>In this tutorial we will learn about the various components of the EMFCP.</p>
<h2>How to customize the Navigator view (EMFCP)</h2>
<h2>How to customize the Navigator view</h2>
<p>If you have setup your Eclipse developer environment as outlined in the previous tutorials, you have learned how to run and use a EMFCP instance and edit the Editor.</p>
<p>The following steps will explain how to customize the Navigator View in EMFCP. You can either change the opener that is used after double-clicking an element in the EMFCP or change the behaviour of the drag-and-drop functionality.</p>
<h2>How to extend the editor of ECP by replacing control displays?</h2>
<h2>How to extend the editor of ECP by replacing control displays</h2>
<p>This tutorial will explain how to extend the editor by replacing controls to display certain attributes.
The following screenshot displays the "Library" model loading a book.<br>
The task will be to replace the attribute displaying the book's title, and not any of the other attributes.</p>
<h2>How to replace the editor of the EMF Client Platform</h2>
<h2>How to replace the editor which is opened on double click with a custom view</h2>
<b>Step 1: Check default editor behaviour</b>
<p>
<h2>Installing the EMF Client Platform</h2>
<h2>How to set up the EMF Client Platform</h2>
Follow the steps below to install the EMF Client Platform.
</p>
<h2>EMF Built In Validation</h2>
<h2>How to add custom validation rules</h2>
<p>With the built in validation in emf it is possible to model the constraints of your model in the ecore file. While generating model code, validation code is also generated. The only aspects you have to adapt in the code are determining the condition when the validation shall fail, update attribute string, defining a meaningful message which explains the reason for the failing and insert the graphical object in the returning object so that also the live validation can be triggered on this attribute.</p>
<p>Step by Step description:</p><p>In the following step by step description the bowling model is used as an example.</p>
<p>1. Validation constraints are modelled by EOperations. In order that the validation code is generated automatically the signature of the EOperation is important. For instance, if we want each player (in the bowling model) to have a name we define following EOperation:</p>
*
*******************************************************************************/
$pageTitle = "EMFClient Platform - arrange attributes in the editor";
$pageTitle = "EMFClient Platform - How to change the order of attributes which are shown in the editor";
$html = $html = file_get_contents('_arrange-attributes.html');
# Generate the web page
$pageTitle = "EMF Client Platform - Core Features";
$pageTitle = "EMF Client Platform - How to use the core features";
$html = $html = file_get_contents('_core-feature-demo.html');
$pageTitle = "EMFClient Platform - Customize the navigator";
$pageTitle = "EMFClient Platform - How to customize the Navigator view";
$html = $html = file_get_contents('_customize-navigator.html');
$pageTitle = "EMF Client Platform - Register a model";
$pageTitle = "EMF Client Platform - How to register a model to the EMF Client Platform";
$html = $html = $html = file_get_contents('_registerModel.html');
$pageTitle = "EMF Client Platform - How to replace the editor";
$pageTitle = "EMF Client Platform - How to replace the editor which is opened on double click with a custom view";
$html = $html = file_get_contents('_replace-editor.html');
$pageTitle = "EMF Client Platform - Getting started";
$pageTitle = "EMF Client Platform - How to set up the EMF Client Platform";
$html = $html =file_get_contents('_setup.html');
$pageTitle = "EMFStore - Getting involved";
$pageTitle = "EMFStore - How to add custom validation rules";
$html = $html = file_get_contents('_validation.html');