EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.gmf.seff.part]

COVERAGE SUMMARY FOR SOURCE FILE [PalladioComponentModelVisualIDRegistry.java]

nameclass, %method, %block, %line, %
PalladioComponentModelVisualIDRegistry.java0%   (0/1)0%   (0/10)0%   (0/2315)0%   (0/903)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class PalladioComponentModelVisualIDRegistry0%   (0/1)0%   (0/10)0%   (0/2315)0%   (0/903)
PalladioComponentModelVisualIDRegistry (): void 0%   (0/1)0%   (0/3)0%   (0/1)
canCreateNode (View, int): boolean 0%   (0/1)0%   (0/1079)0%   (0/432)
getDiagramVisualID (EObject): int 0%   (0/1)0%   (0/18)0%   (0/7)
getLinkWithClassVisualID (EObject): int 0%   (0/1)0%   (0/6)0%   (0/3)
getModelID (View): String 0%   (0/1)0%   (0/30)0%   (0/7)
getNodeVisualID (View, EObject): int 0%   (0/1)0%   (0/1137)0%   (0/436)
getType (int): String 0%   (0/1)0%   (0/3)0%   (0/1)
getVisualID (String): int 0%   (0/1)0%   (0/21)0%   (0/9)
getVisualID (View): int 0%   (0/1)0%   (0/16)0%   (0/6)
isDiagram (ResourceDemandingSEFF): boolean 0%   (0/1)0%   (0/2)0%   (0/1)

