File tree Expand file tree Collapse file tree
commons/tools/plugins/org.obeonetwork.tools.classdiagramgenerator.editor/description
entity/plugins/org.obeonetwork.dsl.entity.design/description
environment/plugins/org.obeonetwork.dsl.environment.design.services/src/org/obeonetwork/dsl/environment/design/services
graal/plugins/org.obeonetwork.graal.design/description
soa/plugins/org.obeonetwork.dsl.soa.design/description Expand file tree Collapse file tree Original file line number Diff line number Diff line change 174174 <color xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='gray']" />
175175 </style >
176176 </subNodeMappings >
177- <subNodeMappings name =" ED_AssociatedAttribute" deletionDescription =" //@ownedViewpoints[name='StructuredTypesDiagramTemplate']/@ownedRepresentations[name='{ClassDiagram.id}']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_PreventDeletion']" semanticCandidatesExpression =" service:getAssociatedTypesAttributes ()" synchronizationLock =" true" domainClass =" environment.Attribute" >
177+ <subNodeMappings name =" ED_AssociatedAttribute" deletionDescription =" //@ownedViewpoints[name='StructuredTypesDiagramTemplate']/@ownedRepresentations[name='{ClassDiagram.id}']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_PreventDeletion']" semanticCandidatesExpression =" service:getAssociatedTypesOwnedAttributes ()" synchronizationLock =" true" domainClass =" environment.Attribute" >
178178 <style xsi : type =" style:SquareDescription" labelExpression =" service:self.getEnvironmentLabel()" labelColor =" //@userColorsPalettes[name='Class%20Diagram']/@entries[name='StructuredType_color']" labelAlignment =" LEFT" >
179179 <borderColor xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='black']" />
180180 <labelFormat >italic</labelFormat >
642642 <color xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='gray']" />
643643 </style >
644644 </subNodeMappings >
645- <subNodeMappings name="ED_ExternalAssociatedAttribute" detailDescriptions="//@ownedViewpoints[name='StructuredTypesDiagramTemplate']/@ownedRepresentations[name='{ClassDiagram.id}']/@additionalLayers[name='{ClassDiagram.ExternalTypesLayer.label}']/@toolSections.1/@ownedTools[name='New%20external%20Entities%20diagram']" navigationDescriptions="//@ownedViewpoints[name='StructuredTypesDiagramTemplate']/@ownedRepresentations[name='{ClassDiagram.id}']/@additionalLayers[name='{ClassDiagram.ExternalTypesLayer.label}']/@toolSections.1/@ownedTools[name='Go%20to%20external%20Entities%20diagram']" deletionDescription="//@ownedViewpoints[name='StructuredTypesDiagramTemplate']/@ownedRepresentations[name='{ClassDiagram.id}']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_Generic']" semanticCandidatesExpression="service:getAssociatedTypesAttributes()" doubleClickDescription="//@ownedViewpoints[name='StructuredTypesDiagramTemplate']/@ownedRepresentations[name='{ClassDiagram.id}']/@additionalLayers[name='{ClassDiagram.ExternalTypesLayer.label}']/@toolSections.1/@ownedTools[name='DBL_Go%20to%20external%20class%20diagram']" synchronizationLock="true" domainClass="environment.Attribute">
645+ <subNodeMappings name="ED_ExternalAssociatedAttribute" detailDescriptions="//@ownedViewpoints[name='StructuredTypesDiagramTemplate']/@ownedRepresentations[name='{ClassDiagram.id}']/@additionalLayers[name='{ClassDiagram.ExternalTypesLayer.label}']/@toolSections.1/@ownedTools[name='New%20external%20Entities%20diagram']" navigationDescriptions="//@ownedViewpoints[name='StructuredTypesDiagramTemplate']/@ownedRepresentations[name='{ClassDiagram.id}']/@additionalLayers[name='{ClassDiagram.ExternalTypesLayer.label}']/@toolSections.1/@ownedTools[name='Go%20to%20external%20Entities%20diagram']" deletionDescription="//@ownedViewpoints[name='StructuredTypesDiagramTemplate']/@ownedRepresentations[name='{ClassDiagram.id}']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_Generic']" semanticCandidatesExpression="service:getAssociatedTypesOwnedAttributes()" doubleClickDescription="//@ownedViewpoints[name='StructuredTypesDiagramTemplate']/@ownedRepresentations[name='{ClassDiagram.id}']/@additionalLayers[name='{ClassDiagram.ExternalTypesLayer.label}']/@toolSections.1/@ownedTools[name='DBL_Go%20to%20external%20class%20diagram']" synchronizationLock="true" domainClass="environment.Attribute">
646646 <style xsi : type =" style:SquareDescription" labelExpression =" service:self.getEnvironmentLabel()" labelColor =" //@userColorsPalettes[name='Class%20Diagram']/@entries[name='ExternalType_color']" labelAlignment =" LEFT" >
647647 <borderColor xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='black']" />
648648 <labelFormat >italic</labelFormat >
Original file line number Diff line number Diff line change 194194 <color xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='gray']" />
195195 </style >
196196 </subNodeMappings >
197- <subNodeMappings name =" ED_AssociatedAttribute" deletionDescription =" //@ownedViewpoints[name='Entity%20Views']/@ownedRepresentations[name='Entities%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_PreventDeletion']" semanticCandidatesExpression =" service:getAssociatedTypesAttributes ()" synchronizationLock =" true" domainClass =" environment.Attribute" >
197+ <subNodeMappings name =" ED_AssociatedAttribute" deletionDescription =" //@ownedViewpoints[name='Entity%20Views']/@ownedRepresentations[name='Entities%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_PreventDeletion']" semanticCandidatesExpression =" service:getAssociatedTypesOwnedAttributes ()" synchronizationLock =" true" domainClass =" environment.Attribute" >
198198 <style xsi : type =" style:SquareDescription" labelExpression =" service:self.getEnvironmentLabel()" labelColor =" //@userColorsPalettes[name='Palette']/@entries[name='StructuredType_color']" labelAlignment =" LEFT" >
199199 <borderColor xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='black']" />
200200 <labelFormat >italic</labelFormat >
662662 <color xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='gray']" />
663663 </style >
664664 </subNodeMappings >
665- <subNodeMappings name="ED_ExternalAssociatedAttribute" detailDescriptions="//@ownedViewpoints[name='Entity%20Views']/@ownedRepresentations[name='Entities%20Diagram']/@additionalLayers[name='External%20Entities']/@toolSections.1/@ownedTools[name='New%20external%20Entities%20diagram']" navigationDescriptions="//@ownedViewpoints[name='Entity%20Views']/@ownedRepresentations[name='Entities%20Diagram']/@additionalLayers[name='External%20Entities']/@toolSections.1/@ownedTools[name='Go%20to%20external%20Entities%20diagram']" deletionDescription="//@ownedViewpoints[name='Entity%20Views']/@ownedRepresentations[name='Entities%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_Generic']" semanticCandidatesExpression="service:getAssociatedTypesAttributes()" doubleClickDescription="//@ownedViewpoints[name='Entity%20Views']/@ownedRepresentations[name='Entities%20Diagram']/@additionalLayers[name='External%20Entities']/@toolSections.1/@ownedTools[name='DBL_Go%20to%20external%20class%20diagram']" synchronizationLock="true" domainClass="environment.Attribute">
665+ <subNodeMappings name="ED_ExternalAssociatedAttribute" detailDescriptions="//@ownedViewpoints[name='Entity%20Views']/@ownedRepresentations[name='Entities%20Diagram']/@additionalLayers[name='External%20Entities']/@toolSections.1/@ownedTools[name='New%20external%20Entities%20diagram']" navigationDescriptions="//@ownedViewpoints[name='Entity%20Views']/@ownedRepresentations[name='Entities%20Diagram']/@additionalLayers[name='External%20Entities']/@toolSections.1/@ownedTools[name='Go%20to%20external%20Entities%20diagram']" deletionDescription="//@ownedViewpoints[name='Entity%20Views']/@ownedRepresentations[name='Entities%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_Generic']" semanticCandidatesExpression="service:getAssociatedTypesOwnedAttributes()" doubleClickDescription="//@ownedViewpoints[name='Entity%20Views']/@ownedRepresentations[name='Entities%20Diagram']/@additionalLayers[name='External%20Entities']/@toolSections.1/@ownedTools[name='DBL_Go%20to%20external%20class%20diagram']" synchronizationLock="true" domainClass="environment.Attribute">
666666 <style xsi : type =" style:SquareDescription" labelExpression =" service:self.getEnvironmentLabel()" labelColor =" //@userColorsPalettes[name='Palette']/@entries[name='ExternalType_color']" labelAlignment =" LEFT" >
667667 <borderColor xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='black']" />
668668 <labelFormat >italic</labelFormat >
Original file line number Diff line number Diff line change @@ -665,11 +665,20 @@ public static String getNamespaceQualifiedName(StructuredType structuredType) {
665665 .collect (joining ("/" ));
666666 }
667667
668+ public static Collection <Attribute > getAssociatedTypesOwnedAttributes (StructuredType type ) {
669+ return type .getAssociatedTypes ()
670+ .stream ()
671+ .map (StructuredType ::getOwnedAttributes )
672+ .flatMap (EList ::stream )
673+ .collect (toList ());
674+ }
675+
668676 public static Collection <Attribute > getAssociatedTypesAttributes (StructuredType type ) {
669677 return type .getAssociatedTypes ()
670678 .stream ()
671679 .map (StructuredType ::getAttributes )
672680 .flatMap (EList ::stream )
673681 .collect (toList ());
674682 }
683+
675684}
Original file line number Diff line number Diff line change 14241424 <color xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='gray']" />
14251425 </style >
14261426 </subNodeMappings >
1427- <subNodeMappings name =" ED_AssociatedAttribute" deletionDescription =" //@ownedViewpoints[name='Graal%20Methodology']/@ownedRepresentations[name='Domain%20Classes%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_PreventDeletion']" semanticCandidatesExpression =" service:getAssociatedTypesAttributes ()" synchronizationLock =" true" domainClass =" environment.Attribute" >
1427+ <subNodeMappings name =" ED_AssociatedAttribute" deletionDescription =" //@ownedViewpoints[name='Graal%20Methodology']/@ownedRepresentations[name='Domain%20Classes%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_PreventDeletion']" semanticCandidatesExpression =" service:getAssociatedTypesOwnedAttributes ()" synchronizationLock =" true" domainClass =" environment.Attribute" >
14281428 <style xsi : type =" style:SquareDescription" labelExpression =" service:self.getEnvironmentLabel()" labelColor =" //@userColorsPalettes[name='Palette']/@entries[name='StructuredType_color']" labelAlignment =" LEFT" >
14291429 <borderColor xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='black']" />
14301430 <labelFormat >italic</labelFormat >
18781878 <color xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='gray']" />
18791879 </style >
18801880 </subNodeMappings >
1881- <subNodeMappings name="ED_ExternalAssociatedAttribute" detailDescriptions="//@ownedViewpoints[name='Graal%20Methodology']/@ownedRepresentations[name='Domain%20Classes%20Diagram']/@additionalLayers[name='External%20Domain%20Classes']/@toolSections.1/@ownedTools[name='New%20external%20Entities%20diagram']" navigationDescriptions="//@ownedViewpoints[name='Graal%20Methodology']/@ownedRepresentations[name='Domain%20Classes%20Diagram']/@additionalLayers[name='External%20Domain%20Classes']/@toolSections.1/@ownedTools[name='Go%20to%20external%20Entities%20diagram']" deletionDescription="//@ownedViewpoints[name='Graal%20Methodology']/@ownedRepresentations[name='Domain%20Classes%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_Generic']" semanticCandidatesExpression="service:getAssociatedTypesAttributes()" doubleClickDescription="//@ownedViewpoints[name='Graal%20Methodology']/@ownedRepresentations[name='Domain%20Classes%20Diagram']/@additionalLayers[name='External%20Domain%20Classes']/@toolSections.1/@ownedTools[name='DBL_Go%20to%20external%20class%20diagram']" synchronizationLock="true" domainClass="environment.Attribute">
1881+ <subNodeMappings name="ED_ExternalAssociatedAttribute" detailDescriptions="//@ownedViewpoints[name='Graal%20Methodology']/@ownedRepresentations[name='Domain%20Classes%20Diagram']/@additionalLayers[name='External%20Domain%20Classes']/@toolSections.1/@ownedTools[name='New%20external%20Entities%20diagram']" navigationDescriptions="//@ownedViewpoints[name='Graal%20Methodology']/@ownedRepresentations[name='Domain%20Classes%20Diagram']/@additionalLayers[name='External%20Domain%20Classes']/@toolSections.1/@ownedTools[name='Go%20to%20external%20Entities%20diagram']" deletionDescription="//@ownedViewpoints[name='Graal%20Methodology']/@ownedRepresentations[name='Domain%20Classes%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_Generic']" semanticCandidatesExpression="service:getAssociatedTypesOwnedAttributes()" doubleClickDescription="//@ownedViewpoints[name='Graal%20Methodology']/@ownedRepresentations[name='Domain%20Classes%20Diagram']/@additionalLayers[name='External%20Domain%20Classes']/@toolSections.1/@ownedTools[name='DBL_Go%20to%20external%20class%20diagram']" synchronizationLock="true" domainClass="environment.Attribute">
18821882 <style xsi : type =" style:SquareDescription" labelExpression =" service:self.getEnvironmentLabel()" labelColor =" //@userColorsPalettes[name='Palette']/@entries[name='ExternalType_color']" labelAlignment =" LEFT" >
18831883 <borderColor xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='black']" />
18841884 <labelFormat >italic</labelFormat >
Original file line number Diff line number Diff line change 677677 <color xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='gray']" />
678678 </style >
679679 </subNodeMappings >
680- <subNodeMappings name =" ED_AssociatedAttribute" deletionDescription =" //@ownedViewpoints[name='SOA%20Views']/@ownedRepresentations[name='DTO%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_PreventDeletion']" semanticCandidatesExpression =" service:getAssociatedTypesAttributes ()" synchronizationLock =" true" domainClass =" environment.Attribute" >
680+ <subNodeMappings name =" ED_AssociatedAttribute" deletionDescription =" //@ownedViewpoints[name='SOA%20Views']/@ownedRepresentations[name='DTO%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_PreventDeletion']" semanticCandidatesExpression =" service:getAssociatedTypesOwnedAttributes ()" synchronizationLock =" true" domainClass =" environment.Attribute" >
681681 <style xsi : type =" style:SquareDescription" labelExpression =" service:self.getEnvironmentLabel()" labelColor =" //@userColorsPalettes[name='Palette']/@entries[name='StructuredType_color']" labelAlignment =" LEFT" >
682682 <borderColor xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='black']" />
683683 <labelFormat >italic</labelFormat >
11451145 <color xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='gray']" />
11461146 </style >
11471147 </subNodeMappings >
1148- <subNodeMappings name="ED_ExternalAssociatedAttribute" detailDescriptions="//@ownedViewpoints[name='SOA%20Views']/@ownedRepresentations[name='DTO%20Diagram']/@additionalLayers[name='External%20DTOs']/@toolSections.1/@ownedTools[name='New%20external%20Entities%20diagram']" navigationDescriptions="//@ownedViewpoints[name='SOA%20Views']/@ownedRepresentations[name='DTO%20Diagram']/@additionalLayers[name='External%20DTOs']/@toolSections.1/@ownedTools[name='Go%20to%20external%20Entities%20diagram']" deletionDescription="//@ownedViewpoints[name='SOA%20Views']/@ownedRepresentations[name='DTO%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_Generic']" semanticCandidatesExpression="service:getAssociatedTypesAttributes()" doubleClickDescription="//@ownedViewpoints[name='SOA%20Views']/@ownedRepresentations[name='DTO%20Diagram']/@additionalLayers[name='External%20DTOs']/@toolSections.1/@ownedTools[name='DBL_Go%20to%20external%20class%20diagram']" synchronizationLock="true" domainClass="environment.Attribute">
1148+ <subNodeMappings name="ED_ExternalAssociatedAttribute" detailDescriptions="//@ownedViewpoints[name='SOA%20Views']/@ownedRepresentations[name='DTO%20Diagram']/@additionalLayers[name='External%20DTOs']/@toolSections.1/@ownedTools[name='New%20external%20Entities%20diagram']" navigationDescriptions="//@ownedViewpoints[name='SOA%20Views']/@ownedRepresentations[name='DTO%20Diagram']/@additionalLayers[name='External%20DTOs']/@toolSections.1/@ownedTools[name='Go%20to%20external%20Entities%20diagram']" deletionDescription="//@ownedViewpoints[name='SOA%20Views']/@ownedRepresentations[name='DTO%20Diagram']/@defaultLayer/@toolSections.5/@ownedTools[name='DEL_Generic']" semanticCandidatesExpression="service:getAssociatedTypesOwnedAttributes()" doubleClickDescription="//@ownedViewpoints[name='SOA%20Views']/@ownedRepresentations[name='DTO%20Diagram']/@additionalLayers[name='External%20DTOs']/@toolSections.1/@ownedTools[name='DBL_Go%20to%20external%20class%20diagram']" synchronizationLock="true" domainClass="environment.Attribute">
11491149 <style xsi : type =" style:SquareDescription" labelExpression =" service:self.getEnvironmentLabel()" labelColor =" //@userColorsPalettes[name='Palette']/@entries[name='ExternalType_color']" labelAlignment =" LEFT" >
11501150 <borderColor xsi : type =" description:SystemColor" href =" environment:/viewpoint#//@systemColors/@entries[name='black']" />
11511151 <labelFormat >italic</labelFormat >
You can’t perform that action at this time.
0 commit comments