| @namespace(uri="http://www.eclipse.org/gmf-tooling/bug403577", prefix="lesscode") |
| package lesscode; |
| |
| class RootContainer { |
| val Subject[*] rootSubjects; |
| val OneContainmentGroup[*] oneContainmentGroups; |
| val MultiContainmentGroup[*] multiContainmentGroups; |
| val ElementBasedLink[*] elementBasedLinks; |
| } |
| |
| class ElementBasedLink extends WithSomeAttributes {
|
| ref Subject linkSource; |
| ref Subject linkTarget; |
| } |
| |
| abstract class WithSomeAttributes {
|
| attr String name; |
| attr String value; |
| } |
| |
| class Subject extends WithSomeAttributes { |
| val Subject[*] recursiveContainment; |
| ref Subject[*] referenceBasedLinkTarget; |
| } |
| |
| class OneContainmentGroup extends WithSomeAttributes {
|
| val Subject[*] subjects; |
| } |
| |
| class MultiContainmentGroup extends WithSomeAttributes {
|
| val Subject[*] subjectsTypeA; |
| val Subject[*] subjectsTypeB;
|
| } |
| |