Convert 0.8 To 0.10

1. Introduction

This document aims to help Topcased users that were using the configuration mechanism to generate graphical editors with the 0.8.0 release. The configuration of an editor now consists in describing several configuration files :


2. Convert the old configurator file

An action is available and allow to convert your old configurator file to necessary files for the new configuration and generation process. Select the old configurator file Right Click > Topcased > Generation > Export to new Configurator files. This will generate a set of new files at the same location of the old configurator file.
exportAction
Remarks :


3. Generate the new graphical editor

3.1 Generate the new Editor plugin

The editor configurator file is quite simple. It contains only one model object, an EditorConfiguration with a few properties :


3.2 Generate the new Diagram plugin(s)

The diagram configurator file is more complete. Indeed, it is used to configure all graphical objects used in the diagram, the associated model objects and the Palette of the diagram. The main differences with the old configuration are the properties of the root object of the model, the DiagramConfiguration :


For each generated diagram, we generate also a file called diagram.graphconf : this file contains all graphical properties and the graphical behavior of the elements that are represented in this diagram.

4. Customize the generated files

Here is an overview of all the significant API modifications that may caused some problems in your generated code in the case when you have customized it.


By Jacques LESCOT, Anyware Technologies May, 15 2006