Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "MoDisco/SimpleTransformationChain"

m (Contextual menu)
m (Launch configuration)
Line 19: Line 19:
 
The SimpleTransformationsChain plugin is conform to Discoverer extension point, so in launch configurations, you are able to create a discoverer launcher dedicated to a project.
 
The SimpleTransformationsChain plugin is conform to Discoverer extension point, so in launch configurations, you are able to create a discoverer launcher dedicated to a project.
  
[[Image:SimpleTransformationsChainDiscoverer.jpg|center|Launch configuration of SimpleTransformationsChain discoverer for PetStore application]]
+
[[Image:MoDisco_SimpleTransformationsChainDiscoverer.jpg|center|Launch configuration of SimpleTransformationsChain discoverer for PetStore application]]
  
 
==Java API==
 
==Java API==

Revision as of 13:27, 30 July 2009

The goal of SimpleTransformationsChain plugin aims at gathering the infrastructure and technologies plugins and at providing orchestration of these plugins. These additional facilities reuse the features offered by the other plugins in order to allow performing more elaborate operations such as directly generating a UML model from a Java project.

Description

After discovery of your application, you will obtain a UML model. This model could be imported in some usual modelers like Papyrus or UML2 Tools from Modeling project.

Contextual menu

The SimpleTransformationsChain plugin offers simple Eclipse contextual actions to dynamically launch the additionally provided features.

You can launch the “Discover UML model from Java project” action from a Java project by right-clicking on the corresponding Java project (into your workspace) and then selecting the appropriate action in the provided contextual menu.

Contextual menu populated whit MoDisco entries

Launch configuration

The SimpleTransformationsChain plugin is conform to Discoverer extension point, so in launch configurations, you are able to create a discoverer launcher dedicated to a project.

Launch configuration of SimpleTransformationsChain discoverer for PetStore application

Java API

To use programmatically the SimpleTransformationsChain plugin, you will have to instantiate the class ModelplexKnowledgeDiscoveryFramework and use one of its methods.

Requirements

Eclipse Galileo with modeling plugins:

  • EMF
  • EMF UML2
  • UML2 Tools
  • ATL 3.0.0

A complete bundle of Modeling components could be found at this url : http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/R/eclipse-modeling-galileo-incubation-win32.zip

Warning : after installation, you will have to change your eclipse settings (file eclipse.ini) to increase memory size allowed to 1Go at least, parameter « -Xmx1024m ».

Example :

-startup
plugins/org.eclipse.equinox.launcher_1.0.200.v20090520.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-product
org.eclipse.epp.package.modeling.product
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx1024m
-XX:ThreadStackSize=4096

Team

Gabriel Barbier (Mia-Software)

Install

To install this plugin, you will have to retrieve it and its dependencies from MoDisco SVN. All following bundles are available in folder "plugins/trunk":

  • org.eclipse.gmt.modisco.modelplex
  • org.eclipse.gmt.modisco.kdm.uml2converter
  • org.eclipse.gmt.modisco.j2se5
  • org.eclipse.gmt.modisco.j2se5.discoverer
  • org.eclipse.gmt.modisco.kdm
  • org.eclipse.gmt.modisco.common.core

User manual

Current limitations

Copyright © Eclipse Foundation, Inc. All Rights Reserved.