| <?xml version="1.0" encoding="UTF-8"?> |
| <gmfmap:Mapping xmi:version="2.0" |
| xmlns:xmi="http://www.omg.org/XMI" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" |
| xmlns:gmfmap="http://www.eclipse.org/gmf/2008/mappings" |
| xmlns:gmftool="http://www.eclipse.org/gmf/2005/ToolDefinition"> |
| <nodes> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <childrenFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/ownedType"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Component"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'Component' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="componentDiagram_classifiers.gmfgraph#ComponentNode_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.0/@tools.0"/> |
| <diagramNode |
| href="componentDiagram_classifiers.gmfgraph#ComponentNode"/> |
| <children |
| compartment="//@nodes.0/@ownedChild/@compartments.0" |
| referencedChild="//@nodes.0/@ownedChild"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Component/packagedElement"/> |
| </children> |
| <children> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedAttribute"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Port"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property/aggregation"/> |
| <value |
| body="AggregationKind::composite"/> |
| </initializers> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'port' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping" |
| editPattern=""> |
| <diagramLabel |
| href="classDiagram_ports.gmfgraph#PortNode_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.2/@tools.3"/> |
| <diagramNode |
| href="classDiagram_ports.gmfgraph#PortNode"/> |
| </ownedChild> |
| </children> |
| <children |
| compartment="//@nodes.0/@ownedChild/@compartments.0" |
| referencedChild="//@nodes.1/@ownedChild"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Component/packagedElement"/> |
| </children> |
| <children |
| compartment="//@nodes.0/@ownedChild/@compartments.0" |
| referencedChild="//@nodes.3/@ownedChild"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Component/packagedElement"/> |
| </children> |
| <children |
| compartment="//@nodes.0/@ownedChild/@compartments.0" |
| referencedChild="//@nodes.2/@ownedChild"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Component/packagedElement"/> |
| </children> |
| <children |
| compartment="//@nodes.0/@ownedChild/@compartments.0"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedAttribute"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property"/> |
| <domainSpecialization |
| body="not self.oclIsKindOf(uml::Port)"/> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="componentDiagram_classifiers.gmfgraph#PartNode_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.0/@tools.4"/> |
| <diagramNode |
| href="componentDiagram_classifiers.gmfgraph#PartNode"/> |
| </ownedChild> |
| </children> |
| <children |
| compartment="//@nodes.0/@ownedChild/@compartments.0"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedConnector"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Connector"/> |
| <domainSpecialization |
| body="kind =ConnectorKind::assembly"/> |
| <diagramNode |
| href="componentDiagram_connectors.gmfgraph#AssemblyConnectorCircle"/> |
| </ownedChild> |
| </children> |
| <compartments |
| children="//@nodes.0/@ownedChild/@children.0 //@nodes.0/@ownedChild/@children.2 //@nodes.0/@ownedChild/@children.3 //@nodes.0/@ownedChild/@children.4 //@nodes.0/@ownedChild/@children.5 //@nodes.0/@ownedChild/@children.6"> |
| <compartment |
| href="componentDiagram_classifiers.gmfgraph#contents"/> |
| </compartments> |
| </ownedChild> |
| </nodes> |
| <nodes> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <childrenFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/ownedType"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Artifact"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'Artifact' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="componentDiagram_classifiers.gmfgraph#ArtifactNode_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.0/@tools.1"/> |
| <diagramNode |
| href="componentDiagram_classifiers.gmfgraph#ArtifactNode"/> |
| </ownedChild> |
| </nodes> |
| <nodes> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <childrenFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/ownedType"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Interface"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'Interface' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="classDiagram_interfaces.gmfgraph#Interface_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.0/@tools.2"/> |
| <diagramNode |
| href="classDiagram_interfaces.gmfgraph#ProvidedInterfaceCircleNode"/> |
| </ownedChild> |
| </nodes> |
| <nodes> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <childrenFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/ownedType"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class"/> |
| <domainSpecialization |
| body="self.oclIsKindOf(uml::Class)"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'Class' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="componentDiagram_classifiers.gmfgraph#ComponentClassNode_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.0/@tools.3"/> |
| <diagramNode |
| href="componentDiagram_classifiers.gmfgraph#ComponentClassNode"/> |
| <children |
| referencedChild="//@nodes.0/@ownedChild/@children.1/@ownedChild"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedAttribute"/> |
| </children> |
| </ownedChild> |
| </nodes> |
| <nodes> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package"/> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="classDiagram_auxiliary.gmfgraph#SecondaryPackage_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <diagramNode |
| href="classDiagram_auxiliary.gmfgraph#SecondaryPackageNode"/> |
| <children |
| compartment="//@nodes.4/@ownedChild/@compartments.0"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Namespace/elementImport"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//ElementImport"/> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//ElementImport/alias"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.2/@tools.0"/> |
| <diagramNode |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| </ownedChild> |
| </children> |
| <compartments |
| children="//@nodes.4/@ownedChild/@children.0"> |
| <compartment |
| href="classDiagram_packages.gmfgraph#imports"/> |
| </compartments> |
| </ownedChild> |
| </nodes> |
| <nodes> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <childrenFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/nestedPackage"/> |
| <ownedChild |
| relatedDiagrams="//@diagram"> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'package' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="classDiagram_packages.gmfgraph#PackageNode_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.0/@tools.5"/> |
| <diagramNode |
| href="classDiagram_packages.gmfgraph#PackageNode"/> |
| <children |
| compartment="//@nodes.5/@ownedChild/@compartments.0"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <childrenFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/nestedPackage"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'package' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.0/@tools.5"/> |
| <diagramNode |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| </ownedChild> |
| </children> |
| <children |
| compartment="//@nodes.5/@ownedChild/@compartments.1"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <childrenFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/ownedType"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class"/> |
| <domainSpecialization |
| body="not oclIsTypeOf(uml::Component)"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'Class' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.0/@tools.3"/> |
| <diagramNode |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| </ownedChild> |
| </children> |
| <children |
| compartment="//@nodes.5/@ownedChild/@compartments.1"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <childrenFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/ownedType"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Component"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'Component' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.0/@tools.0"/> |
| <diagramNode |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| </ownedChild> |
| </children> |
| <compartments |
| children="//@nodes.5/@ownedChild/@children.0"> |
| <compartment |
| href="classDiagram_packages.gmfgraph#packages"/> |
| </compartments> |
| <compartments |
| children="//@nodes.5/@ownedChild/@children.1 //@nodes.5/@ownedChild/@children.2"> |
| <compartment |
| href="classDiagram_packages.gmfgraph#classifiers"/> |
| </compartments> |
| </ownedChild> |
| </nodes> |
| <nodes> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <childrenFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/ownedType"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class"/> |
| <domainSpecialization |
| body="not oclIsKindOf(uml::AssociationClass) and not oclIsKindOf(uml::StateMachine)"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body="let base : String = 'Class' in
let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in 
let space : Namespace = self.namespace in
let allMissed : Sequence(String) = suffixes->
 select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s))
 ) in