1/*
2 *Copyright 2006 SDQ Research Group, University of Karlsruhe (TH)
3 */
4package de.uka.ipd.sdq.pcm.gmf.seff.part;
5 
6import org.eclipse.core.runtime.Platform;
7import org.eclipse.emf.ecore.EAnnotation;
8import org.eclipse.emf.ecore.EObject;
9import org.eclipse.gmf.runtime.notation.Diagram;
10import org.eclipse.gmf.runtime.notation.View;
11 
12import de.uka.ipd.sdq.pcm.core.CorePackage;
13import de.uka.ipd.sdq.pcm.gmf.seff.edit.parts.*;
14import de.uka.ipd.sdq.pcm.parameter.ParameterPackage;
15import de.uka.ipd.sdq.pcm.reliability.ReliabilityPackage;
16import de.uka.ipd.sdq.pcm.seff.ResourceDemandingSEFF;
17import de.uka.ipd.sdq.pcm.seff.SeffPackage;
18 
19/**
20 * This registry is used to determine which type of visual object should be
21 * created for the corresponding Diagram, Node, ChildNode or Link represented 
22 * by a domain model object.
23 *
24 * @generated
25 */
26public class PalladioComponentModelVisualIDRegistry {
27 
28        /**
29         * @generated
30         */
31        private static final String DEBUG_KEY = "de.uka.ipd.sdq.pcm.gmf.seff/debug/visualID"; //$NON-NLS-1$
32 
33        /**
34         * @generated
35         */
36        public static int getVisualID(View view) {
37                if (view instanceof Diagram) {
38                        if (ResourceDemandingSEFFEditPart.MODEL_ID.equals(view.getType())) {
39                                return ResourceDemandingSEFFEditPart.VISUAL_ID;
40                        } else {
41                                return -1;
42                        }
43                }
44                return de.uka.ipd.sdq.pcm.gmf.seff.part.PalladioComponentModelVisualIDRegistry
45                                .getVisualID(view.getType());
46        }
47 
48        /**
49         * @generated
50         */
51        public static String getModelID(View view) {
52                View diagram = view.getDiagram();
53                while (view != diagram) {
54                        EAnnotation annotation = view.getEAnnotation("Shortcut"); //$NON-NLS-1$
55                        if (annotation != null) {
56                                return (String) annotation.getDetails().get("modelID"); //$NON-NLS-1$
57                        }
58                        view = (View) view.eContainer();
59                }
60                return diagram != null ? diagram.getType() : null;
61        }
62 
63        /**
64         * @generated
65         */
66        public static int getVisualID(String type) {
67                try {
68                        return Integer.parseInt(type);
69                } catch (NumberFormatException e) {
70                        if (Boolean.TRUE.toString().equalsIgnoreCase(
71                                        Platform.getDebugOption(DEBUG_KEY))) {
72                                PalladioComponentModelSeffDiagramEditorPlugin.getInstance()
73                                                .logError(
74                                                                "Unable to parse view type as a visualID number: "
75                                                                                + type);
76                        }
77                }
78                return -1;
79        }
80 
81        /**
82         * @generated
83         */
84        public static String getType(int visualID) {
85                return String.valueOf(visualID);
86        }
87 
88        /**
89         * @generated
90         */
91        public static int getDiagramVisualID(EObject domainElement) {
92                if (domainElement == null) {
93                        return -1;
94                }
95                if (SeffPackage.eINSTANCE.getResourceDemandingSEFF().isSuperTypeOf(
96                                domainElement.eClass())
97                                && isDiagram((ResourceDemandingSEFF) domainElement)) {
98                        return ResourceDemandingSEFFEditPart.VISUAL_ID;
99                }
100                return -1;
101        }
102 
103        /**
104         * @generated
105         */
106        public static int getNodeVisualID(View containerView, EObject domainElement) {
107                if (domainElement == null) {
108                        return -1;
109                }
110                String containerModelID = de.uka.ipd.sdq.pcm.gmf.seff.part.PalladioComponentModelVisualIDRegistry
111                                .getModelID(containerView);
112                if (!ResourceDemandingSEFFEditPart.MODEL_ID.equals(containerModelID)) {
113                        return -1;
114                }
115                int containerVisualID;
116                if (ResourceDemandingSEFFEditPart.MODEL_ID.equals(containerModelID)) {
117                        containerVisualID = de.uka.ipd.sdq.pcm.gmf.seff.part.PalladioComponentModelVisualIDRegistry
118                                        .getVisualID(containerView);
119                } else {
120                        if (containerView instanceof Diagram) {
121                                containerVisualID = ResourceDemandingSEFFEditPart.VISUAL_ID;
122                        } else {
123                                return -1;
124                        }
125                }
126                switch (containerVisualID) {
127                case LoopActionEditPart.VISUAL_ID:
128                        if (SeffPackage.eINSTANCE.getResourceDemandingBehaviour()
129                                        .isSuperTypeOf(domainElement.eClass())) {
130                                return ResourceDemandingBehaviourEditPart.VISUAL_ID;
131                        }
132                        break;
133                case CollectionIteratorActionEditPart.VISUAL_ID:
134                        if (SeffPackage.eINSTANCE.getResourceDemandingBehaviour()
135                                        .isSuperTypeOf(domainElement.eClass())) {
136                                return ResourceDemandingBehaviour3EditPart.VISUAL_ID;
137                        }
138                        break;
139                case LoopAction2EditPart.VISUAL_ID:
140                        if (SeffPackage.eINSTANCE.getResourceDemandingBehaviour()
141                                        .isSuperTypeOf(domainElement.eClass())) {
142                                return ResourceDemandingBehaviourEditPart.VISUAL_ID;
143                        }
144                        break;
145                case ProbabilisticBranchTransitionEditPart.VISUAL_ID:
146                        if (SeffPackage.eINSTANCE.getResourceDemandingBehaviour()
147                                        .isSuperTypeOf(domainElement.eClass())) {
148                                return ResourceDemandingBehaviour2EditPart.VISUAL_ID;
149                        }
150                        break;
151                case CollectionIteratorAction2EditPart.VISUAL_ID:
152                        if (SeffPackage.eINSTANCE.getResourceDemandingBehaviour()
153                                        .isSuperTypeOf(domainElement.eClass())) {
154                                return ResourceDemandingBehaviour3EditPart.VISUAL_ID;
155                        }
156                        break;
157                case GuardedBranchTransitionEditPart.VISUAL_ID:
158                        if (SeffPackage.eINSTANCE.getResourceDemandingBehaviour()
159                                        .isSuperTypeOf(domainElement.eClass())) {
160                                return ResourceDemandingBehaviour4EditPart.VISUAL_ID;
161                        }
162                        break;
163                case ExternalCallActionInputVariableUsageEditPart.VISUAL_ID:
164                        if (ParameterPackage.eINSTANCE.getVariableUsage().isSuperTypeOf(
165                                        domainElement.eClass())) {
166                                return VariableUsageEditPart.VISUAL_ID;
167                        }
168                        break;
169                case ExternalCallActionOutputVariableUsageEditPart.VISUAL_ID:
170                        if (ParameterPackage.eINSTANCE.getVariableUsage().isSuperTypeOf(
171                                        domainElement.eClass())) {
172                                return VariableUsage2EditPart.VISUAL_ID;
173                        }
174                        break;
175                case VariableUsageVariableCharacterisationEditPart.VISUAL_ID:
176                        if (ParameterPackage.eINSTANCE.getVariableCharacterisation()
177                                        .isSuperTypeOf(domainElement.eClass())) {
178                                return VariableCharacterisationEditPart.VISUAL_ID;
179                        }
180                        break;
181                case VariableUsageVariableCharacterisation2EditPart.VISUAL_ID:
182                        if (ParameterPackage.eINSTANCE.getVariableCharacterisation()
183                                        .isSuperTypeOf(domainElement.eClass())) {
184                                return VariableCharacterisation2EditPart.VISUAL_ID;
185                        }
186                        break;
187                case EmitEventActionInputVariableUsageEventEditPart.VISUAL_ID:
188                        if (ParameterPackage.eINSTANCE.getVariableUsage().isSuperTypeOf(
189                                        domainElement.eClass())) {
190                                return VariableUsage4EditPart.VISUAL_ID;
191                        }
192                        break;
193                case VariableUsageVariableCharacterisation4EditPart.VISUAL_ID:
194                        if (ParameterPackage.eINSTANCE.getVariableCharacterisation()
195                                        .isSuperTypeOf(domainElement.eClass())) {
196                                return VariableCharacterisation3EditPart.VISUAL_ID;
197                        }
198                        break;
199                case ResourceDemandingBehaviourBehaviourCompartmentEditPart.VISUAL_ID:
200                        if (SeffPackage.eINSTANCE.getStartAction().isSuperTypeOf(
201                                        domainElement.eClass())) {
202                                return StartAction2EditPart.VISUAL_ID;
203                        }
204                        if (SeffPackage.eINSTANCE.getStopAction().isSuperTypeOf(
205                                        domainElement.eClass())) {
206                                return StopAction2EditPart.VISUAL_ID;
207                        }
208                        if (SeffPackage.eINSTANCE.getLoopAction().isSuperTypeOf(
209                                        domainElement.eClass())) {
210                                return LoopAction2EditPart.VISUAL_ID;
211                        }
212                        if (SeffPackage.eINSTANCE.getInternalAction().isSuperTypeOf(
213                                        domainElement.eClass())) {
214                                return InternalAction2EditPart.VISUAL_ID;
215                        }
216                        if (SeffPackage.eINSTANCE.getBranchAction().isSuperTypeOf(
217                                        domainElement.eClass())) {
218                                return BranchAction2EditPart.VISUAL_ID;
219                        }
220                        if (SeffPackage.eINSTANCE.getExternalCallAction().isSuperTypeOf(
221                                        domainElement.eClass())) {
222                                return ExternalCallAction2EditPart.VISUAL_ID;
223                        }
224                        if (SeffPackage.eINSTANCE.getEmitEventAction().isSuperTypeOf(
225                                        domainElement.eClass())) {
226                                return EmitEventAction2EditPart.VISUAL_ID;
227                        }
228                        if (SeffPackage.eINSTANCE.getCollectionIteratorAction()
229                                        .isSuperTypeOf(domainElement.eClass())) {
230                                return CollectionIteratorAction2EditPart.VISUAL_ID;
231                        }
232                        if (SeffPackage.eINSTANCE.getAcquireAction().isSuperTypeOf(
233                                        domainElement.eClass())) {
234                                return AcquireAction2EditPart.VISUAL_ID;
235                        }
236                        if (SeffPackage.eINSTANCE.getReleaseAction().isSuperTypeOf(
237                                        domainElement.eClass())) {
238                                return ReleaseAction2EditPart.VISUAL_ID;
239                        }
240                        if (SeffPackage.eINSTANCE.getForkAction().isSuperTypeOf(
241                                        domainElement.eClass())) {
242                                return ForkAction2EditPart.VISUAL_ID;
243                        }
244                        if (SeffPackage.eINSTANCE.getSetVariableAction().isSuperTypeOf(
245                                        domainElement.eClass())) {
246                                return SetVariableAction2EditPart.VISUAL_ID;
247                        }
248                        if (de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage.eINSTANCE
249                                        .getRecoveryAction().isSuperTypeOf(domainElement.eClass())) {
250                                return RecoveryAction2EditPart.VISUAL_ID;
251                        }
252                        break;
253                case InternalActionResourceDemandEditPart.VISUAL_ID:
254                        if (de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage.eINSTANCE
255                                        .getParametricResourceDemand().isSuperTypeOf(
256                                                        domainElement.eClass())) {
257                                return ParametricResourceDemandEditPart.VISUAL_ID;
258                        }
259                        break;
260                case InternalActionFailureOccurrenceDescriptionsEditPart.VISUAL_ID:
261                        if (ReliabilityPackage.eINSTANCE
262                                        .getInternalFailureOccurrenceDescription().isSuperTypeOf(
263                                                        domainElement.eClass())) {
264                                return InternalFailureOccurrenceDescriptionEditPart.VISUAL_ID;
265                        }
266                        break;
267                case InternalActionInfrastructureCallsCompartmentEditPart.VISUAL_ID:
268                        if (de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage.eINSTANCE
269                                        .getInfrastructureCall().isSuperTypeOf(
270                                                        domainElement.eClass())) {
271                                return InfrastructureCallEditPart.VISUAL_ID;
272                        }
273                        break;
274                case InfrastructureCallInfrastructureCallInputVariableUsagesEditPart.VISUAL_ID:
275                        if (ParameterPackage.eINSTANCE.getVariableUsage().isSuperTypeOf(
276                                        domainElement.eClass())) {
277                                return VariableUsage5EditPart.VISUAL_ID;
278                        }
279                        break;
280                case VariableUsageVariableCharacterisation5EditPart.VISUAL_ID:
281                        if (ParameterPackage.eINSTANCE.getVariableCharacterisation()
282                                        .isSuperTypeOf(domainElement.eClass())) {
283                                return VariableCharacterisation4EditPart.VISUAL_ID;
284                        }
285                        break;
286                case BranchActionBranchTransitionCompartmentEditPart.VISUAL_ID:
287                        if (SeffPackage.eINSTANCE.getProbabilisticBranchTransition()
288                                        .isSuperTypeOf(domainElement.eClass())) {
289                                return ProbabilisticBranchTransitionEditPart.VISUAL_ID;
290                        }
291                        if (SeffPackage.eINSTANCE.getGuardedBranchTransition()
292                                        .isSuperTypeOf(domainElement.eClass())) {
293                                return GuardedBranchTransitionEditPart.VISUAL_ID;
294                        }
295                        break;
296                case ResourceDemandingBehaviourBehaviourCompartment2EditPart.VISUAL_ID:
297                        if (SeffPackage.eINSTANCE.getStartAction().isSuperTypeOf(
298                                        domainElement.eClass())) {
299                                return StartAction2EditPart.VISUAL_ID;
300                        }
301                        if (SeffPackage.eINSTANCE.getStopAction().isSuperTypeOf(
302                                        domainElement.eClass())) {
303                                return StopAction2EditPart.VISUAL_ID;
304                        }
305                        if (SeffPackage.eINSTANCE.getLoopAction().isSuperTypeOf(
306                                        domainElement.eClass())) {
307                                return LoopAction2EditPart.VISUAL_ID;
308                        }
309                        if (SeffPackage.eINSTANCE.getInternalAction().isSuperTypeOf(
310                                        domainElement.eClass())) {
311                                return InternalAction2EditPart.VISUAL_ID;
312                        }
313                        if (SeffPackage.eINSTANCE.getBranchAction().isSuperTypeOf(
314                                        domainElement.eClass())) {
315                                return BranchAction2EditPart.VISUAL_ID;
316                        }
317                        if (SeffPackage.eINSTANCE.getExternalCallAction().isSuperTypeOf(
318                                        domainElement.eClass())) {
319                                return ExternalCallAction2EditPart.VISUAL_ID;
320                        }
321                        if (SeffPackage.eINSTANCE.getEmitEventAction().isSuperTypeOf(
322                                        domainElement.eClass())) {
323                                return EmitEventAction2EditPart.VISUAL_ID;
324                        }
325                        if (SeffPackage.eINSTANCE.getAcquireAction().isSuperTypeOf(
326                                        domainElement.eClass())) {
327                                return AcquireAction2EditPart.VISUAL_ID;
328                        }
329                        if (SeffPackage.eINSTANCE.getReleaseAction().isSuperTypeOf(
330                                        domainElement.eClass())) {
331                                return ReleaseAction2EditPart.VISUAL_ID;
332                        }
333                        if (SeffPackage.eINSTANCE.getForkAction().isSuperTypeOf(
334                                        domainElement.eClass())) {
335                                return ForkAction2EditPart.VISUAL_ID;
336                        }
337                        if (SeffPackage.eINSTANCE.getCollectionIteratorAction()
338                                        .isSuperTypeOf(domainElement.eClass())) {
339                                return CollectionIteratorAction2EditPart.VISUAL_ID;
340                        }
341                        if (SeffPackage.eINSTANCE.getSetVariableAction().isSuperTypeOf(
342                                        domainElement.eClass())) {
343                                return SetVariableAction2EditPart.VISUAL_ID;
344                        }
345                        if (de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage.eINSTANCE
346                                        .getRecoveryAction().isSuperTypeOf(domainElement.eClass())) {
347                                return RecoveryAction2EditPart.VISUAL_ID;
348                        }
349                        break;
350                case ExternalCallActionInputVariableUsage2EditPart.VISUAL_ID:
351                        if (ParameterPackage.eINSTANCE.getVariableUsage().isSuperTypeOf(
352                                        domainElement.eClass())) {
353                                return VariableUsageEditPart.VISUAL_ID;
354                        }
355                        break;
356                case ExternalCallActionOutputVariableUsage2EditPart.VISUAL_ID:
357                        if (ParameterPackage.eINSTANCE.getVariableUsage().isSuperTypeOf(
358                                        domainElement.eClass())) {
359                                return VariableUsage2EditPart.VISUAL_ID;
360                        }
361                        break;
362                case EmitEventActionInputVariableUsageEvent2EditPart.VISUAL_ID:
363                        if (ParameterPackage.eINSTANCE.getVariableUsage().isSuperTypeOf(
364                                        domainElement.eClass())) {
365                                return VariableUsage4EditPart.VISUAL_ID;
366                        }
367                        break;
368                case ForkActionForkedBehavioursEditPart.VISUAL_ID:
369                        if (SeffPackage.eINSTANCE.getForkedBehaviour().isSuperTypeOf(
370                                        domainElement.eClass())) {
371                                return ForkedBehaviourEditPart.VISUAL_ID;
372                        }
373                        if (SeffPackage.eINSTANCE.getSynchronisationPoint().isSuperTypeOf(
374                                        domainElement.eClass())) {
375                                return SynchronisationPointEditPart.VISUAL_ID;
376                        }
377                        break;
378                case ForkedBehaviourBehaviourCompartmentEditPart.VISUAL_ID:
379                        if (SeffPackage.eINSTANCE.getStartAction().isSuperTypeOf(
380                                        domainElement.eClass())) {
381                                return StartAction2EditPart.VISUAL_ID;
382                        }
383                        if (SeffPackage.eINSTANCE.getStopAction().isSuperTypeOf(
384                                        domainElement.eClass())) {
385                                return StopAction2EditPart.VISUAL_ID;
386                        }
387                        if (SeffPackage.eINSTANCE.getLoopAction().isSuperTypeOf(
388                                        domainElement.eClass())) {
389                                return LoopAction2EditPart.VISUAL_ID;
390                        }
391                        if (SeffPackage.eINSTANCE.getInternalAction().isSuperTypeOf(
392                                        domainElement.eClass())) {
393                                return InternalAction2EditPart.VISUAL_ID;
394                        }
395                        if (SeffPackage.eINSTANCE.getBranchAction().isSuperTypeOf(
396                                        domainElement.eClass())) {
397                                return BranchAction2EditPart.VISUAL_ID;
398                        }
399                        if (SeffPackage.eINSTANCE.getExternalCallAction().isSuperTypeOf(
400                                        domainElement.eClass())) {
401                                return ExternalCallAction2EditPart.VISUAL_ID;
402                        }
403                        if (SeffPackage.eINSTANCE.getEmitEventAction().isSuperTypeOf(
404                                        domainElement.eClass())) {
405                                return EmitEventAction2EditPart.VISUAL_ID;
406                        }
407                        if (SeffPackage.eINSTANCE.getCollectionIteratorAction()
408                                        .isSuperTypeOf(domainElement.eClass())) {
409                                return CollectionIteratorAction2EditPart.VISUAL_ID;
410                        }
411                        if (SeffPackage.eINSTANCE.getAcquireAction().isSuperTypeOf(
412                                        domainElement.eClass())) {
413                                return AcquireAction2EditPart.VISUAL_ID;
414                        }
415                        if (SeffPackage.eINSTANCE.getReleaseAction().isSuperTypeOf(
416                                        domainElement.eClass())) {
417                                return ReleaseAction2EditPart.VISUAL_ID;
418                        }
419                        if (SeffPackage.eINSTANCE.getForkAction().isSuperTypeOf(
420                                        domainElement.eClass())) {
421                                return ForkAction2EditPart.VISUAL_ID;
422                        }
423                        if (de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage.eINSTANCE
424                                        .getRecoveryAction().isSuperTypeOf(domainElement.eClass())) {
425                                return RecoveryAction2EditPart.VISUAL_ID;
426                        }
427                        break;
428                case ResourceDemandingBehaviourBehaviourCompartment3EditPart.VISUAL_ID:
429                        if (SeffPackage.eINSTANCE.getStartAction().isSuperTypeOf(
430                                        domainElement.eClass())) {
431                                return StartAction2EditPart.VISUAL_ID;
432                        }
433                        if (SeffPackage.eINSTANCE.getStopAction().isSuperTypeOf(
434                                        domainElement.eClass())) {
435                                return StopAction2EditPart.VISUAL_ID;
436                        }
437                        if (SeffPackage.eINSTANCE.getLoopAction().isSuperTypeOf(
438                                        domainElement.eClass())) {
439                                return LoopAction2EditPart.VISUAL_ID;
440                        }
441                        if (SeffPackage.eINSTANCE.getInternalAction().isSuperTypeOf(
442                                        domainElement.eClass())) {
443                                return InternalAction2EditPart.VISUAL_ID;
444                        }
445                        if (SeffPackage.eINSTANCE.getBranchAction().isSuperTypeOf(
446                                        domainElement.eClass())) {
447                                return BranchAction2EditPart.VISUAL_ID;
448                        }
449                        if (SeffPackage.eINSTANCE.getExternalCallAction().isSuperTypeOf(
450                                        domainElement.eClass())) {
451                                return ExternalCallAction2EditPart.VISUAL_ID;
452                        }
453                        if (SeffPackage.eINSTANCE.getEmitEventAction().isSuperTypeOf(
454                                        domainElement.eClass())) {
455                                return EmitEventAction2EditPart.VISUAL_ID;
456                        }
457                        if (SeffPackage.eINSTANCE.getCollectionIteratorAction()
458                                        .isSuperTypeOf(domainElement.eClass())) {
459                                return CollectionIteratorAction2EditPart.VISUAL_ID;
460                        }
461                        if (SeffPackage.eINSTANCE.getAcquireAction().isSuperTypeOf(
462                                        domainElement.eClass())) {
463                                return AcquireAction2EditPart.VISUAL_ID;
464                        }
465                        if (SeffPackage.eINSTANCE.getReleaseAction().isSuperTypeOf(
466                                        domainElement.eClass())) {
467                                return ReleaseAction2EditPart.VISUAL_ID;
468                        }
469                        if (SeffPackage.eINSTANCE.getForkAction().isSuperTypeOf(
470                                        domainElement.eClass())) {
471                                return ForkAction2EditPart.VISUAL_ID;
472                        }
473                        if (de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage.eINSTANCE
474                                        .getRecoveryAction().isSuperTypeOf(domainElement.eClass())) {
475                                return RecoveryAction2EditPart.VISUAL_ID;
476                        }
477                        break;
478                case RecoveryActionRecoveryBlockCompartmentEditPart.VISUAL_ID:
479                        if (de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage.eINSTANCE
480                                        .getRecoveryActionBehaviour().isSuperTypeOf(
481                                                        domainElement.eClass())) {
482                                return RecoveryActionBehaviourEditPart.VISUAL_ID;
483                        }
484                        break;
485                case RecoveryActionBehaviourAlternativeBehaviourCompartmentEditPart.VISUAL_ID:
486                        if (SeffPackage.eINSTANCE.getStartAction().isSuperTypeOf(
487                                        domainElement.eClass())) {
488                                return StartAction2EditPart.VISUAL_ID;
489                        }
490                        if (SeffPackage.eINSTANCE.getStopAction().isSuperTypeOf(
491                                        domainElement.eClass())) {
492                                return StopAction2EditPart.VISUAL_ID;
493                        }
494                        if (SeffPackage.eINSTANCE.getLoopAction().isSuperTypeOf(
495                                        domainElement.eClass())) {
496                                return LoopAction2EditPart.VISUAL_ID;
497                        }
498                        if (SeffPackage.eINSTANCE.getInternalAction().isSuperTypeOf(
499                                        domainElement.eClass())) {
500                                return InternalAction2EditPart.VISUAL_ID;
501                        }
502                        if (SeffPackage.eINSTANCE.getBranchAction().isSuperTypeOf(
503                                        domainElement.eClass())) {
504                                return BranchAction2EditPart.VISUAL_ID;
505                        }
506                        if (SeffPackage.eINSTANCE.getExternalCallAction().isSuperTypeOf(
507                                        domainElement.eClass())) {
508                                return ExternalCallAction2EditPart.VISUAL_ID;
509                        }
510                        if (SeffPackage.eINSTANCE.getEmitEventAction().isSuperTypeOf(
511                                        domainElement.eClass())) {
512                                return EmitEventAction2EditPart.VISUAL_ID;
513                        }
514                        if (SeffPackage.eINSTANCE.getCollectionIteratorAction()
515                                        .isSuperTypeOf(domainElement.eClass())) {
516                                return CollectionIteratorAction2EditPart.VISUAL_ID;
517                        }
518                        if (SeffPackage.eINSTANCE.getAcquireAction().isSuperTypeOf(
519                                        domainElement.eClass())) {
520                                return AcquireAction2EditPart.VISUAL_ID;
521                        }
522                        if (SeffPackage.eINSTANCE.getReleaseAction().isSuperTypeOf(
523                                        domainElement.eClass())) {
524                                return ReleaseAction2EditPart.VISUAL_ID;
525                        }
526                        if (SeffPackage.eINSTANCE.getForkAction().isSuperTypeOf(
527                                        domainElement.eClass())) {
528                                return ForkAction2EditPart.VISUAL_ID;
529                        }
530                        if (SeffPackage.eINSTANCE.getSetVariableAction().isSuperTypeOf(
531                                        domainElement.eClass())) {
532                                return SetVariableAction2EditPart.VISUAL_ID;
533                        }
534                        if (de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage.eINSTANCE
535                                        .getRecoveryAction().isSuperTypeOf(domainElement.eClass())) {
536                                return RecoveryAction2EditPart.VISUAL_ID;
537                        }
538                        break;
539                case SetVariableActionVariableSetterEditPart.VISUAL_ID:
540                        if (ParameterPackage.eINSTANCE.getVariableUsage().isSuperTypeOf(
541                                        domainElement.eClass())) {
542                                return VariableUsage3EditPart.VISUAL_ID;
543                        }
544                        break;
545                case VariableUsageVariableCharacterisation3EditPart.VISUAL_ID:
546                        if (ParameterPackage.eINSTANCE.getVariableCharacterisation()
547                                        .isSuperTypeOf(domainElement.eClass())) {
548                                return VariableCharacterisation5EditPart.VISUAL_ID;
549                        }
550                        break;
551                case SynchronisationPointSynchronisationPointEditPart.VISUAL_ID:
552                        if (SeffPackage.eINSTANCE.getForkedBehaviour().isSuperTypeOf(
553                                        domainElement.eClass())) {
554                                return ForkedBehaviour2EditPart.VISUAL_ID;
555                        }
556                        break;
557                case ForkedBehaviourSynchronisationPointForkedBehavioursEditPart.VISUAL_ID:
558                        if (SeffPackage.eINSTANCE.getStartAction().isSuperTypeOf(
559                                        domainElement.eClass())) {
560                                return StartAction2EditPart.VISUAL_ID;
561                        }
562                        if (SeffPackage.eINSTANCE.getStopAction().isSuperTypeOf(
563                                        domainElement.eClass())) {
564                                return StopAction2EditPart.VISUAL_ID;
565                        }
566                        if (SeffPackage.eINSTANCE.getLoopAction().isSuperTypeOf(
567                                        domainElement.eClass())) {
568                                return LoopAction2EditPart.VISUAL_ID;
569                        }
570                        if (SeffPackage.eINSTANCE.getInternalAction().isSuperTypeOf(
571                                        domainElement.eClass())) {
572                                return InternalAction2EditPart.VISUAL_ID;
573                        }
574                        if (SeffPackage.eINSTANCE.getBranchAction().isSuperTypeOf(
575                                        domainElement.eClass())) {
576                                return BranchAction2EditPart.VISUAL_ID;
577                        }
578                        if (SeffPackage.eINSTANCE.getExternalCallAction().isSuperTypeOf(
579                                        domainElement.eClass())) {
580                                return ExternalCallAction2EditPart.VISUAL_ID;
581                        }
582                        if (SeffPackage.eINSTANCE.getEmitEventAction().isSuperTypeOf(
583                                        domainElement.eClass())) {
584                                return EmitEventAction2EditPart.VISUAL_ID;
585                        }
586                        if (SeffPackage.eINSTANCE.getCollectionIteratorAction()
587                                        .isSuperTypeOf(domainElement.eClass())) {
588                                return CollectionIteratorAction2EditPart.VISUAL_ID;
589                        }
590                        if (SeffPackage.eINSTANCE.getAcquireAction().isSuperTypeOf(
591                                        domainElement.eClass())) {
592                                return AcquireAction2EditPart.VISUAL_ID;
593                        }
594                        if (SeffPackage.eINSTANCE.getReleaseAction().isSuperTypeOf(
595                                        domainElement.eClass())) {
596                                return ReleaseAction2EditPart.VISUAL_ID;
597                        }
598                        if (SeffPackage.eINSTANCE.getForkAction().isSuperTypeOf(
599                                        domainElement.eClass())) {
600                                return ForkAction2EditPart.VISUAL_ID;
601                        }
602                        if (de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage.eINSTANCE
603                                        .getRecoveryAction().isSuperTypeOf(domainElement.eClass())) {
604                                return RecoveryAction2EditPart.VISUAL_ID;
605                        }
606                        break;
607                case ResourceDemandingBehaviourBehaviourCompartment4EditPart.VISUAL_ID:
608                        if (SeffPackage.eINSTANCE.getStartAction().isSuperTypeOf(
609                                        domainElement.eClass())) {
610                                return StartAction2EditPart.VISUAL_ID;
611                        }
612                        if (SeffPackage.eINSTANCE.getStopAction().isSuperTypeOf(
613                                        domainElement.eClass())) {
614                                return StopAction2EditPart.VISUAL_ID;
615                        }
616                        if (SeffPackage.eINSTANCE.getLoopAction().isSuperTypeOf(
617                                        domainElement.eClass())) {
618                                return LoopAction2EditPart.VISUAL_ID;
619                        }
620                        if (SeffPackage.eINSTANCE.getInternalAction().isSuperTypeOf(
621                                        domainElement.eClass())) {
622                                return InternalAction2EditPart.VISUAL_ID;
623                        }
624                        if (SeffPackage.eINSTANCE.getBranchAction().isSuperTypeOf(
625                                        domainElement.eClass())) {
626                                return BranchAction2EditPart.VISUAL_ID;
627                        }
628                        if (SeffPackage.eINSTANCE.getExternalCallAction().isSuperTypeOf(
629                                        domainElement.eClass())) {
630                                return ExternalCallAction2EditPart.VISUAL_ID;
631                        }
632                        if (SeffPackage.eINSTANCE.getEmitEventAction().isSuperTypeOf(
633                                        domainElement.eClass())) {
634                                return EmitEventAction2EditPart.VISUAL_ID;
635                        }
636                        if (SeffPackage.eINSTANCE.getAcquireAction().isSuperTypeOf(
637                                        domainElement.eClass())) {
638                                return AcquireAction2EditPart.VISUAL_ID;
639                        }
640                        if (SeffPackage.eINSTANCE.getReleaseAction().isSuperTypeOf(
641                                        domainElement.eClass())) {
642                                return ReleaseAction2EditPart.VISUAL_ID;
643                        }
644                        if (SeffPackage.eINSTANCE.getForkAction().isSuperTypeOf(
645                                        domainElement.eClass())) {
646                                return ForkAction2EditPart.VISUAL_ID;
647                        }
648                        if (SeffPackage.eINSTANCE.getCollectionIteratorAction()
649                                        .isSuperTypeOf(domainElement.eClass())) {
650                                return CollectionIteratorAction2EditPart.VISUAL_ID;
651                        }
652                        if (SeffPackage.eINSTANCE.getSetVariableAction().isSuperTypeOf(
653                                        domainElement.eClass())) {
654                                return SetVariableAction2EditPart.VISUAL_ID;
655                        }
656                        if (de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage.eINSTANCE
657                                        .getRecoveryAction().isSuperTypeOf(domainElement.eClass())) {
658                                return RecoveryAction2EditPart.VISUAL_ID;
659                        }
660                        break;
661                case BranchActionBranchTransitionCompartment2EditPart.VISUAL_ID:
662                        if (SeffPackage.eINSTANCE.getProbabilisticBranchTransition()
663                                        .isSuperTypeOf(domainElement.eClass())) {
664                                return ProbabilisticBranchTransitionEditPart.VISUAL_ID;
665                        }
666                        if (SeffPackage.eINSTANCE.getGuardedBranchTransition()
667                                        .isSuperTypeOf(domainElement.eClass())) {
668                                return GuardedBranchTransitionEditPart.VISUAL_ID;
669                        }
670                        break;
671                case InternalActionResourceDemand2EditPart.VISUAL_ID:
672                        if (de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage.eINSTANCE
673                                        .getParametricResourceDemand().isSuperTypeOf(
674                                                        domainElement.eClass())) {
675                                return ParametricResourceDemandEditPart.VISUAL_ID;
676                        }
677                        break;
678                case InternalActionFailureOccurrenceDescriptions2EditPart.VISUAL_ID:
679                        if (ReliabilityPackage.eINSTANCE
680                                        .getInternalFailureOccurrenceDescription().isSuperTypeOf(
681                                                        domainElement.eClass())) {
682                                return InternalFailureOccurrenceDescriptionEditPart.VISUAL_ID;
683                        }
684                        break;
685                case InternalActionInfrastructureCallsCompartment2EditPart.VISUAL_ID:
686                        if (de.uka.ipd.sdq.pcm.seff.seff_performance.Seff_performancePackage.eINSTANCE
687                                        .getInfrastructureCall().isSuperTypeOf(
688                                                        domainElement.eClass())) {
689                                return InfrastructureCallEditPart.VISUAL_ID;
690                        }
691                        break;
692                case SetVariableActionVariableSetter2EditPart.VISUAL_ID:
693                        if (ParameterPackage.eINSTANCE.getVariableUsage().isSuperTypeOf(
694                                        domainElement.eClass())) {
695                                return VariableUsage3EditPart.VISUAL_ID;
696                        }
697                        break;
698                case ForkActionForkedBehaviours2EditPart.VISUAL_ID:
699                        if (SeffPackage.eINSTANCE.getForkedBehaviour().isSuperTypeOf(
700                                        domainElement.eClass())) {
701                                return ForkedBehaviourEditPart.VISUAL_ID;
702                        }
703                        if (SeffPackage.eINSTANCE.getSynchronisationPoint().isSuperTypeOf(
704                                        domainElement.eClass())) {
705                                return SynchronisationPointEditPart.VISUAL_ID;
706                        }
707                        break;
708                case RecoveryActionRecoveryBlockCompartment2EditPart.VISUAL_ID:
709                        if (de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage.eINSTANCE
710                                        .getRecoveryActionBehaviour().isSuperTypeOf(
711                                                        domainElement.eClass())) {
712                                return RecoveryActionBehaviourEditPart.VISUAL_ID;
713                        }
714                        break;
715                case ResourceDemandingSEFFEditPart.VISUAL_ID:
716                        if (SeffPackage.eINSTANCE.getStartAction().isSuperTypeOf(
717                                        domainElement.eClass())) {
718                                return StartActionEditPart.VISUAL_ID;
719                        }
720                        if (SeffPackage.eINSTANCE.getStopAction().isSuperTypeOf(
721                                        domainElement.eClass())) {
722                                return StopActionEditPart.VISUAL_ID;
723                        }
724                        if (SeffPackage.eINSTANCE.getExternalCallAction().isSuperTypeOf(
725                                        domainElement.eClass())) {
726                                return ExternalCallActionEditPart.VISUAL_ID;
727                        }
728                        if (SeffPackage.eINSTANCE.getEmitEventAction().isSuperTypeOf(
729                                        domainElement.eClass())) {
730                                return EmitEventActionEditPart.VISUAL_ID;
731                        }
732                        if (SeffPackage.eINSTANCE.getLoopAction().isSuperTypeOf(
733                                        domainElement.eClass())) {
734                                return LoopActionEditPart.VISUAL_ID;
735                        }
736                        if (SeffPackage.eINSTANCE.getBranchAction().isSuperTypeOf(
737                                        domainElement.eClass())) {
738                                return BranchActionEditPart.VISUAL_ID;
739                        }
740                        if (SeffPackage.eINSTANCE.getInternalAction().isSuperTypeOf(
741                                        domainElement.eClass())) {
742                                return InternalActionEditPart.VISUAL_ID;
743                        }
744                        if (SeffPackage.eINSTANCE.getCollectionIteratorAction()
745                                        .isSuperTypeOf(domainElement.eClass())) {
746                                return CollectionIteratorActionEditPart.VISUAL_ID;
747                        }
748                        if (SeffPackage.eINSTANCE.getSetVariableAction().isSuperTypeOf(
749                                        domainElement.eClass())) {
750                                return SetVariableActionEditPart.VISUAL_ID;
751                        }
752                        if (SeffPackage.eINSTANCE.getAcquireAction().isSuperTypeOf(
753                                        domainElement.eClass())) {
754                                return AcquireActionEditPart.VISUAL_ID;
755                        }
756                        if (SeffPackage.eINSTANCE.getReleaseAction().isSuperTypeOf(
757                                        domainElement.eClass())) {
758                                return ReleaseActionEditPart.VISUAL_ID;
759                        }
760                        if (SeffPackage.eINSTANCE.getForkAction().isSuperTypeOf(
761                                        domainElement.eClass())) {
762                                return ForkActionEditPart.VISUAL_ID;
763                        }
764                        if (de.uka.ipd.sdq.pcm.seff.seff_reliability.Seff_reliabilityPackage.eINSTANCE
765                                        .getRecoveryAction().isSuperTypeOf(domainElement.eClass())) {
766                                return RecoveryActionEditPart.VISUAL_ID;
767                        }
768                        break;
769                }
770                return -1;
771        }
772 
773        /**
774         * @generated
775         */
776        public static boolean canCreateNode(View containerView, int nodeVisualID) {
777                String containerModelID = de.uka.ipd.sdq.pcm.gmf.seff.part.PalladioComponentModelVisualIDRegistry
778                                .getModelID(containerView);
779                if (!ResourceDemandingSEFFEditPart.MODEL_ID.equals(containerModelID)) {
780                        return false;
781                }
782                int containerVisualID;
783                if (ResourceDemandingSEFFEditPart.MODEL_ID.equals(containerModelID)) {
784                        containerVisualID = de.uka.ipd.sdq.pcm.gmf.seff.part.PalladioComponentModelVisualIDRegistry
785                                        .getVisualID(containerView);
786                } else {
787                        if (containerView instanceof Diagram) {
788                                containerVisualID = ResourceDemandingSEFFEditPart.VISUAL_ID;
789                        } else {
790                                return false;
791                        }
792                }
793                switch (containerVisualID) {
794                case ExternalCallActionEditPart.VISUAL_ID:
795                        if (ExternalCallActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
796                                return true;
797                        }
798                        if (ExternalCallActionInputVariableUsageEditPart.VISUAL_ID == nodeVisualID) {
799                                return true;
800                        }
801                        if (ExternalCallActionOutputVariableUsageEditPart.VISUAL_ID == nodeVisualID) {
802                                return true;
803                        }
804                        break;
805                case EmitEventActionEditPart.VISUAL_ID:
806                        if (EmitEventActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
807                                return true;
808                        }
809                        if (EmitEventActionInputVariableUsageEventEditPart.VISUAL_ID == nodeVisualID) {
810                                return true;
811                        }
812                        break;
813                case LoopActionEditPart.VISUAL_ID:
814                        if (LoopActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
815                                return true;
816                        }
817                        if (LoopIterationsLabelEditPart.VISUAL_ID == nodeVisualID) {
818                                return true;
819                        }
820                        if (ResourceDemandingBehaviourEditPart.VISUAL_ID == nodeVisualID) {
821                                return true;
822                        }
823                        break;
824                case BranchActionEditPart.VISUAL_ID:
825                        if (BranchActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
826                                return true;
827                        }
828                        if (BranchActionBranchTransitionCompartment2EditPart.VISUAL_ID == nodeVisualID) {
829                                return true;
830                        }
831                        break;
832                case InternalActionEditPart.VISUAL_ID:
833                        if (InternalActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
834                                return true;
835                        }
836                        if (InternalActionResourceDemand2EditPart.VISUAL_ID == nodeVisualID) {
837                                return true;
838                        }
839                        if (InternalActionFailureOccurrenceDescriptions2EditPart.VISUAL_ID == nodeVisualID) {
840                                return true;
841                        }
842                        if (InternalActionInfrastructureCallsCompartment2EditPart.VISUAL_ID == nodeVisualID) {
843                                return true;
844                        }
845                        break;
846                case CollectionIteratorActionEditPart.VISUAL_ID:
847                        if (CollectionIteratorActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
848                                return true;
849                        }
850                        if (CollectionIteratorParameterLabel2EditPart.VISUAL_ID == nodeVisualID) {
851                                return true;
852                        }
853                        if (ResourceDemandingBehaviour3EditPart.VISUAL_ID == nodeVisualID) {
854                                return true;
855                        }
856                        break;
857                case SetVariableActionEditPart.VISUAL_ID:
858                        if (SetVariableActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
859                                return true;
860                        }
861                        if (SetVariableActionVariableSetter2EditPart.VISUAL_ID == nodeVisualID) {
862                                return true;
863                        }
864                        break;
865                case AcquireActionEditPart.VISUAL_ID:
866                        if (AcquireActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
867                                return true;
868                        }
869                        break;
870                case ReleaseActionEditPart.VISUAL_ID:
871                        if (ReleaseActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
872                                return true;
873                        }
874                        break;
875                case ForkActionEditPart.VISUAL_ID:
876                        if (ForkActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
877                                return true;
878                        }
879                        if (ForkActionForkedBehaviours2EditPart.VISUAL_ID == nodeVisualID) {
880                                return true;
881                        }
882                        break;
883                case RecoveryActionEditPart.VISUAL_ID:
884                        if (RecoveryActionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
885                                return true;
886                        }
887                        if (RecoveryActionRecoveryBlockCompartment2EditPart.VISUAL_ID == nodeVisualID) {
888                                return true;
889                        }
890                        break;
891                case VariableUsageEditPart.VISUAL_ID:
892                        if (VariableUsageLabelEditPart.VISUAL_ID == nodeVisualID) {
893                                return true;
894                        }
895                        if (VariableUsageVariableCharacterisationEditPart.VISUAL_ID == nodeVisualID) {
896                                return true;
897                        }
898                        break;
899                case VariableUsage2EditPart.VISUAL_ID:
900                        if (WrappingLabelEditPart.VISUAL_ID == nodeVisualID) {
901                                return true;
902                        }
903                        if (VariableUsageVariableCharacterisation2EditPart.VISUAL_ID == nodeVisualID) {
904                                return true;
905                        }
906                        break;
907                case VariableUsage4EditPart.VISUAL_ID:
908                        if (VariableUsage4LabelEditPart.VISUAL_ID == nodeVisualID) {
909                                return true;
910                        }
911                        if (VariableUsageVariableCharacterisation4EditPart.VISUAL_ID == nodeVisualID) {
912                                return true;
913                        }
914                        break;
915                case ResourceDemandingBehaviourEditPart.VISUAL_ID:
916                        if (ResourceDemandingBehaviourBehaviourCompartmentEditPart.VISUAL_ID == nodeVisualID) {
917                                return true;
918                        }
919                        break;
920                case LoopAction2EditPart.VISUAL_ID:
921                        if (LoopActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
922                                return true;
923                        }
924                        if (Loop2IterationsLabelEditPart.VISUAL_ID == nodeVisualID) {
925                                return true;
926                        }
927                        if (ResourceDemandingBehaviourEditPart.VISUAL_ID == nodeVisualID) {
928                                return true;
929                        }
930                        break;
931                case InternalAction2EditPart.VISUAL_ID:
932                        if (InternalActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
933                                return true;
934                        }
935                        if (InternalActionResourceDemandEditPart.VISUAL_ID == nodeVisualID) {
936                                return true;
937                        }
938                        if (InternalActionFailureOccurrenceDescriptionsEditPart.VISUAL_ID == nodeVisualID) {
939                                return true;
940                        }
941                        if (InternalActionInfrastructureCallsCompartmentEditPart.VISUAL_ID == nodeVisualID) {
942                                return true;
943                        }
944                        break;
945                case InfrastructureCallEditPart.VISUAL_ID:
946                        if (InfrastructureCallNumberOfCallsLabelEditPart.VISUAL_ID == nodeVisualID) {
947                                return true;
948                        }
949                        if (InfrastructureCallTargetLabelEditPart.VISUAL_ID == nodeVisualID) {
950                                return true;
951                        }
952                        if (InfrastructureCallInfrastructureCallInputVariableUsagesEditPart.VISUAL_ID == nodeVisualID) {
953                                return true;
954                        }
955                        break;
956                case VariableUsage5EditPart.VISUAL_ID:
957                        if (VariableUsage5LabelEditPart.VISUAL_ID == nodeVisualID) {
958                                return true;
959                        }
960                        if (VariableUsageVariableCharacterisation5EditPart.VISUAL_ID == nodeVisualID) {
961                                return true;
962                        }
963                        break;
964                case BranchAction2EditPart.VISUAL_ID:
965                        if (BranchActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
966                                return true;
967                        }
968                        if (BranchActionBranchTransitionCompartmentEditPart.VISUAL_ID == nodeVisualID) {
969                                return true;
970                        }
971                        break;
972                case ProbabilisticBranchTransitionEditPart.VISUAL_ID:
973                        if (ProbabilisticBranchTransitionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
974                                return true;
975                        }
976                        if (ProbabilisticBranchTransitionBranchProbabilityEditPart.VISUAL_ID == nodeVisualID) {
977                                return true;
978                        }
979                        if (ResourceDemandingBehaviour2EditPart.VISUAL_ID == nodeVisualID) {
980                                return true;
981                        }
982                        break;
983                case ResourceDemandingBehaviour2EditPart.VISUAL_ID:
984                        if (ResourceDemandingBehaviourBehaviourCompartment2EditPart.VISUAL_ID == nodeVisualID) {
985                                return true;
986                        }
987                        break;
988                case ExternalCallAction2EditPart.VISUAL_ID:
989                        if (ExternalCallActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
990                                return true;
991                        }
992                        if (ExternalCallActionInputVariableUsage2EditPart.VISUAL_ID == nodeVisualID) {
993                                return true;
994                        }
995                        if (ExternalCallActionOutputVariableUsage2EditPart.VISUAL_ID == nodeVisualID) {
996                                return true;
997                        }
998                        break;
999                case EmitEventAction2EditPart.VISUAL_ID:
1000                        if (EmitEventActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
1001                                return true;
1002                        }
1003                        if (EmitEventActionInputVariableUsageEvent2EditPart.VISUAL_ID == nodeVisualID) {
1004                                return true;
1005                        }
1006                        break;
1007                case AcquireAction2EditPart.VISUAL_ID:
1008                        if (AcquireActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
1009                                return true;
1010                        }
1011                        break;
1012                case ReleaseAction2EditPart.VISUAL_ID:
1013                        if (ReleaseActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
1014                                return true;
1015                        }
1016                        break;
1017                case ForkAction2EditPart.VISUAL_ID:
1018                        if (ForkActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
1019                                return true;
1020                        }
1021                        if (ForkActionForkedBehavioursEditPart.VISUAL_ID == nodeVisualID) {
1022                                return true;
1023                        }
1024                        break;
1025                case ForkedBehaviourEditPart.VISUAL_ID:
1026                        if (ForkedBehaviourBehaviourCompartmentEditPart.VISUAL_ID == nodeVisualID) {
1027                                return true;
1028                        }
1029                        break;
1030                case CollectionIteratorAction2EditPart.VISUAL_ID:
1031                        if (CollectionIteratorActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
1032                                return true;
1033                        }
1034                        if (CollectionIteratorParameterLabelEditPart.VISUAL_ID == nodeVisualID) {
1035                                return true;
1036                        }
1037                        if (ResourceDemandingBehaviour3EditPart.VISUAL_ID == nodeVisualID) {
1038                                return true;
1039                        }
1040                        break;
1041                case ResourceDemandingBehaviour3EditPart.VISUAL_ID:
1042                        if (ResourceDemandingBehaviourBehaviourCompartment3EditPart.VISUAL_ID == nodeVisualID) {
1043                                return true;
1044                        }
1045                        break;
1046                case RecoveryAction2EditPart.VISUAL_ID:
1047                        if (RecoveryActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
1048                                return true;
1049                        }
1050                        if (RecoveryActionRecoveryBlockCompartmentEditPart.VISUAL_ID == nodeVisualID) {
1051                                return true;
1052                        }
1053                        break;
1054                case RecoveryActionBehaviourEditPart.VISUAL_ID:
1055                        if (RecoveryActionBehaviourEntityNameEditPart.VISUAL_ID == nodeVisualID) {
1056                                return true;
1057                        }
1058                        if (RecoveryActionBehaviourAlternativeBehaviourCompartmentEditPart.VISUAL_ID == nodeVisualID) {
1059                                return true;
1060                        }
1061                        break;
1062                case SetVariableAction2EditPart.VISUAL_ID:
1063                        if (SetVariableActionEntityName2EditPart.VISUAL_ID == nodeVisualID) {
1064                                return true;
1065                        }
1066                        if (SetVariableActionVariableSetterEditPart.VISUAL_ID == nodeVisualID) {
1067                                return true;
1068                        }
1069                        break;
1070                case VariableUsage3EditPart.VISUAL_ID:
1071                        if (VariableUsage3LabelEditPart.VISUAL_ID == nodeVisualID) {
1072                                return true;
1073                        }
1074                        if (VariableUsageVariableCharacterisation3EditPart.VISUAL_ID == nodeVisualID) {
1075                                return true;
1076                        }
1077                        break;
1078                case SynchronisationPointEditPart.VISUAL_ID:
1079                        if (SynchronisationPointSynchronisationPointEditPart.VISUAL_ID == nodeVisualID) {
1080                                return true;
1081                        }
1082                        break;
1083                case ForkedBehaviour2EditPart.VISUAL_ID:
1084                        if (ForkedBehaviourSynchronisationPointForkedBehavioursEditPart.VISUAL_ID == nodeVisualID) {
1085                                return true;
1086                        }
1087                        break;
1088                case GuardedBranchTransitionEditPart.VISUAL_ID:
1089                        if (GuardedBranchTransitionEntityNameEditPart.VISUAL_ID == nodeVisualID) {
1090                                return true;
1091                        }
1092                        if (GuardedBranchTransitionIdEditPart.VISUAL_ID == nodeVisualID) {
1093                                return true;
1094                        }
1095                        if (ResourceDemandingBehaviour4EditPart.VISUAL_ID == nodeVisualID) {
1096                                return true;
1097                        }
1098                        break;
1099                case ResourceDemandingBehaviour4EditPart.VISUAL_ID:
1100                        if (ResourceDemandingBehaviourBehaviourCompartment4EditPart.VISUAL_ID == nodeVisualID) {
1101                                return true;
1102                        }
1103                        break;
1104                case ExternalCallActionInputVariableUsageEditPart.VISUAL_ID:
1105                        if (VariableUsageEditPart.VISUAL_ID == nodeVisualID) {
1106                                return true;
1107                        }
1108                        break;
1109                case ExternalCallActionOutputVariableUsageEditPart.VISUAL_ID:
1110                        if (VariableUsage2EditPart.VISUAL_ID == nodeVisualID) {
1111                                return true;
1112                        }
1113                        break;
1114                case VariableUsageVariableCharacterisationEditPart.VISUAL_ID:
1115                        if (VariableCharacterisationEditPart.VISUAL_ID == nodeVisualID) {
1116                                return true;
1117                        }
1118                        break;
1119                case VariableUsageVariableCharacterisation2EditPart.VISUAL_ID:
1120                        if (VariableCharacterisation2EditPart.VISUAL_ID == nodeVisualID) {
1121                                return true;
1122                        }
1123                        break;
1124                case EmitEventActionInputVariableUsageEventEditPart.VISUAL_ID:
1125                        if (VariableUsage4EditPart.VISUAL_ID == nodeVisualID) {
1126                                return true;
1127                        }
1128                        break;
1129                case VariableUsageVariableCharacterisation4EditPart.VISUAL_ID:
1130                        if (VariableCharacterisation3EditPart.VISUAL_ID == nodeVisualID) {
1131                                return true;
1132                        }
1133                        break;
1134                case ResourceDemandingBehaviourBehaviourCompartmentEditPart.VISUAL_ID:
1135                        if (StartAction2EditPart.VISUAL_ID == nodeVisualID) {
1136                                return true;
1137                        }
1138                        if (StopAction2EditPart.VISUAL_ID == nodeVisualID) {
1139                                return true;
1140                        }
1141                        if (LoopAction2EditPart.VISUAL_ID == nodeVisualID) {
1142                                return true;
1143                        }
1144                        if (InternalAction2EditPart.VISUAL_ID == nodeVisualID) {
1145                                return true;
1146                        }
1147                        if (BranchAction2EditPart.VISUAL_ID == nodeVisualID) {
1148                                return true;
1149                        }
1150                        if (ExternalCallAction2EditPart.VISUAL_ID == nodeVisualID) {
1151                                return true;
1152                        }
1153                        if (EmitEventAction2EditPart.VISUAL_ID == nodeVisualID) {
1154                                return true;
1155                        }
1156                        if (CollectionIteratorAction2EditPart.VISUAL_ID == nodeVisualID) {
1157                                return true;
1158                        }
1159                        if (AcquireAction2EditPart.VISUAL_ID == nodeVisualID) {
1160                                return true;
1161                        }
1162                        if (ReleaseAction2EditPart.VISUAL_ID == nodeVisualID) {
1163                                return true;
1164                        }
1165                        if (ForkAction2EditPart.VISUAL_ID == nodeVisualID) {
1166                                return true;
1167                        }
1168                        if (SetVariableAction2EditPart.VISUAL_ID == nodeVisualID) {
1169                                return true;
1170                        }
1171                        if (RecoveryAction2EditPart.VISUAL_ID == nodeVisualID) {
1172                                return true;
1173                        }
1174                        break;
1175                case InternalActionResourceDemandEditPart.VISUAL_ID:
1176                        if (ParametricResourceDemandEditPart.VISUAL_ID == nodeVisualID) {
1177                                return true;
1178                        }
1179                        break;
1180                case InternalActionFailureOccurrenceDescriptionsEditPart.VISUAL_ID:
1181                        if (InternalFailureOccurrenceDescriptionEditPart.VISUAL_ID == nodeVisualID) {
1182                                return true;
1183                        }
1184                        break;
1185                case InternalActionInfrastructureCallsCompartmentEditPart.VISUAL_ID:
1186                        if (InfrastructureCallEditPart.VISUAL_ID == nodeVisualID) {
1187                                return true;
1188                        }
1189                        break;
1190                case InfrastructureCallInfrastructureCallInputVariableUsagesEditPart.VISUAL_ID:
1191                        if (VariableUsage5EditPart.VISUAL_ID == nodeVisualID) {
1192                                return true;
1193                        }
1194                        break;
1195                case VariableUsageVariableCharacterisation5EditPart.VISUAL_ID:
1196                        if (VariableCharacterisation4EditPart.VISUAL_ID == nodeVisualID) {
1197                                return true;
1198                        }
1199                        break;
1200                case BranchActionBranchTransitionCompartmentEditPart.VISUAL_ID:
1201                        if (ProbabilisticBranchTransitionEditPart.VISUAL_ID == nodeVisualID) {
1202                                return true;
1203                        }
1204                        if (GuardedBranchTransitionEditPart.VISUAL_ID == nodeVisualID) {
1205                                return true;
1206                        }
1207                        break;
1208                case ResourceDemandingBehaviourBehaviourCompartment2EditPart.VISUAL_ID:
1209                        if (StartAction2EditPart.VISUAL_ID == nodeVisualID) {
1210                                return true;
1211                        }
1212                        if (StopAction2EditPart.VISUAL_ID == nodeVisualID) {
1213                                return true;
1214                        }
1215                        if (LoopAction2EditPart.VISUAL_ID == nodeVisualID) {
1216                                return true;
1217                        }
1218                        if (InternalAction2EditPart.VISUAL_ID == nodeVisualID) {
1219                                return true;
1220                        }
1221                        if (BranchAction2EditPart.VISUAL_ID == nodeVisualID) {
1222                                return true;
1223                        }
1224                        if (ExternalCallAction2EditPart.VISUAL_ID == nodeVisualID) {
1225                                return true;
1226                        }
1227                        if (EmitEventAction2EditPart.VISUAL_ID == nodeVisualID) {
1228                                return true;
1229                        }
1230                        if (AcquireAction2EditPart.VISUAL_ID == nodeVisualID) {
1231                                return true;
1232                        }
1233                        if (ReleaseAction2EditPart.VISUAL_ID == nodeVisualID) {
1234                                return true;
1235                        }
1236                        if (ForkAction2EditPart.VISUAL_ID == nodeVisualID) {
1237                                return true;
1238                        }
1239                        if (CollectionIteratorAction2EditPart.VISUAL_ID == nodeVisualID) {
1240                                return true;
1241                        }
1242                        if (SetVariableAction2EditPart.VISUAL_ID == nodeVisualID) {
1243                                return true;
1244                        }
1245                        if (RecoveryAction2EditPart.VISUAL_ID == nodeVisualID) {
1246                                return true;
1247                        }
1248                        break;
1249                case ExternalCallActionInputVariableUsage2EditPart.VISUAL_ID:
1250                        if (VariableUsageEditPart.VISUAL_ID == nodeVisualID) {
1251                                return true;
1252                        }
1253                        break;
1254                case ExternalCallActionOutputVariableUsage2EditPart.VISUAL_ID:
1255                        if (VariableUsage2EditPart.VISUAL_ID == nodeVisualID) {
1256                                return true;
1257                        }
1258                        break;
1259                case EmitEventActionInputVariableUsageEvent2EditPart.VISUAL_ID:
1260                        if (VariableUsage4EditPart.VISUAL_ID == nodeVisualID) {
1261                                return true;
1262                        }
1263                        break;
1264                case ForkActionForkedBehavioursEditPart.VISUAL_ID:
1265                        if (ForkedBehaviourEditPart.VISUAL_ID == nodeVisualID) {
1266                                return true;
1267                        }
1268                        if (SynchronisationPointEditPart.VISUAL_ID == nodeVisualID) {
1269                                return true;
1270                        }
1271                        break;
1272                case ForkedBehaviourBehaviourCompartmentEditPart.VISUAL_ID:
1273                        if (StartAction2EditPart.VISUAL_ID == nodeVisualID) {
1274                                return true;
1275                        }
1276                        if (StopAction2EditPart.VISUAL_ID == nodeVisualID) {
1277                                return true;
1278                        }
1279                        if (LoopAction2EditPart.VISUAL_ID == nodeVisualID) {
1280                                return true;
1281                        }
1282                        if (InternalAction2EditPart.VISUAL_ID == nodeVisualID) {
1283                                return true;
1284                        }
1285                        if (BranchAction2EditPart.VISUAL_ID == nodeVisualID) {
1286                                return true;
1287                        }
1288                        if (ExternalCallAction2EditPart.VISUAL_ID == nodeVisualID) {
1289                                return true;
1290                        }
1291                        if (EmitEventAction2EditPart.VISUAL_ID == nodeVisualID) {
1292                                return true;
1293                        }
1294                        if (CollectionIteratorAction2EditPart.VISUAL_ID == nodeVisualID) {
1295                                return true;
1296                        }
1297                        if (AcquireAction2EditPart.VISUAL_ID == nodeVisualID) {
1298                                return true;
1299                        }
1300                        if (ReleaseAction2EditPart.VISUAL_ID == nodeVisualID) {
1301                                return true;
1302                        }
1303                        if (ForkAction2EditPart.VISUAL_ID == nodeVisualID) {
1304                                return true;
1305                        }
1306                        if (RecoveryAction2EditPart.VISUAL_ID == nodeVisualID) {
1307                                return true;
1308                        }
1309                        break;
1310                case ResourceDemandingBehaviourBehaviourCompartment3EditPart.VISUAL_ID:
1311                        if (StartAction2EditPart.VISUAL_ID == nodeVisualID) {
1312                                return true;
1313                        }
1314                        if (StopAction2EditPart.VISUAL_ID == nodeVisualID) {
1315                                return true;
1316                        }
1317                        if (LoopAction2EditPart.VISUAL_ID == nodeVisualID) {
1318                                return true;
1319                        }
1320                        if (InternalAction2EditPart.VISUAL_ID == nodeVisualID) {
1321                                return true;
1322                        }
1323                        if (BranchAction2EditPart.VISUAL_ID == nodeVisualID) {
1324                                return true;
1325                        }
1326                        if (ExternalCallAction2EditPart.VISUAL_ID == nodeVisualID) {
1327                                return true;
1328                        }
1329                        if (EmitEventAction2EditPart.VISUAL_ID == nodeVisualID) {
1330                                return true;
1331                        }
1332                        if (CollectionIteratorAction2EditPart.VISUAL_ID == nodeVisualID) {
1333                                return true;
1334                        }
1335                        if (AcquireAction2EditPart.VISUAL_ID == nodeVisualID) {
1336                                return true;
1337                        }
1338                        if (ReleaseAction2EditPart.VISUAL_ID == nodeVisualID) {
1339                                return true;
1340                        }
1341                        if (ForkAction2EditPart.VISUAL_ID == nodeVisualID) {
1342                                return true;
1343                        }
1344                        if (RecoveryAction2EditPart.VISUAL_ID == nodeVisualID) {
1345                                return true;
1346                        }
1347                        break;
1348                case RecoveryActionRecoveryBlockCompartmentEditPart.VISUAL_ID:
1349                        if (RecoveryActionBehaviourEditPart.VISUAL_ID == nodeVisualID) {
1350                                return true;
1351                        }
1352                        break;
1353                case RecoveryActionBehaviourAlternativeBehaviourCompartmentEditPart.VISUAL_ID:
1354                        if (StartAction2EditPart.VISUAL_ID == nodeVisualID) {
1355                                return true;
1356                        }
1357                        if (StopAction2EditPart.VISUAL_ID == nodeVisualID) {
1358                                return true;
1359                        }
1360                        if (LoopAction2EditPart.VISUAL_ID == nodeVisualID) {
1361                                return true;
1362                        }
1363                        if (InternalAction2EditPart.VISUAL_ID == nodeVisualID) {
1364                                return true;
1365                        }
1366                        if (BranchAction2EditPart.VISUAL_ID == nodeVisualID) {
1367                                return true;
1368                        }
1369                        if (ExternalCallAction2EditPart.VISUAL_ID == nodeVisualID) {
1370                                return true;
1371                        }
1372                        if (EmitEventAction2EditPart.VISUAL_ID == nodeVisualID) {
1373                                return true;
1374                        }
1375                        if (CollectionIteratorAction2EditPart.VISUAL_ID == nodeVisualID) {
1376                                return true;
1377                        }
1378                        if (AcquireAction2EditPart.VISUAL_ID == nodeVisualID) {
1379                                return true;
1380                        }
1381                        if (ReleaseAction2EditPart.VISUAL_ID == nodeVisualID) {
1382                                return true;
1383                        }
1384                        if (ForkAction2EditPart.VISUAL_ID == nodeVisualID) {
1385                                return true;
1386                        }
1387                        if (SetVariableAction2EditPart.VISUAL_ID == nodeVisualID) {
1388                                return true;
1389                        }
1390                        if (RecoveryAction2EditPart.VISUAL_ID == nodeVisualID) {
1391                                return true;
1392                        }
1393                        break;
1394                case SetVariableActionVariableSetterEditPart.VISUAL_ID:
1395                        if (VariableUsage3EditPart.VISUAL_ID == nodeVisualID) {
1396                                return true;
1397                        }
1398                        break;
1399                case VariableUsageVariableCharacterisation3EditPart.VISUAL_ID:
1400                        if (VariableCharacterisation5EditPart.VISUAL_ID == nodeVisualID) {
1401                                return true;
1402                        }
1403                        break;
1404                case SynchronisationPointSynchronisationPointEditPart.VISUAL_ID:
1405                        if (ForkedBehaviour2EditPart.VISUAL_ID == nodeVisualID) {
1406                                return true;
1407                        }
1408                        break;
1409                case ForkedBehaviourSynchronisationPointForkedBehavioursEditPart.VISUAL_ID:
1410                        if (StartAction2EditPart.VISUAL_ID == nodeVisualID) {
1411                                return true;
1412                        }
1413                        if (StopAction2EditPart.VISUAL_ID == nodeVisualID) {
1414                                return true;
1415                        }
1416                        if (LoopAction2EditPart.VISUAL_ID == nodeVisualID) {
1417                                return true;
1418                        }
1419                        if (InternalAction2EditPart.VISUAL_ID == nodeVisualID) {
1420                                return true;
1421                        }
1422                        if (BranchAction2EditPart.VISUAL_ID == nodeVisualID) {
1423                                return true;
1424                        }
1425                        if (ExternalCallAction2EditPart.VISUAL_ID == nodeVisualID) {
1426                                return true;
1427                        }
1428                        if (EmitEventAction2EditPart.VISUAL_ID == nodeVisualID) {
1429                                return true;
1430                        }
1431                        if (CollectionIteratorAction2EditPart.VISUAL_ID == nodeVisualID) {
1432                                return true;
1433                        }
1434                        if (AcquireAction2EditPart.VISUAL_ID == nodeVisualID) {
1435                                return true;
1436                        }
1437                        if (ReleaseAction2EditPart.VISUAL_ID == nodeVisualID) {
1438                                return true;
1439                        }
1440                        if (ForkAction2EditPart.VISUAL_ID == nodeVisualID) {
1441                                return true;
1442                        }
1443                        if (RecoveryAction2EditPart.VISUAL_ID == nodeVisualID) {
1444                                return true;
1445                        }
1446                        break;
1447                case ResourceDemandingBehaviourBehaviourCompartment4EditPart.VISUAL_ID:
1448                        if (StartAction2EditPart.VISUAL_ID == nodeVisualID) {
1449                                return true;
1450                        }
1451                        if (StopAction2EditPart.VISUAL_ID == nodeVisualID) {
1452                                return true;
1453                        }
1454                        if (LoopAction2EditPart.VISUAL_ID == nodeVisualID) {
1455                                return true;
1456                        }
1457                        if (InternalAction2EditPart.VISUAL_ID == nodeVisualID) {
1458                                return true;
1459                        }
1460                        if (BranchAction2EditPart.VISUAL_ID == nodeVisualID) {
1461                                return true;
1462                        }
1463                        if (ExternalCallAction2EditPart.VISUAL_ID == nodeVisualID) {
1464                                return true;
1465                        }
1466                        if (EmitEventAction2EditPart.VISUAL_ID == nodeVisualID) {
1467                                return true;
1468                        }
1469                        if (AcquireAction2EditPart.VISUAL_ID == nodeVisualID) {
1470                                return true;
1471                        }
1472                        if (ReleaseAction2EditPart.VISUAL_ID == nodeVisualID) {
1473                                return true;
1474                        }
1475                        if (ForkAction2EditPart.VISUAL_ID == nodeVisualID) {
1476                                return true;
1477                        }
1478                        if (CollectionIteratorAction2EditPart.VISUAL_ID == nodeVisualID) {
1479                                return true;
1480                        }
1481                        if (SetVariableAction2EditPart.VISUAL_ID == nodeVisualID) {
1482                                return true;
1483                        }
1484                        if (RecoveryAction2EditPart.VISUAL_ID == nodeVisualID) {
1485                                return true;
1486                        }
1487                        break;
1488                case BranchActionBranchTransitionCompartment2EditPart.VISUAL_ID:
1489                        if (ProbabilisticBranchTransitionEditPart.VISUAL_ID == nodeVisualID) {
1490                                return true;
1491                        }
1492                        if (GuardedBranchTransitionEditPart.VISUAL_ID == nodeVisualID) {
1493                                return true;
1494                        }
1495                        break;
1496                case InternalActionResourceDemand2EditPart.VISUAL_ID:
1497                        if (ParametricResourceDemandEditPart.VISUAL_ID == nodeVisualID) {
1498                                return true;
1499                        }
1500                        break;
1501                case InternalActionFailureOccurrenceDescriptions2EditPart.VISUAL_ID:
1502                        if (InternalFailureOccurrenceDescriptionEditPart.VISUAL_ID == nodeVisualID) {
1503                                return true;
1504                        }
1505                        break;
1506                case InternalActionInfrastructureCallsCompartment2EditPart.VISUAL_ID:
1507                        if (InfrastructureCallEditPart.VISUAL_ID == nodeVisualID) {
1508                                return true;
1509                        }
1510                        break;
1511                case SetVariableActionVariableSetter2EditPart.VISUAL_ID:
1512                        if (VariableUsage3EditPart.VISUAL_ID == nodeVisualID) {
1513                                return true;
1514                        }
1515                        break;
1516                case ForkActionForkedBehaviours2EditPart.VISUAL_ID:
1517                        if (ForkedBehaviourEditPart.VISUAL_ID == nodeVisualID) {
1518                                return true;
1519                        }
1520                        if (SynchronisationPointEditPart.VISUAL_ID == nodeVisualID) {
1521                                return true;
1522                        }
1523                        break;
1524                case RecoveryActionRecoveryBlockCompartment2EditPart.VISUAL_ID:
1525                        if (RecoveryActionBehaviourEditPart.VISUAL_ID == nodeVisualID) {
1526                                return true;
1527                        }
1528                        break;
1529                case ResourceDemandingSEFFEditPart.VISUAL_ID:
1530                        if (StartActionEditPart.VISUAL_ID == nodeVisualID) {
1531                                return true;
1532                        }
1533                        if (StopActionEditPart.VISUAL_ID == nodeVisualID) {
1534                                return true;
1535                        }
1536                        if (ExternalCallActionEditPart.VISUAL_ID == nodeVisualID) {
1537                                return true;
1538                        }
1539                        if (EmitEventActionEditPart.VISUAL_ID == nodeVisualID) {
1540                                return true;
1541                        }
1542                        if (LoopActionEditPart.VISUAL_ID == nodeVisualID) {
1543                                return true;
1544                        }
1545                        if (BranchActionEditPart.VISUAL_ID == nodeVisualID) {
1546                                return true;
1547                        }
1548                        if (InternalActionEditPart.VISUAL_ID == nodeVisualID) {
1549                                return true;
1550                        }
1551                        if (CollectionIteratorActionEditPart.VISUAL_ID == nodeVisualID) {
1552                                return true;
1553                        }
1554                        if (SetVariableActionEditPart.VISUAL_ID == nodeVisualID) {
1555                                return true;
1556                        }
1557                        if (AcquireActionEditPart.VISUAL_ID == nodeVisualID) {
1558                                return true;
1559                        }
1560                        if (ReleaseActionEditPart.VISUAL_ID == nodeVisualID) {
1561                                return true;
1562                        }
1563                        if (ForkActionEditPart.VISUAL_ID == nodeVisualID) {
1564                                return true;
1565                        }
1566                        if (RecoveryActionEditPart.VISUAL_ID == nodeVisualID) {
1567                                return true;
1568                        }
1569                        break;
1570                }
1571                return false;
1572        }
1573 
1574        /**
1575         * @generated
1576         */
1577        public static int getLinkWithClassVisualID(EObject domainElement) {
1578                if (domainElement == null) {
1579                        return -1;
1580                }
1581                return -1;
1582        }
1583 
1584        /**
1585         * User can change implementation of this method to handle some specific
1586         * situations not covered by default logic.
1587         * 
1588         * @generated
1589         */
1590        private static boolean isDiagram(ResourceDemandingSEFF element) {
1591                return true;
1592        }
1593}

[all classes][de.uka.ipd.sdq.pcm.gmf.seff.part]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov