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
index.php/fa/35493/0/Hi,

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 AvailabilityAssessment.data {
	Class HW_Sensitivity {
	 	extends cs.Part
	 	Attributes:
	 		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 {
	 	Attributes:
	 		Usage_Percentage type ecore.EFloat	 	
	 	Associations:
	 		SW_Component refers [1,1] external cs.Part
	 		HW_Component refers [1,1] external cs.Part	
	 }
	 
	 Class SW_Dependencies {
	 	extends cs.Part
	 	Attributes:
	 		ComputeAvailability type ecore.EBoolean
	 	Associations:
	 		SW_Dependency contains [0,*] SW_Component_Dependency
	 }
}


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

index.php/fa/35493/0/

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:

index.php/fa/35494/0/
index.php/fa/35495/0/
index.php/fa/35496/0/
index.php/fa/35497/0/
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: 703
Registered: July 2009
Senior Member
Hi,

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

Regards,
Pierre-Charles


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:SWTBot for sirius properties
Next Topic:Preview Style tooltip
Goto Forum:
  


Current Time: Thu Apr 25 04:10:44 GMT 2024

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

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

Back to the top