[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] ocl constraint for allowing links only for elements in same container

Hello All,

is it possible to use a ocl constraint in .gmfmap to allow connections only for elements that share the same container and not if the elements to be connected are in different containers? Means if element A and B are in container C let em connect. If element A is in container C1 and B is in C2 then do not allow a connection. Can anyone please tell me how this constraint has to look like?

Michael