blob: 4bb4d49a40994588d91c9b4414c3bf18d5093f34 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<ed:EditorDefinition 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:ed="http://www.eclipse.org/qvt/1.0/Editor" language="qvtc"
extends="platform:/plugin/org.eclipse.qvt.declarative.editor.qvtrelation.ui/model/qvtb.editor#/">
<node xsi:type="ed:JavaNode" name="org.eclipse.core.resources.IFile">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.editor.qvtcore.ui/icons/QVTcModelFile.gif"
format="&lt;file-name>"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCore#//BottomPattern">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/BottomPattern.gif"/>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//CorePattern/variable"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//BottomPattern/realizedVariable"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//BottomPattern/assignment"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTBase#//Pattern/predicate"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//BottomPattern/enforcementOperation"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCore#//CoreDomain">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/CoreDomain.gif"
format="{0}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EAttribute http://www.eclipse.org/emf/2002/Ecore#//ENamedElement/name"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//Area/guardPattern"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//Area/bottomPattern"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCore#//EnforcementOperation">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/EnforcementOperation.gif"
format="{0}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EAttribute http://www.eclipse.org/qvt/1.0/QVTCore#//EnforcementOperation/enforcementMode"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCore#//GuardPattern">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/GuardPattern.gif"/>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//CorePattern/variable"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTBase#//Pattern/predicate"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCore#//Mapping">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/Mapping.gif"
format="{0}{1}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EAttribute http://www.eclipse.org/emf/2002/Ecore#//ENamedElement/name"/>
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTCore#//Mapping/specification"
end="ecore:EAttribute http://www.eclipse.org/emf/2002/Ecore#//ENamedElement/name"
hideIfBlank="true" prefix=" -> " separator=", "/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTBase#//Rule/domain"/>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/CoreDomain.gif"
name="where">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//Area/guardPattern"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//Area/bottomPattern"/>
</elements>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//Mapping/local"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCore#//PropertyAssignment">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/PropertyAssignment.gif"
format=".{0}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTCore#//PropertyAssignment/targetProperty"
end="ecore:EAttribute http://www.eclipse.org/emf/2002/Ecore#//ENamedElement/name"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//PropertyAssignment/slotExpression"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//Assignment/value"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCore#//VariableAssignment">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/VariableAssignment.gif"
format=".{0}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTCore#//VariableAssignment/targetVariable"
end="ecore:EAttribute http://www.eclipse.org/emf/2002/Ecore#//ENamedElement/name"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCore#//Assignment/value"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//AssignmentCS">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/Assignment.gif"
format=":="/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//BottomPatternCS">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/BottomPattern.gif"
format="Bottom"/>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//PatternCS/unrealizedVariables"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//BottomPatternCS/realizedVariables"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//PatternCS/constraints"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//BottomPatternCS/enforcementOperations"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//DirectionCS">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/Direction.gif"
format="{0}{1}{2}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifiedCS/identifier"
end="ecore:EAttribute http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifierCS/value"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//DirectionCS/imports"
hideIfBlank="true" prefix=" imports " separator=","/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//DirectionCS/uses"
hideIfBlank="true" prefix=" uses " separator=","/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//DomainCS">
<behavior xsi:type="ed:FoldingBehavior"/>
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/CoreDomain.gif"
format="{0}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifiedCS/identifier"
end="ecore:EAttribute http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifierCS/value"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//AreaCS/guardPattern"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//AreaCS/bottomPattern"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//EnforcementOperationCS">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/EnforcementOperation.gif"
format="{0}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EAttribute http://www.eclipse.org/qvt/1.0/QVTCorecst#//EnforcementOperationCS/deletion"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//GuardPatternCS">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/GuardPattern.gif"
format="Guard"/>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//PatternCS/unrealizedVariables"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//PatternCS/constraints"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//MappingCS">
<behavior xsi:type="ed:FoldingBehavior"/>
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/Mapping.gif"
format="{0}{1}{2}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifiedCS/identifier"
end="ecore:EAttribute http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifierCS/value"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//MappingCS/in"
hideIfBlank="true" prefix=" in "/>
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTCorecst#//MappingCS/refines"
end="ecore:EAttribute http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifierCS/value"
hideIfBlank="true" prefix=" refines " separator=", "/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//MappingCS/domains"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//MappingCS/middle"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//MappingCS/composedMappings"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//ParamDeclarationCS">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.emf.ecore.edit/icons/full/obj16/EParameter.gif"
format="{0} : {1}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTCorecst#//ParamDeclarationCS/identifier"
end="ecore:EAttribute http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifierCS/value"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//ParamDeclarationCS/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//QueryCS">
<behavior xsi:type="ed:FoldingBehavior"/>
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtbase.edit/icons/full/obj16/Function.gif"
format="{0}({1}) : {2}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTCorecst#//QueryCS/pathName"
end="ecore:EAttribute http://www.eclipse.org/ocl/1.1.0/OCL/CST#//PathNameCS/sequenceOfNames"
separator="::"/>
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTCorecst#//QueryCS/inputParamDeclaration"
end="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//ParamDeclarationCS/type"
separator=", "/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//QueryCS/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//QueryCS/inputParamDeclaration"/>
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//QueryCS/oclExpression"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//RealizeableVariableCS">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtcore.edit/icons/full/obj16/RealizedVariable.gif"
format="{0} : {1}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifiedCS/identifier"
end="ecore:EAttribute http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifierCS/value"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//RealizeableVariableCS/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//TopLevelCS">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.editor.qvtcore.ui/icons/QVTcModelFile.gif"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//TransformationCS">
<behavior xsi:type="ed:FoldingBehavior"/>
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.qvt.declarative.ecore.qvtbase.edit/icons/full/obj16/Transformation.gif"
format="{0}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTCorecst#//TransformationCS/pathName"
end="ecore:EAttribute http://www.eclipse.org/ocl/1.1.0/OCL/CST#//PathNameCS/sequenceOfNames"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//TransformationCS/directions"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/qvt/1.0/QVTCorecst#//UnrealizedVariableCS">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/Variable.gif"
format="{0} : {1}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifiedCS/identifier"
end="ecore:EAttribute http://www.eclipse.org/qvt/1.0/QVTcst#//IdentifierCS/value"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/qvt/1.0/QVTCorecst#//RealizeableVariableCS/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior"/>
</node>
</ed:EditorDefinition>