blob: 12ecaa0dca06c2b624f31a10e4441cb97ce5fd4d [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="ocl"
extends="platform:/plugin/org.eclipse.qvt.declarative.editor.ui/model/uml.editor#/ ocl.cst.editor#/">
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//AnyType">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/AnyType.gif"
format="AnyType"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//BooleanLiteralExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/BooleanLiteralExp.gif"
format="{0} : {1}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EAttribute http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//BooleanLiteralExp/booleanSymbol"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//CollectionItem">
<behavior xsi:type="ed:OutlineBehavior" hidden="true">
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.ocl.edit/icons/full/obj16/CollectionItem.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//CollectionItem/item"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//CollectionLiteralExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/CollectionLiteralExp.gif"
format="{0}'{}'">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineGroup" name="part: " hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//CollectionLiteralExp/part"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//CollectionRange">
<behavior xsi:type="ed:OutlineBehavior" hidden="true">
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/FirstCollectionItem.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//CollectionRange/first"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/LastCollectionItem.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//CollectionRange/last"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//ExpressionInOCL">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/ExpressionInOCL.gif"
imageProvider="org.eclipse.qvt.declarative.editor.ocl.ui.imp.OCLImageProvider"/>
<behavior xsi:type="ed:OutlineBehavior" hidden="true">
<elements xsi:type="ed:OutlineGroup" hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Utilities#//ExpressionInOCL/contextVariable"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/ParameterVariable.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Utilities#//ExpressionInOCL/parameterVariable"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/ResultVariable.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Utilities#//ExpressionInOCL/resultVariable"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.ocl.edit/icons/full/obj16/ExpressionInOCL.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Utilities#//ExpressionInOCL/bodyExpression"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//IfExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/IfExp.gif"
format="if : {0}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/ConditionQuery.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//IfExp/condition"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/ConditionTrue.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//IfExp/thenExpression"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/ConditionFalse.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//IfExp/elseExpression"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//IntegerLiteralExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/IntegerLiteralExp.gif"
format="{0} : {1}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EAttribute http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//IntegerLiteralExp/integerSymbol"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//IterateExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/IterateExp.gif"
format="->iterate : {0}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/OperationSource.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//CallExp/source"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.ocl.edit/icons/full/obj16/Variable.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//LoopExp/iterator"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/ResultVariable.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//IterateExp/result"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.ocl.edit/icons/full/obj16/ExpressionInOCL.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//LoopExp/body"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//IteratorExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/IteratorExp.gif"
format="-> {0} : {1}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EAttribute http://www.eclipse.org/uml2/3.0.0/UML#//NamedElement/name"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/OperationSource.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//CallExp/source"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.ocl.edit/icons/full/obj16/Variable.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//LoopExp/iterator"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.ocl.edit/icons/full/obj16/ExpressionInOCL.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//LoopExp/body"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//LetExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/LetExp.gif"
format="let : {0}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//LetExp/variable"/>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.ocl.edit/icons/full/obj16/ExpressionInOCL.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//LetExp/in"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//NullLiteralExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/NullLiteralExp.gif"
format="null : {0}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//OperationCallExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/OperationCallExp.gif"
imageProvider="org.eclipse.qvt.declarative.editor.ocl.ui.imp.OCLImageProvider"
format="{0} {1}">
<elements xsi:type="ed:EcoreLabelElement" textProvider="org.eclipse.qvt.declarative.editor.ocl.ui.imp.OCLTextProvider"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//OperationCallExp/referredOperation"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/OperationSource.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//CallExp/source"/>
</elements>
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/OperationArgument.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//OperationCallExp/argument"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//PropertyCallExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/PropertyCallExp.gif"
format=". {0}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//PropertyCallExp/referredProperty"
end="ecore:EAttribute http://www.eclipse.org/uml2/3.0.0/UML#//NamedElement/name"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineGroup" image="/org.eclipse.qvt.declarative.editor.ocl.ui/icons/full/obj16/OperationSource.gif"
hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//CallExp/source"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//RealLiteralExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/RealLiteralExp.gif"
format="{0} : {1}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EAttribute http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//RealLiteralExp/realSymbol"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//StringLiteralExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/StringLiteralExp.gif"
format="''{0}'' : {1}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EAttribute http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//StringLiteralExp/stringSymbol"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior"/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//TypeExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/TypeExp.gif"
format="{0} : Type">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//TypeExp/referredType"
end="ecore:EAttribute http://www.eclipse.org/uml2/3.0.0/UML#//NamedElement/name"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior" elements=""/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//TypeType">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/TypeType.gif"
format="TypeType {0}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Types#//TypeType/referredType"/>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//Variable">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/Variable.gif"
format="{0} : {1}">
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EAttribute http://www.eclipse.org/uml2/3.0.0/UML#//NamedElement/name"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior">
<elements xsi:type="ed:OutlineGroup" name="init: " hidden="true">
<elements xsi:type="ed:OutlineElement" feature="ecore:EReference http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//Variable/initExpression"/>
</elements>
</behavior>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//VariableExp">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/VariableExp.gif"
format="{0} : {1}">
<elements xsi:type="ed:EcoreLabelElement" path="http://www.eclipse.org/ocl/1.1.0/OCL/Expressions#//VariableExp/referredVariable"
end="ecore:EAttribute http://www.eclipse.org/uml2/3.0.0/UML#//NamedElement/name"/>
<elements xsi:type="ed:EcoreLabelElement" end="ecore:EReference http://www.eclipse.org/uml2/3.0.0/UML#//TypedElement/type"/>
</behavior>
<behavior xsi:type="ed:OutlineBehavior" elements=""/>
</node>
<node xsi:type="ed:EcoreNode" element="ecore:EClass http://www.eclipse.org/ocl/1.1.0/UML#//VoidType">
<behavior xsi:type="ed:LabelBehavior" image="/org.eclipse.ocl.edit/icons/full/obj16/VoidType.gif"
format="VoidType"/>
</node>
</ed:EditorDefinition>