How to process IFML Model (build with Eclipse editor) with ATL

01 May '17, 07:14 PM
29,183 Views
No Forum Badges

Hello,

I try build a model to model transformation from IFML model to HTML model.
I'd like to use ATL from Eclipse to achieve that.
My problem is that ATL uses Ecore or MOF-based model as inputs. The output is a XMI file.
I'd like to use the open source IFML graphical Editor based on Eclipse/Sirius to build my IFML model.
I have designed a very simple diagram (A window that contains a list). The result is :

<?xml version="1.0" encoding="ASCII"?>
<core:IFMLModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:core="http://www.omg.org/spec/20130218/core" xmlns:ext="http://www.omg.org/spec/20130218/ext" id="_QUt2cC5SEeeYytmEL6-6sA">
<interactionFlowModel id="_VhtfwC5SEeeYytmEL6-6sA">

<interactionFlowModelElements xsi:type="ext:IFMLWindow" id="_VhtfwS5SEeeYytmEL6-6sA" name="Window">
<viewElements xsi:type="ext:List" id="_VxfoMC5SEeeYytmEL6-6sA" name="List"/>
</interactionFlowModelElements>

</interactionFlowModel>
<domainModel id="_QUt2cS5SEeeYytmEL6-6sA"/>
</core:IFMLModel>

 

This is the source of the model.core file that contains the diagram.
It is a XML document that doesn't use the XMI format.
Let's consider this element : "interactionFlowModelElements". It is not part of the IFML metamodel (due to the 's' at the end of the word)

I'd like to have something like that (that is understandable for ATL):


<IFMLWindow>

<List />

</IFMLWindow>

 

Is there a way to produce a XMI or EMF compliant file from an IFML diagram designed with the Eclipse editor ?

Thank you !

 
x 0
Follow
Answer Answer at this question and get points!
No answers yet
Answer at this question and get points!

Related questions

404 on generated app page Acceder a diferentes site views/ Acces to diferents site views Add to Bag link in ACME any webratio book ? Asking For a Book Attribute comparison in a selector unit Call a module package inside other model Package Can't run any aplication Clarification about the NoOperation unit Codigo QR Como hacer un menu en webratio? Conditional Expression "greater than 0" on null fields Connect more query unit Content module page variable won't assign. convert from MODELXML.xml to .cs file coupled mandatory fields Create entry in relationship table Create Unit with Date (Year only) Custom Attributes Condition Custom Plug-in Database Database List is not showing up in App Emulator Data is always created doubled Data Management: Updating Data - Attachments - Updating Data Sample Project Final Dependencies installation error Description: Unknown tag 'wr:LinkResource' Disable diagram antialiasing on Mac? Dudas sobre modelado(Data Flow,Forms y Operation Create) Empty record mistakenly saved en_US codify problem Export XML external link.= Filter information in a Simple List Format currency forward/backward navigation and bookmark in ajax web app "Generation Error" with Generate and Run Generation options problem get the attachment files of an email Get Unit problem Get Year from Date Help for connect public and private site views How can i create pagemenu or landmarkmenu with multiple levels. How does WebRatio represent these IFML elements? / ¿Cómo representa WebRatio estos elementos IFML? How i can reuse modules in multiple projects? How to define a shortcut key for a toolbar icon How to define the sequence of execution units on a page? How to display the attributes of a related entity. How to filter imported attributes? How to include Selector Unit result in Mail Unit Body? How to pass vars to a alternative page How to show a page based on a boolean? How to speed up the "last" link using PowerIndexUnit for lots of records How to store data related to an entity in relationships in a project web How to use a navigation flow after a data flow? I can't install Webratio on my Desktop (Ubuntu 13.04 x64) Insert data into database Insert master page to many hybrid modules Integrating a BPM model into an existent WebML model JSON I/O Unit e informazioni derivate KO Links in Selector Unit Landmark in hybrid module Link localization Links from Index unit with condition Link Visibility Condition Power Index Unit Mail multipla maintain the record order in a sortable list Math Unit to update attributes of an entity? [MOBILE] How I extract information from JSON client side? Modifica Entità tramite file xml Multi Entry Unit: How to forward only checked rows? multi-lingual product description Non riesco a fare funzionare Xml out unit Parametrizzazione Selector Unit Problem Example create Unit (no company in employee table) Problem in adding diagrams in IFML Editor (Eclipse) problem in eclipse IFML Editor Problem with application runnung Problem with query unit! Problem with Scroller Unit query a database Question about Site Views Rename passing attributes Replace ID by its value in another table Search by Selector component does not work Select between parameters Selector unit doesn't return any value in hybrid module Sending mails is not working Sending mails with gmail is not working Setting the Default link for a Switch unit show/hide fields on button click (registration page) [solved] all links transparent, why ? Something leads to wrong condition expression evaluation. sumar atributos de una tabla filtrado por Role Condition Sum entity's values Tomcat buttons Transportation Link issue Unable to install eclipse plugin Unique Fields using relationship role conditional with null usuarios y grupos utilizzo componenti database Visibility Condition on Multiple Links From Index Unit WAR Generation Error WebRation - Create Navigation diagram WebRatio y Java 1.8 (o superior) Where is the IFML markup?