Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Problem with the Create Node Tool
Problem with the Create Node Tool [message #1718880] Thu, 31 December 2015 14:31 Go to next message
Francesco Gallo is currently offline Francesco GalloFriend
Messages: 9
Registered: December 2015
Junior Member
Hi,
I have my file .ecore and I would like create a sirius editor for some elements of it. (xml file attached)

I created a palette to add some nodes, but when I try to add a node, it is not appear in diagram.... (png file attached).

Sorry, but I am Sirius newbie Sad.. I looked the tutorial, but the metamodel example is very different from my...

Please, Is There someone that help me?

Regards
Re: Problem with the Create Node Tool [message #1718917 is a reply to message #1718880] Sat, 02 January 2016 11:44 Go to previous messageGo to next message
Francesco Gallo is currently offline Francesco GalloFriend
Messages: 9
Registered: December 2015
Junior Member
...For instance, Can I have some explanation on which is the Browser Expression value in Change Context item or Reference Name and Type Name value in Create Instance item for one simple node, for example: EndEvent o StartEvent in Tool Section, for palette creation ?

regards
Re: Problem with the Create Node Tool [message #1719000 is a reply to message #1718880] Mon, 04 January 2016 11:09 Go to previous message
Laurent Fasani is currently offline Laurent FasaniFriend
Messages: 182
Registered: October 2014
Senior Member
Le 31/12/2015 17:26, Francesco Gallo a écrit :
> Hi,
Hello
> I have my file .ecore and I would like create a sirius editor for some elements of it. (xml file attached)
>
> I created a palette to add some nodes, but when I try to add a node, it is not appear in diagram.... (png file attached).
First of all, make sure that you 've defined a correct mapping so that
you semantic object can be displayed in your diagram. See "Add a Node to
the Layer" in the starter tutorial [1].
You can add a new semantic object, opening your semantic/business model
in the EMF reflexive editor.

Then, the paragraph "Define the actions performed by the Create Node
tool"[1] should provides all your need to help you create your create tool.

Refer also to the sirius documentation [2] [3] to know more about
CreateInstance and ChangeContext Operation

>
> Sorry, but I am Sirius newbie :(.. I looked the tutorial, but the metamodel example is very different from my...
>
> Please, Is There someone that help me?
>
> Regards
>

[1] https://wiki.eclipse.org/Sirius/Tutorials/StarterTutorial
[2]
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.sirius.doc%2Fdoc%2Fspecifier%2Fgeneral%2FModel_Operations.html&cp=69_2_5_0&anchor=create_instance
[3]
http://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.sirius.doc%2Fdoc%2Fspecifier%2Fgeneral%2FModel_Operations.html&cp=69_2_5_0&anchor=flow

Regards
Laurent


Laurent Fasani - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Questions about diagram elements arrangements and custom appearance
Next Topic:AQL query problems
Goto Forum:
  


Current Time: Fri Apr 26 06:41:56 GMT 2024

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

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

Back to the top