Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Edge Creation Tool Problem
Edge Creation Tool Problem [message #1754659] Tue, 21 February 2017 11:26 Go to next message
Francesco Gallo is currently offline Francesco GalloFriend
Messages: 9
Registered: December 2015
Junior Member
Hello,

I am developing a editor for my metamodel....Please File gidlMModel.png...

I have created an Element Based Edge for the hasDataTypeGallo, they work when I define them within the example model. But the palette to create a hasDataTypeGallo does not work.

I included my .odesign file plus properties of my edge creation tool.

Thanks in advance

[Updated on: Tue, 21 February 2017 11:29]

Report message to a moderator

Re: Edge Creation Tool Problem [message #1754677 is a reply to message #1754659] Tue, 21 February 2017 13:44 Go to previous messageGo to next message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Hi Francesco,

From its name, I understand that "hasDataTypeGallo" might return a boolean, but Sirius expects that your return the target semantic element of the edge.

Then you use a CreateEdgeView model operation, but if your modeler will be used in auto-refresh and if the edge mapping is synchronized, you just need to modify your semantic model with the modification your tool has to do and then Sirius will automatically update the diagram from your semantic changes (from your mappings definitions).

Regards

Re: Edge Creation Tool Problem [message #1754678 is a reply to message #1754677] Tue, 21 February 2017 13:58 Go to previous message
Francesco Gallo is currently offline Francesco GalloFriend
Messages: 9
Registered: December 2015
Junior Member
Hi Maxime,
thank you for your answer...but it is not clear for me....sorry... Sad

hasTypeDataGallo is a reference...I thing...Please see Figure 1...

I would like the result as in Figure 2...

BR
  • Attachment: Figure1.png
    (Size: 113.09KB, Downloaded 93 times)
  • Attachment: Figure2.png
    (Size: 112.75KB, Downloaded 116 times)

[Updated on: Tue, 21 February 2017 13:59]

Report message to a moderator

Previous Topic:Get the representations.aird file path
Next Topic:Sirius vs Graphiti
Goto Forum:
  


Current Time: Fri Mar 29 11:03:10 GMT 2024

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

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

Back to the top