|Re: Parent and Child Node [message #1612900 is a reply to message #1609739]
||Thu, 12 February 2015 09:16
|| Florian Barbin
Registered: August 2010
> im new with Sirius. I want to create a new graphical Editor for my
> current Model project. There are 2 Class TrackSectionControl and
> CrossingControl. Class CrossingControl extends SuperClass
So, to avoid confusions, did you create a model based on ecore with two
EClass "CrossingControl" and "TrackSectionControl" ? Or those classes
are from your meta-model defined with Ecore ?
> Now problem appear when i want to present a Node
> CrossingControl. It displays 2 times 1 Node with TrackSectionControl
> View and 1 Node with CrossingControl View. However i want to display
> only Node with CrossingControl View. Is there anyway to hide Node with
> TrackSectionControl View? One more question i want to display EOperation
> of my EClass. Is there any solution?
If you defined a specification model based on Ecore, with two EClass
TrackSectionControl and CrossingControl, you can use a precondition
expression on the EClass name to restrict the created view only for
"CrossingControl". But if TrackSectionControl and CrossingControl are
types from your meta-model, you have to restrict the Domain class on
If you want more informations about how define sub-nodes (to display
EOperations for instance) I suggest you to take a look on the specifier
> im so sorry about my language, because english is not my mother language
> and i dont used to use it usually. That is great to have an answer from
> you. Thanks a lot and have a good day.
> Minh Hiep Pham
Florian - Obeo
Need professional services for Sirius?
Powered by FUDForum
. Page generated in 0.02542 seconds