diff options
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/plugin.xml')
-rw-r--r-- | plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/plugin.xml | 140 |
1 files changed, 102 insertions, 38 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/plugin.xml b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/plugin.xml index d9aeafe14c6..112be9aef08 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/plugin.xml +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.activity/plugin.xml @@ -166,7 +166,7 @@ <viewProvider class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLViewProvider"> <Priority name="Lowest"/> <context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="PapyrusUMLActivityDiagram"/> - <context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints="2001,3001,3002,3003,3004,3005,3006,3007,3015,3016,3013,3014,3008,3017,3018,3019,3020,3010,3021,3022,3023,3024,3025,3026,3027,3034,3035,3036,3037,3032,3033,3011,3012,3038,3039,3040,3041,3078,3042,3046,3047,3048,3049,3050,3051,3052,3053,3054,3055,3060,3061,3062,3059,3063,3064,3076,3077,3069,3070,3074,3075,3071,3109,3110,3111,3073,3065,3105,3067,3068,3080,3081,3084,3083,3086,3087,3085,3088,3089,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3104,3112,3113,3125,3132,3145,3158,3133,3146,3159,3114,3126,3134,3135,3147,3148,3160,3161,3115,3127,3136,3149,3162,3117,3137,3151,3163,3116,3128,3138,3150,3164,3118,3139,3152,3165"/> + <context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints="2001,3001,3002,3003,3004,3005,3006,3007,3015,3016,3013,3014,3008,3017,3018,3019,3020,3010,3021,3022,3023,3024,3025,3026,3027,3034,3035,3036,3037,3032,3033,3011,3012,3038,3039,3040,3041,3078,3042,3046,3047,3048,3049,3050,3051,3052,3053,3054,3055,3060,3061,3062,3059,3063,3064,3076,3077,3069,3070,3074,3075,3071,3109,3110,3111,3073,3065,3105,3067,3068,3080,3081,3084,3083,3086,3087,3085,3088,3089,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3104,3112,3113,3125,3132,3145,3158,3133,3146,3159,3114,3126,3134,3135,3147,3148,3160,3161,3115,3127,3136,3149,3162,3117,3137,3151,3163,3116,3128,3138,3150,3164,3118,3139,3152,3165,3119,3140,3153,3166"/> <context viewClass="org.eclipse.gmf.runtime.notation.Edge" semanticHints="4001,4002,4003,4004,4005,4006,4007"/> </viewProvider> </extension> @@ -179,13 +179,13 @@ <method name="getType()" value="PapyrusUMLActivityDiagram"/> </object> <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-nodes"> - <method name="getType()" value="2001,3001,3002,3003,3004,3005,3006,3007,3015,3016,3013,3014,3008,3017,3018,3019,3020,3010,3021,3022,3023,3024,3025,3026,3027,3034,3035,3036,3037,3032,3033,3011,3012,3038,3039,3040,3041,3078,3042,3046,3047,3048,3049,3050,3051,3052,3053,3054,3055,3060,3061,3062,3059,3063,3064,3076,3077,3069,3070,3074,3075,3071,3109,3110,3111,3073,3065,3105,3067,3068,3080,3081,3084,3083,3086,3087,3085,3088,3089,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3104,3112,3113,3125,3132,3145,3158,3133,3146,3159,3114,3126,3134,3135,3147,3148,3160,3161,3115,3127,3136,3149,3162,3117,3137,3151,3163,3116,3128,3138,3150,3164,3118,3139,3152,3165"/> + <method name="getType()" value="2001,3001,3002,3003,3004,3005,3006,3007,3015,3016,3013,3014,3008,3017,3018,3019,3020,3010,3021,3022,3023,3024,3025,3026,3027,3034,3035,3036,3037,3032,3033,3011,3012,3038,3039,3040,3041,3078,3042,3046,3047,3048,3049,3050,3051,3052,3053,3054,3055,3060,3061,3062,3059,3063,3064,3076,3077,3069,3070,3074,3075,3071,3109,3110,3111,3073,3065,3105,3067,3068,3080,3081,3084,3083,3086,3087,3085,3088,3089,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3104,3112,3113,3125,3132,3145,3158,3133,3146,3159,3114,3126,3134,3135,3147,3148,3160,3161,3115,3127,3136,3149,3162,3117,3137,3151,3163,3116,3128,3138,3150,3164,3118,3139,3152,3165,3119,3140,3153,3166"/> </object> <object class="org.eclipse.gmf.runtime.notation.Edge" id="generated-links"> <method name="getType()" value="4001,4002,4003,4004,4005,4006,4007"/> </object> <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-labels"> - <method name="getType()" value="5001,5002,6034,5080,6033,5081,6035,5082,5003,6028,5011,5024,5083,5012,5025,5084,5009,5085,5010,5086,5004,6029,5013,5026,5087,5014,5027,5088,5015,5089,5016,5090,5006,6020,5017,5028,5091,5018,5029,5092,5019,5093,5020,5094,5021,5030,5095,5022,5031,5096,5023,5097,5038,5130,5039,5131,5040,5132,5041,5133,5036,5134,5037,5135,5007,5136,5008,5137,6036,5043,5098,6037,5099,6038,5100,6039,5042,5101,5127,5128,6031,5059,6027,5049,5050,5102,5051,5052,5103,5053,5104,5054,5055,5105,5056,5057,5106,5058,5107,5060,6032,5061,5062,5108,5063,5064,5109,5065,5110,5072,5073,5111,5074,5075,5112,5076,5113,5071,5078,5079,5115,6040,5077,5114,5126,6026,5124,5125,5119,5120,5121,5184,5185,5186,5183,5187,5188,5123,5117,5178,5179,5118,6016,5138,5139,6025,5144,5145,5142,5143,5148,6024,5146,5147,5129,5153,6023,5149,5150,5151,5152,5160,6019,5154,5155,5156,5157,5158,5159,5163,6022,5161,5162,5166,6021,5164,5165,5171,6018,5167,5168,5169,5170,5175,6017,5172,5173,5174,5176,5177,6030,5189,5190,5191,5394,5203,5204,5217,5218,5245,5246,5247,5263,5264,5265,5219,5220,5248,5249,5250,5266,5267,5268,5192,5395,5205,5206,5221,5222,5223,5224,5251,5252,5253,5254,5255,5256,5269,5270,5271,5272,5273,5274,5193,5396,5207,5208,5225,5226,5260,5261,5262,5275,5276,5277,5195,5397,5227,5228,5281,5282,5283,5278,5279,5280,5194,5398,5209,5210,5229,5230,5287,5288,5289,5284,5285,5286,5196,5399,5231,5232,5290,5291,5292,5293,5294,5295"/> + <method name="getType()" value="5001,5002,6034,5080,6033,5081,6035,5082,5003,6028,5011,5024,5083,5012,5025,5084,5009,5085,5010,5086,5004,6029,5013,5026,5087,5014,5027,5088,5015,5089,5016,5090,5006,6020,5017,5028,5091,5018,5029,5092,5019,5093,5020,5094,5021,5030,5095,5022,5031,5096,5023,5097,5038,5130,5039,5131,5040,5132,5041,5133,5036,5134,5037,5135,5007,5136,5008,5137,6036,5043,5098,6037,5099,6038,5100,6039,5042,5101,5127,5128,6031,5059,6027,5049,5050,5102,5051,5052,5103,5053,5104,5054,5055,5105,5056,5057,5106,5058,5107,5060,6032,5061,5062,5108,5063,5064,5109,5065,5110,5072,5073,5111,5074,5075,5112,5076,5113,5071,5078,5079,5115,6040,5077,5114,5126,6026,5124,5125,5119,5120,5121,5184,5185,5186,5183,5187,5188,5123,5117,5178,5179,5118,6016,5138,5139,6025,5144,5145,5142,5143,5148,6024,5146,5147,5129,5153,6023,5149,5150,5151,5152,5160,6019,5154,5155,5156,5157,5158,5159,5163,6022,5161,5162,5166,6021,5164,5165,5171,6018,5167,5168,5169,5170,5175,6017,5172,5173,5174,5176,5177,6030,5189,5190,5191,5394,5203,5204,5217,5218,5245,5246,5247,5263,5264,5265,5219,5220,5248,5249,5250,5266,5267,5268,5192,5395,5205,5206,5221,5222,5223,5224,5251,5252,5253,5254,5255,5256,5269,5270,5271,5272,5273,5274,5193,5396,5207,5208,5225,5226,5260,5261,5262,5275,5276,5277,5195,5397,5227,5228,5281,5282,5283,5278,5279,5280,5194,5398,5209,5210,5229,5230,5287,5288,5289,5284,5285,5286,5196,5399,5231,5232,5290,5291,5292,5293,5294,5295,5197,5400,5235,5236,5296,5297,5298,5299,5300,5301"/> </object> <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-compartments"> <method name="getType()" value="7001,7002,7003,7004,7008,7009,7010,7012,7005,7006,7007,7014,7015,7016,7013"/> @@ -212,6 +212,16 @@ <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes" id="element-types"> <?gmfgen generated="true"?> <metamodel nsURI="http://www.eclipse.org/uml2/5.0.0/UML"> + <metamodelType + id="org.eclipse.papyrus.uml.diagram.activity.Package_1000" + name="%metatype.name.Package_1000" + kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType" + eclass="Package" + edithelper="org.eclipse.papyrus.uml.diagram.activity.edit.helpers.PackageEditHelper"> + <param name="semanticHint" value="1000"/> + </metamodelType> + </metamodel> + <metamodel nsURI="http://www.eclipse.org/uml2/5.0.0/UML"> <specializationType id="org.eclipse.papyrus.uml.diagram.activity.Activity_2001" name="%metatype.name.Activity_2001" @@ -1372,6 +1382,42 @@ </metamodel> <metamodel nsURI="http://www.eclipse.org/uml2/5.0.0/UML"> <specializationType + id="org.eclipse.papyrus.uml.diagram.activity.ClearAssociationAction_3119" + name="%metatype.name.ClearAssociationAction_3119" + kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"> + <specializes id="org.eclipse.papyrus.uml.ClearAssociationAction"/> + <param name="semanticHint" value="3119"/> + </specializationType> + </metamodel> + <metamodel nsURI="http://www.eclipse.org/uml2/5.0.0/UML"> + <specializationType + id="org.eclipse.papyrus.uml.diagram.activity.InputPin_3140" + name="%metatype.name.InputPin_3140" + kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"> + <specializes id="org.eclipse.papyrus.uml.InputPin"/> + <param name="semanticHint" value="3140"/> + </specializationType> + </metamodel> + <metamodel nsURI="http://www.eclipse.org/uml2/5.0.0/UML"> + <specializationType + id="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3153" + name="%metatype.name.ValuePin_3153" + kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"> + <specializes id="org.eclipse.papyrus.uml.ValuePin"/> + <param name="semanticHint" value="3153"/> + </specializationType> + </metamodel> + <metamodel nsURI="http://www.eclipse.org/uml2/5.0.0/UML"> + <specializationType + id="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3166" + name="%metatype.name.ActionInputPin_3166" + kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"> + <specializes id="org.eclipse.papyrus.uml.ActionInputPin"/> + <param name="semanticHint" value="3166"/> + </specializationType> + </metamodel> + <metamodel nsURI="http://www.eclipse.org/uml2/5.0.0/UML"> + <specializationType id="org.eclipse.papyrus.uml.diagram.activity.ActionLocalPrecondition_4001" name="%metatype.name.ActionLocalPrecondition_4001" kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"> @@ -1569,6 +1615,10 @@ <elementType ref="org.eclipse.papyrus.uml.diagram.activity.InputPin_3139"/> <elementType ref="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3152"/> <elementType ref="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3165"/> + <elementType ref="org.eclipse.papyrus.uml.diagram.activity.ClearAssociationAction_3119"/> + <elementType ref="org.eclipse.papyrus.uml.diagram.activity.InputPin_3140"/> + <elementType ref="org.eclipse.papyrus.uml.diagram.activity.ValuePin_3153"/> + <elementType ref="org.eclipse.papyrus.uml.diagram.activity.ActionInputPin_3166"/> <elementType ref="org.eclipse.papyrus.uml.diagram.activity.ActionLocalPrecondition_4001"/> <elementType ref="org.eclipse.papyrus.uml.diagram.activity.ActionLocalPostcondition_4002"/> <elementType ref="org.eclipse.papyrus.uml.diagram.activity.ObjectFlow_4003"/> @@ -1863,7 +1913,7 @@ <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateInitialNode_validateNoIncomingEdges" lang="OCL" name="validateNoIncomingEdges" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[self.incoming->isEmpty()]]> <description><![CDATA[An initial node has no incoming edge]]></description> @@ -1873,7 +1923,7 @@ <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateInitialNode_validateControlEdges" lang="OCL" name="validateControlEdges" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[not self.source.oclIsKindOf(InitialNode)]]> <description><![CDATA[Only control edges can have initial nodes as source]]></description> @@ -1885,7 +1935,7 @@ <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateFinalNode_validateNoOutgoingEdges" lang="OCL" name="validateNoOutgoingEdges" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[self.outgoing->isEmpty()]]> <description><![CDATA[A fianl node has no outgoing edge]]></description> @@ -1913,7 +1963,7 @@ <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectNode_validateNotUnique" lang="OCL" name="validateNotUnique" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[-- must be applied on corresponding parameter, if only it exists true @@ -1963,7 +2013,7 @@ true <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validatePin_validateControlPins" lang="OCL" name="validateControlPins" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[self.isControl implies self.isControlType]]> <description><![CDATA[Control pins have a control type]]></description> @@ -1975,7 +2025,7 @@ true <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateInputPin_validateOutgoingEdgesStructuredOnly" lang="OCL" name="validateOutgoingEdgesStructuredOnly" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[self.outgoing.target->forAll(inStructuredNode=self.owner)]]> <description><![CDATA[Input pins may have outgoing edges only when they are on actions that are structured nodes, and these edges must target a node contained by the structured node.]]></description> @@ -1987,7 +2037,7 @@ true <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin_validateOneOutputPin" lang="OCL" name="validateOneOutputPin" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(not self.fromAction.oclIsUndefined()) implies self.fromAction.output->size() = 1]]> @@ -1998,7 +2048,7 @@ self.fromAction.output->size() = 1]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin_validateInputPin" lang="OCL" name="validateInputPin" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(not self.fromAction.oclIsUndefined()) implies self.fromAction.input->forAll(oclIsKindOf(ActionInputPin))]]> @@ -2009,7 +2059,7 @@ self.fromAction.input->forAll(oclIsKindOf(ActionInputPin))]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateActionInputPin_validateNoControlOrDataFlow" lang="OCL" name="validateNoControlOrDataFlow" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(not self.fromAction.oclIsUndefined()) implies (self.fromAction.incoming->isEmpty() and self.fromAction.outgoing->isEmpty() @@ -2024,7 +2074,7 @@ and self.fromAction.output->forAll(incoming->isEmpty() and outgoing->isEmpty())) <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateValuePin_validateCompatibleType" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter13" name="validateCompatibleType" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[The type of value specification must be compatible with the type of the value pin.]]></description> @@ -2034,7 +2084,7 @@ and self.fromAction.output->forAll(incoming->isEmpty() and outgoing->isEmpty())) <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateValuePin_validateNoIncomingEdges" lang="OCL" name="validateNoIncomingEdges" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[self.incoming->isEmpty()]]> <description><![CDATA[Value pins have no incoming edges.]]></description> @@ -2046,7 +2096,7 @@ and self.fromAction.output->forAll(incoming->isEmpty() and outgoing->isEmpty())) <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateOutputPin_validateIncomingEdgesStructuredOnly" lang="OCL" name="validateIncomingEdgesStructuredOnly" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[self.incoming.source->forAll(inStructuredNode=self.owner)]]> <description><![CDATA[Output pins may have incoming edges only when they are on actions that are structured nodes, and these edges may not target a node contained by the structured node.]]></description> @@ -2058,7 +2108,7 @@ and self.fromAction.output->forAll(incoming->isEmpty() and outgoing->isEmpty())) <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateSourceAndTarget" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter16" name="validateSourceAndTarget" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[The source and target of an edge must be in the same activity as the edge.]]></description> @@ -2068,7 +2118,7 @@ and self.fromAction.output->forAll(incoming->isEmpty() and outgoing->isEmpty())) <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateOwned" lang="OCL" name="validateOwned" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[self.owner.oclIsKindOf(Activity) or self.owner.oclIsKindOf(ActivityGroup)]]> @@ -2079,7 +2129,7 @@ or self.owner.oclIsKindOf(ActivityGroup)]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityEdge_validateStructuredNode" lang="OCL" name="validateStructuredNode" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[true -- constraint is checked by the model structure]]> @@ -2114,7 +2164,7 @@ not self.source.oclIsUndefined() and not self.target.oclIsUndefined()]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateNoActions" lang="OCL" name="validateNoActions" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(self.source.oclIsUndefined() or not self.source.oclIsKindOf(Action)) and (self.target.oclIsUndefined() or not self.target.oclIsKindOf(Action))]]> @@ -2125,7 +2175,7 @@ and (self.target.oclIsUndefined() or not self.target.oclIsKindOf(Action))]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateCompatibleTypes" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter21" name="validateCompatibleTypes" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[Object nodes connected by an object flow, with optionally intervening control nodes, must have compatible types. In particular, the downstream object node type must be the same or a supertype of the upstream object node type]]></description> @@ -2135,7 +2185,7 @@ and (self.target.oclIsUndefined() or not self.target.oclIsKindOf(Action))]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateSameUpperBounds" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter22" name="validateSameUpperBounds" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[Object nodes connected by an object flow, with optionally intervening control nodes, must have the same upper bounds.]]></description> @@ -2145,7 +2195,7 @@ and (self.target.oclIsUndefined() or not self.target.oclIsKindOf(Action))]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateTarget" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter23" name="validateTarget" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[An edge with constant weight may not target an object node, or lead to an object node downstream with no intervening actions, that has an upper bound less than the weight.]]></description> @@ -2155,7 +2205,7 @@ and (self.target.oclIsUndefined() or not self.target.oclIsKindOf(Action))]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateTransformationBehaviour" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter24" name="validateTransformationBehaviour" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[A transformation behavior has one input parameter and one output parameter. The input parameter must be the same as or a supertype of the type of object token coming from the source end. The output parameter must be the same or a subtype of the type of object token expected downstream. The behavior cannot have side effects.]]></description> @@ -2165,7 +2215,7 @@ and (self.target.oclIsUndefined() or not self.target.oclIsKindOf(Action))]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateSelectionBehaviour" lang="OCL" name="validateSelectionBehaviour" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(not self.selection.oclIsUndefined()) implies self.source.oclIsKindOf(ObjectNode)]]> <description><![CDATA[An object flow may have a selection behavior only if it has an object node as a source.]]></description> @@ -2175,7 +2225,7 @@ and (self.target.oclIsUndefined() or not self.target.oclIsKindOf(Action))]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateInputAndOutputParameter" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter26" name="validateInputAndOutputParameter" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same as or a supertype of the type of source object node. The output parameter must be the same or a subtype of the type of source object node. The behavior cannot have side effects.]]></description> @@ -2185,7 +2235,7 @@ and (self.target.oclIsUndefined() or not self.target.oclIsKindOf(Action))]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateObjectFlow_validateIsMulticastOrIsMultireceive" lang="OCL" name="validateIsMulticastOrIsMultireceive" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[self.isMulticast implies not self.isMultireceive]]> <description><![CDATA[isMulticast and isMultireceive cannot both be true.]]></description> @@ -2197,7 +2247,7 @@ and (self.target.oclIsUndefined() or not self.target.oclIsKindOf(Action))]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateControlFlow_validateObjectNodes" lang="OCL" name="validateObjectNodes" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(self.source.oclIsUndefined() or (self.source.oclIsKindOf(ObjectNode) implies @@ -2241,7 +2291,7 @@ self.incoming->size() <= 2]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateDecisionInputFlowIncoming" lang="OCL" name="validateDecisionInputFlowIncoming" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(not self.decisionInputFlow.oclIsUndefined()) implies self.incoming->includes(self.decisionInputFlow)]]> @@ -2252,7 +2302,7 @@ self.incoming->includes(self.decisionInputFlow)]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateDecisionNode_validateParameters" lang="OCL" name="validateParameters" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(not self.decisionInput.oclIsUndefined()) implies ( self.decisionInput.ownedParameter->select( @@ -2391,7 +2441,7 @@ and self.decisionInput.ownedParameter->select( <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateActivityParameterNode_validateIncomingOrOutgoing" lang="OCL" name="validateIncomingOrOutgoing" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(self.incoming->notEmpty() implies self.outgoing->isEmpty()) and (self.outgoing->notEmpty() implies self.incoming->isEmpty())]]> @@ -2404,7 +2454,7 @@ and self.decisionInput.ownedParameter->select( <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateCreateObjectActionClassifier_notAbstract" lang="OCL" name="validateNotAbstract" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(not self.classifier.oclIsUndefined()) implies (self.classifier.isAbstract = false)]]> <description><![CDATA[Check that the classifier is not abstract]]></description> @@ -2414,7 +2464,7 @@ and self.decisionInput.ownedParameter->select( <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateCreateObjectActionClassifier_notClassifier" lang="OCL" name="valideNotAssociationClass" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(not self.classifier.oclIsUndefined()) implies (not self.classifier.oclIsKindOf(uml::AssociationClass))]]> <description><![CDATA[Check that the classifier is not an association class]]></description> @@ -2480,7 +2530,7 @@ and self.decisionInput.ownedParameter->select( <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateDestroyObjectAction_InputPinHasNotType" lang="OCL" name="validateInputPinHasNoType" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[if self.target.oclIsUndefined() then true else self.target.type->size() = 0 endif]]> <description><![CDATA[Check that the input pin has no type]]></description> @@ -2492,7 +2542,7 @@ and self.decisionInput.ownedParameter->select( <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateStructuralFeatureAction_FeatureNotStatic" lang="OCL" name="validateFeatureNotStatic" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <![CDATA[(not self.structuralFeature.oclIsUndefined()) implies (self.structuralFeature.isStatic = false)]]> <description><![CDATA[Check that the structural feature must not be static.]]></description> @@ -2605,7 +2655,7 @@ self.structuralFeature.oclAsType(Property).opposite.type = self.object.type]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_HandlerBody_Constraint4" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter62" name="validateException_HandlerBody_Constraint4" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[The handler body has one input, and that input is the same as the exception input.]]></description> @@ -2615,7 +2665,7 @@ self.structuralFeature.oclAsType(Property).opposite.type = self.object.type]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_StructuredActivityNode_Constraint3" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter64" name="validateException_StructuredActivityNode_Constraint3" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[If the protected node is a StructuredActivityNode with output pins, then the exception handler body must also be a StructuredActivityNode with output pins that correspond in number and types to those of the protected node.]]></description> @@ -2625,7 +2675,7 @@ self.structuralFeature.oclAsType(Property).opposite.type = self.object.type]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateExceptionHandler_validateException_SourceAndTargetEdge_Constraint1" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter65" name="validateException_SourceAndTargetEdge_Constraint1" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[The exception handler and its input object node are not the source or target of any edge.]]></description> @@ -2637,7 +2687,7 @@ self.structuralFeature.oclAsType(Property).opposite.type = self.object.type]]> <constraint id="org.eclipse.uml2.uml.util.UMLValidator.validateInterruptibleEdge_validateEdge" lang="Java" class="org.eclipse.papyrus.uml.diagram.activity.providers.UMLValidationProvider$Adapter63" name="validateInterruptibleEdge" - mode="Batch" + mode="Live" severity="ERROR" statusCode="200"> <description><![CDATA[Validate the constraint for interruptible Edge]]></description> @@ -3447,6 +3497,16 @@ self.structuralFeature.oclAsType(Property).opposite.type = self.object.type]]> </entry> <entry defineOnly="true" + description="Create a Clear Association Action" + id="createClearAssociationAction3CreationTool" + kind="tool" + label="Clear Association Action" + large_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/ClearAssociationAction.gif" + path="" + small_icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/ClearAssociationAction.gif"> + </entry> + <entry + defineOnly="true" description="Create a Create Link Action node" id="createCreateLinkAction1CreationTool" kind="tool" @@ -4085,6 +4145,10 @@ self.structuralFeature.oclAsType(Property).opposite.type = self.object.type]]> id="createValueSpecificationAction2CreationTool" path="/createNodes1Group/createOtherActionsGroup"> </predefinedEntry> + <predefinedEntry + id="createClearAssociationAction3CreationTool" + path="/createNodes1Group/createOtherActionsGroup"> + </predefinedEntry> <entry description="LinkActions" id="createLinkActionsGroup" |