Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » i have problem
i have problem [message #1758542] Wed, 29 March 2017 20:39 Go to next message
nihad rahabi is currently offline nihad rahabiFriend
Messages: 13
Registered: March 2017
Junior Member
lock at this méta model an give me edge link of arc
please help me
  • Attachment: Capture1.PNG
    (Size: 23.54KB, Downloaded 121 times)

[Updated on: Tue, 04 April 2017 06:13]

Report message to a moderator

Re: i haveprobléme [message #1758837 is a reply to message #1758542] Mon, 03 April 2017 15:29 Go to previous messageGo to next message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 182
Registered: October 2014
Senior Member
With a question, it would be better, would not it?

Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: i haveprobléme [message #1758867 is a reply to message #1758837] Mon, 03 April 2017 23:32 Go to previous messageGo to next message
Anna Annaa is currently offline Anna AnnaaFriend
Messages: 12
Registered: February 2017
Junior Member
Hi Nihad,
your question is not clear
you ca can ask it in French Smile
Re: i haveprobléme [message #1758876 is a reply to message #1758867] Tue, 04 April 2017 06:12 Go to previous messageGo to next message
nihad rahabi is currently offline nihad rahabiFriend
Messages: 13
Registered: March 2017
Junior Member
bonjour
j'ai un problème avec le projet sirius,
j'ai essayé de modèliser la EClass (Arc) avec un (Element based Edge ) mais le problème est:
l'arc apparu dans la palette, mais quand je peux de dessiner il n'apparu pas !
voici la photo qui montre mon problème .
  • Attachment: sirius.PNG
    (Size: 43.10KB, Downloaded 85 times)
Re: i haveprobléme [message #1759210 is a reply to message #1758876] Sat, 08 April 2017 02:05 Go to previous messageGo to next message
Anna Annaa is currently offline Anna AnnaaFriend
Messages: 12
Registered: February 2017
Junior Member
essaye de suivre ces étapes
http://alain-bernard.developpez.com/tutoriels/eclipse/sirius-intro/#LIII
(section V-A-2. Création des connecteurs)

  • Attachment: exmaple.PNG
    (Size: 153.54KB, Downloaded 78 times)
Re: i haveprobléme [message #1759248 is a reply to message #1759210] Sat, 08 April 2017 15:49 Go to previous messageGo to next message
nihad rahabi is currently offline nihad rahabiFriend
Messages: 13
Registered: March 2017
Junior Member
Merci de m'aider
mais sa marche pas, parce-que j'ai un Class (Arc), et je peut de modéliser cette Classe.
Re: i haveprobléme [message #1759305 is a reply to message #1759248] Mon, 10 April 2017 12:35 Go to previous messageGo to next message
Steve Monnier is currently offline Steve MonnierFriend
Messages: 572
Registered: May 2011
Senior Member
Hello,

We do speak French, but threads on Eclipse forums can be interesting for everyone and therefore are in English.


In your metamodel on Arc, you have the attribute source and target that are typed EString...therefore it cannot reference your source and target nodes but you are using it in your Edge Creation Tool. In this tool, you should be using the EReference to and from that you have between metaclasses Node and Arc.

I think you should first create a model with the default editor and you will see more easily which fields you should use, and which ones are unrequired (useless?) like source and target. Then, you will be able to check if your Edge mapping is properly set, because I'm not sure that it is. After that, you can fix the Edge creation tool as I presented.

Also, I think that you are adding some complexity to your metamodel. Instead of having "Standard" containing "Arc" with the containing reference "conainerArc" (you have a typo here), you could have a containing reference from "Node" to "Arc" that would replace the source reference, and then add a second reference (non-containement this time) from "Node" to "Arc" for the target reference. It will make your Edge Creation Tool easier to set.

Regards,
Steve


Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: i haveprobléme [message #1759471 is a reply to message #1759305] Wed, 12 April 2017 03:40 Go to previous message
Anna Annaa is currently offline Anna AnnaaFriend
Messages: 12
Registered: February 2017
Junior Member
I think also that you have to change your metamdel
or at least, use the references in ou rather than target and source parameters

*********************************
here is my previous comment

I think also that you have some problems on your metamodel
(the thing is that I can't see why are you using source target in addition to the two references in and out)
I invite you to take a look at page 10 of this article
https://hal-univ-tlse3.archives-ouvertes.fr/hal-00371553/document
Previous Topic:[Properties View] Opening other tab programmatically
Next Topic:Validation troubles
Goto Forum:
  


Current Time: Sat Apr 27 00:56:48 GMT 2024

Powered by FUDForum. Page generated in 0.03915 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top