let firstMissed : String = allMissed->first() in 
let noMisses : Boolean = firstMissed.oclIsUndefined() in
let allNames : Set(String) = 
 if noMisses 
 then 
 space.member->collect(e : NamedElement | 
 if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base
 then '' 
 else e.name 
 endif)->asSet()->excluding('') else Set{'not in use'} 
 endif in 
let longestName : String = 
 if noMisses
 then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first() 
 else 'not in use' 
 endif in 
if noMisses then 
 if longestName.oclIsUndefined() 
 then base 
 else longestName.concat('1') 
 endif 
else 
 base.concat(firstMissed) 
endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping" |
| editPattern=""> |
| <diagramLabel |
| href="classDiagram_classifiers.gmfgraph#ClassNode_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping" |
| editPattern=""> |
| <diagramLabel |
| href="classDiagram_classifiers.gmfgraph#ClassNode_stereo"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/qualifiedName"/> |
| </labelMappings> |
| <diagramNode |
| href="classDiagram_classifiers.gmfgraph#ClassNode"/> |
| <children |
| compartment="//@nodes.6/@ownedChild/@compartments.0"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedAttribute"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property"/> |
| <domainSpecialization |
| body="not oclIsKindOf(uml::Port)"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property/aggregation"/> |
| <value |
| body="AggregationKind::composite"/> |
| </initializers> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'property' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping" |
| editPattern=""> |
| <diagramLabel |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.2/@tools.1"/> |
| <diagramNode |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| </ownedChild> |
| </children> |
| <children |
| compartment="//@nodes.6/@ownedChild/@compartments.1"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class/ownedOperation"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Operation"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'operation' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping" |
| editPattern=""> |
| <diagramLabel |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.2/@tools.2"/> |
| <diagramNode |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| </ownedChild> |
| </children> |
| <children |
| compartment="//@nodes.6/@ownedChild/@compartments.2"> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class/nestedClassifier"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Class"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'Class' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.0/@tools.3"/> |
| <diagramNode |
| href="classDiagram_auxiliary.gmfgraph#AuxiliaryPureLabel"/> |
| </ownedChild> |
| </children> |
| <children> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedAttribute"/> |
| <ownedChild> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Port"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Property/aggregation"/> |
| <value |
| body="AggregationKind::composite"/> |
| </initializers> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| <value |
| body=" let base : String = 'port' in let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> 	select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = 	if noMisses 		then 		space.member->collect(e : NamedElement | 			if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base 			then '' else e.name 			endif 		)->asSet()->excluding('') 		else Set{'not in use'} 		endif in let longestName : String = 		if noMisses 		then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()		else 'not in use' 		endif 	in if noMisses then 		if longestName.oclIsUndefined() 		then base 		else longestName.concat('1') 		endif else base.concat(firstMissed) endif "/> |
| </initializers> |
| </domainInitializer> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping" |
| editPattern=""> |
| <diagramLabel |
| href="classDiagram_ports.gmfgraph#PortNode_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.2/@tools.3"/> |
| <diagramNode |
| href="classDiagram_ports.gmfgraph#PortNode"/> |
| </ownedChild> |
| </children> |
| <compartments |
| children="//@nodes.6/@ownedChild/@children.0"> |
| <compartment |
| href="classDiagram_classifiers.gmfgraph#attributes"/> |
| </compartments> |
| <compartments |
| children="//@nodes.6/@ownedChild/@children.1"> |
| <compartment |
| href="classDiagram_classifiers.gmfgraph#operations"/> |
| </compartments> |
| <compartments |
| children="//@nodes.6/@ownedChild/@children.2"> |
| <compartment |
| href="classDiagram_classifiers.gmfgraph#classes"/> |
| </compartments> |
| </ownedChild> |
| </nodes> |
| <links> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//InterfaceRealization"/> |
| <domainSpecialization |
| body="self.implementingClassifier.oclIsKindOf(uml::Component)"/> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//BehavioredClassifier/interfaceRealization"/> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.1/@tools.0"/> |
| <diagramLink |
| href="classDiagram_interfaces.gmfgraph#ProvidedInterfaceLink"/> |
| <sourceMetaFeature |
| xsi:type="ecore:EReference" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//InterfaceRealization/implementingClassifier"/> |
| <linkMetaFeature |
| xsi:type="ecore:EReference" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//InterfaceRealization/contract"/> |
| <creationConstraints> |
| <sourceEnd |
| body="self.oclIsKindOf(uml::Component)"/> |
| </creationConstraints> |
| </links> |
| <links> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.1/@tools.0"/> |
| <diagramLink |
| href="classDiagram_interfaces.gmfgraph#ProvidedInterfaceLink"/> |
| <linkMetaFeature |
| xsi:type="ecore:EReference" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Port/provided"/> |
| <creationConstraints> |
| <sourceEnd |
| body="self.oclIsKindOf(uml::Port) and (self.oclAsType(uml::Port).type.oclIsUndefined() or self.oclAsType(uml::Port).type.oclIsKindOf(uml::Classifier))"/> |
| </creationConstraints> |
| </links> |
| <links> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.1/@tools.1"/> |
| <diagramLink |
| href="classDiagram_interfaces.gmfgraph#RequiredInterfaceLink"/> |
| <linkMetaFeature |
| xsi:type="ecore:EReference" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Port/required"/> |
| <creationConstraints> |
| <sourceEnd |
| body="self.oclIsKindOf(uml::Port)"/> |
| </creationConstraints> |
| </links> |
| <links> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.1/@tools.1"/> |
| <diagramLink |
| href="classDiagram_interfaces.gmfgraph#RequiredInterfaceLink"/> |
| <linkMetaFeature |
| xsi:type="ecore:EReference" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Component/required"/> |
| </links> |
| <links> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Connector"/> |
| <domainSpecialization |
| body="kind =ConnectorKind::delegation"/> |
| <domainInitializer |
| xsi:type="gmfmap:FeatureSeqInitializer"> |
| <initializers |
| xsi:type="gmfmap:FeatureValueSpec"> |
| <feature |
| xsi:type="ecore:EAttribute" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Connector/kind"/> |
| <value |
| body="ConnectorKind::delegation"/> |
| </initializers> |
| </domainInitializer> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//StructuredClassifier/ownedConnector"/> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.1/@tools.2"/> |
| <diagramLink |
| href="componentDiagram_connectors.gmfgraph#DelegationConnectorLink"/> |
| <sourceMetaFeature |
| xsi:type="ecore:EReference" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//ConnectorEnd/role"/> |
| <linkMetaFeature |
| xsi:type="ecore:EReference" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//ConnectorEnd/role"/> |
| </links> |
| <links> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Dependency"/> |
| <domainSpecialization |
| body="(self.oclIsTypeOf(uml::Dependency) or self.oclIsTypeOf(uml::Abstraction) or self.oclIsTypeOf(uml::Substitution) or self.oclIsTypeOf(uml::Usage)) and self.supplier->size() = 1 and self.client->size() = 1 and self.supplier->forAll(e|not e.oclIsKindOf(uml::Interface))"/> |
| <labelMappings |
| xsi:type="gmfmap:FeatureLabelMapping"> |
| <diagramLabel |
| href="common_dependencies.gmfgraph#Dependency_name"/> |
| <features |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//NamedElement/name"/> |
| </labelMappings> |
| <containmentFeature |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package/packagedElement"/> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.1/@tools.3"/> |
| <diagramLink |
| href="common_dependencies.gmfgraph#BinaryDependencyLink"/> |
| <sourceMetaFeature |
| xsi:type="ecore:EReference" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Dependency/client"/> |
| <linkMetaFeature |
| xsi:type="ecore:EReference" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Dependency/supplier"/> |
| <creationConstraints> |
| <targetEnd |
| body="not self.oclIsKindOf(uml::Interface)
"/> |
| </creationConstraints> |
| </links> |
| <links> |
| <tool |
| xsi:type="gmftool:CreationTool" |
| href="componentDiagram.gmftool#//@palette/@tools.1/@tools.4"/> |
| <diagramLink |
| href="componentDiagram_connectors.gmfgraph#AssemblyConnectorLink"/> |
| <linkMetaFeature |
| xsi:type="ecore:EReference" |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//ConnectorEnd/role"/> |
| <creationConstraints> |
| <sourceEnd |
| body="self.oclIsKindOf(uml::Connector) and (self.oclAsType(uml::Connector).kind = ConnectorKind::assembly)"/> |
| </creationConstraints> |
| </links> |
| <diagram> |
| <diagramCanvas |
| href="classDiagram_auxiliary.gmfgraph#cnvAuxiliary"/> |
| <domainModel |
| href="http://www.eclipse.org/uml2/2.1.0/UML#/"/> |
| <domainMetaElement |
| href="../../../plugin/org.eclipse.uml2.uml/model/UML.ecore#//Package"/> |
| <palette |
| href="componentDiagram.gmftool#//@palette"/> |
| </diagram> |
| </gmfmap:Mapping> |