.:The Babylon's Project:.

.: Home | Framework Customization Model | Babylon Tool | Glossary | Download | References | Team:.
 .:Universities:.
University of Nice
University of Montreal


 .:Sponsor:.
Eclipse project

.:Download:.

Installation Guide

To install, use the Eclipse install update mechanism:
  • Go to "Help > Software Updates > Find and Install"
  • Click on "Search for new features to install"
  • Add a site refering to the following URL: http://www.essi.fr/~blay/RECHERCHE/babyloneWebsite/download/updateSite
  • Follow the wizard
You also need to get the library of consistency rules: unzip ConsistencyRules.zip in a folder.

How to

Running a simple test:
  • Open the babylon perspective
  • In the "Consistency Model" view, create a new Consistency Model
  • Type in a name (for example "CM")
  • Add a Concept Descriptor (right click on the newly created consistency model and use the "add concept descriptor" menu) representing a Class called "C1"
  • Add a second Concept Descriptor representing a Class called "C2"
  • Double click on the first concept descriptor, in the "consistency rule details" area, add a new consistency rule (navigate to find the file named creation_2_elements.xml (it is contained in the consistency rules library)).
  • Select the newly added consistency rule; select the first concept descriptor in the "concept descriptors" list, click "add" and select "C1". Repeat the operation for the second concept descriptor and associate with "C2". Type in "Toto" in the third line called "suffix"
  • Save
At this point you created a consistency model, which automaticaly creates a class on the creation of a class. Creating Bar will create BarToto.
To take advantage of this consistency model, it needs to be associated with a java project.
  • Create a Java Project
  • Right click on it, select "Properties" then select "Babylon", in the right part, click "Add" and select the recently created consistency model "CM". Then click OK
  • The assistance is provided by the Babylon Follow-up View ("Window > Show view > Others > Babylon > Babylon Follow-Up").
  • Now if you create a class "Bar", you'll see the assistance in follow-up.
  • In our example, associate the newly created class with "C1" (right click on "Associate" in the follow-up view) and notice the new problem in the problem view: the creation of a class called "BarToto"
  • To solve the problem, right click on it and select "Quick Fix".
  • If you rename the "Bar" class using right click "jBabylon > rename", the class "BarToto" will be automatically renamed. If you delete the "Bar" class, the deletion of the "BarToto" is proposed in the problem list. To delete it right click on it and select "Quick Fix".
.:Copyright & Designed © 2003 by www.oswd.org:.