Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] A question regarding rule creation

To create new nodes you have also to create the corresponding containment relations, for example A <>--> B. Maybe that's the problem. Otherwise try to model your transformation in the tree-based editor and generate the diagram out of it.



On 31.10.2012 15:24, Zille Huma wrote:
Hi Thorsten,

you can find the rule attached. Here, i also wanted to create an association between objects 'b' and 'd' but henshin doesnt allow me to do that. it changes the type of one of these objects to 'preserved' when this association is created.

regards,

On 10/31/2012 3:15 PM, Thorsten Arendt wrote:
Would you please attach the corresponding rule (screenshot)?





On 31.10.2012 15:12, Zille Huma wrote:
Hi all,

I have a small question regarding rule creation in Henshin. why isnt it possible to create a new association between two newly created objects. Actually, i tried to define a rule, where two new objects typed over  underlying .ecore are 'created' and the same rule also 'creates' a new association between these newly created objects. however, it doesnt seem to be possible with Henshin. It is only allowing me to define a new association in case where one of the two objects is 'preserved'. why is it so?

best,
Zille

_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev


--
Dipl. Inf. Thorsten Arendt
Philipps-Universität Marburg
Fachbereich Mathematik und Informatik
Hans-Meerwein-Str.
D-35032 Marburg
Office: 05D03
Phone : +49-6421-2821540
Email : arendt@xxxxxxxxxxxxxxxxxxxxxxxxx
--


_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev


-- 
Zille Huma
Database and Information Systems
Institute of Computer Science
University of Paderborn
Zukunftsmeile 1
33102 Paderborn, Germany

Tel : +49(0)5251/60-3355
Fax : +49(0)5251/60-3431

Email: zille.huma@xxxxxx


_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev


--
Dipl. Inf. Thorsten Arendt
Philipps-Universität Marburg
Fachbereich Mathematik und Informatik
Hans-Meerwein-Str.
D-35032 Marburg
Office: 05D03
Phone : +49-6421-2821540
Email : arendt@xxxxxxxxxxxxxxxxxxxxxxxxx
--

Back to the top