[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.technology.gmf] Re: show non containment features in a compartment

I think the method getSemanticChildrenList is alright because the ActivityPartition already knows that it have a child of type ActivityNode, the problem is that the action to create a new node inside the partition is disabled (see attached figure the icon in gray) What method should i change to enable this action?
 
Thank you for your reply,
 
Anabela 

Hi;
        I'm not sure how you can do that from CodeGen side, but from the SDK side if your elements are canonical then all what you need to do is to implement the getSemanticChildrenList on your canonical compartment edit policy  to return the None containment feature contents you are interested in. Then the views will be created for them and these view will be contained by the compartment regardless of the fact that the semantic element feature is containment or not

Attachment: partition.bmp
Description: Windows bitmap