Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Edge creation tool and display issue
Edge creation tool and display issue [message #1806240] Mon, 06 May 2019 17:09 Go to next message
Paul Bouche is currently offline Paul BoucheFriend
Messages: 1
Registered: May 2019
Junior Member

I am using Sirius odesign files to display elements of a Capella extension viewpoints.

I am trying to create a new element called SW_Dependency which will be represented as an arrow between 2 Capella elements.

My extension's meta-model is as follows :

Data {
	Class HW_Sensitivity {
	 	extends cs.Part
	 		SEU_Sensitivity type ecore.EFloat
	 		SEU_Detection_Duration type ecore.EInt
	 		SEU_Recovery_Duration type ecore.EInt
	 		MBU_Sensitivity type ecore.EFloat
	 		MBU_Detection_Duration type ecore.EInt
	 		MBU_Recovery_Duration type ecore.EInt  
	 Class SW_Component_Dependency {
	 		Usage_Percentage type ecore.EFloat	 	
	 		SW_Component refers [1,1] external cs.Part
	 		HW_Component refers [1,1] external cs.Part	
	 Class SW_Dependencies {
	 	extends cs.Part
	 		ComputeAvailability type ecore.EBoolean
	 		SW_Dependency contains [0,*] SW_Component_Dependency

The diagram extension composition is as shown in Diagram_Hierarchy.PNG :


The aim here is to create an edge having the properties of a SW_Component_Dependency element connecting a Capella Deployed Behoviour PC to a Node PC (both of which are cs.Part) when clicking in a SW_Dependencies element on one end and on a Node_PC at the other end.

I have defined the following edge in my odesign file and the associated edge creation tool:

Re: Edge creation tool and display issue [message #1806452 is a reply to message #1806240] Thu, 09 May 2019 09:31 Go to previous message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 543
Registered: July 2009
Senior Member

It seems there is a problem with your message, the images are not visible.


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
Previous Topic:SWTBot for sirius properties
Next Topic:Preview Style tooltip
Goto Forum:

Current Time: Sat Sep 19 19:57:08 GMT 2020

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

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

Back to the top