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

COVERAGE SUMMARY FOR SOURCE FILE [SeffItemProviderAdapterFactory.java]

nameclass, %method, %block, %line, %
SeffItemProviderAdapterFactory.java0%   (0/1)0%   (0/31)0%   (0/491)0%   (0/112)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class SeffItemProviderAdapterFactory0%   (0/1)0%   (0/31)0%   (0/491)0%   (0/112)
SeffItemProviderAdapterFactory (): void 0%   (0/1)0%   (0/38)0%   (0/9)
adapt (Notifier, Object): Adapter 0%   (0/1)0%   (0/5)0%   (0/1)
adapt (Object, Object): Object 0%   (0/1)0%   (0/21)0%   (0/5)
addListener (INotifyChangedListener): void 0%   (0/1)0%   (0/5)0%   (0/2)
createAcquireActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createBranchActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createCallReturnActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createCollectionIteratorActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createEmitEventActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createExternalCallActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createForkActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createForkedBehaviourAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createGuardedBranchTransitionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createInternalActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createInternalCallActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createLoopActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createProbabilisticBranchTransitionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createReleaseActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createResourceDemandingBehaviourAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createResourceDemandingInternalBehaviourAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createResourceDemandingSEFFAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createSetVariableActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createStartActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createStopActionAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createSynchronisationPointAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
dispose (): void 0%   (0/1)0%   (0/127)0%   (0/22)
fireNotifyChanged (Notification): void 0%   (0/1)0%   (0/12)0%   (0/4)
getRootAdapterFactory (): ComposeableAdapterFactory 0%   (0/1)0%   (0/9)0%   (0/1)
isFactoryForType (Object): boolean 0%   (0/1)0%   (0/13)0%   (0/1)
removeListener (INotifyChangedListener): void 0%   (0/1)0%   (0/5)0%   (0/2)
setParentAdapterFactory (ComposedAdapterFactory): void 0%   (0/1)0%   (0/4)0%   (0/2)

1/**
2 * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.pcm.seff.provider;
7 
8import java.util.ArrayList;
9import java.util.Collection;
10 
11import org.eclipse.emf.common.notify.Adapter;
12import org.eclipse.emf.common.notify.Notification;
13import org.eclipse.emf.common.notify.Notifier;
14import org.eclipse.emf.edit.provider.ChangeNotifier;
15import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
16import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
17import org.eclipse.emf.edit.provider.IChangeNotifier;
18import org.eclipse.emf.edit.provider.IDisposable;
19import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
20import org.eclipse.emf.edit.provider.IItemLabelProvider;
21import org.eclipse.emf.edit.provider.IItemPropertySource;
22import org.eclipse.emf.edit.provider.INotifyChangedListener;
23import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
24import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
25 
26import de.uka.ipd.sdq.pcm.seff.util.SeffAdapterFactory;
27 
28/**
29 * This is the factory that is used to provide the interfaces needed to support Viewers.
30 * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
31 * The adapters also support Eclipse property sheets.
32 * Note that most of the adapters are shared among multiple instances.
33 * <!-- begin-user-doc -->
34 * <!-- end-user-doc -->
35 * @generated
36 */
37public class SeffItemProviderAdapterFactory extends SeffAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
38        /**
39         * <!-- begin-user-doc -->
40         * <!-- end-user-doc -->
41         * @generated
42         */
43        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
44 
45        /**
46         * This keeps track of the root adapter factory that delegates to this adapter factory.
47         * <!-- begin-user-doc -->
48         * <!-- end-user-doc -->
49         * @generated
50         */
51        protected ComposedAdapterFactory parentAdapterFactory;
52 
53        /**
54         * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
55         * <!-- begin-user-doc -->
56         * <!-- end-user-doc -->
57         * @generated
58         */
59        protected IChangeNotifier changeNotifier = new ChangeNotifier();
60 
61        /**
62         * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
63         * <!-- begin-user-doc -->
64         * <!-- end-user-doc -->
65         * @generated
66         */
67        protected Collection<Object> supportedTypes = new ArrayList<Object>();
68 
69        /**
70         * This constructs an instance.
71         * <!-- begin-user-doc -->
72         * <!-- end-user-doc -->
73         * @generated
74         */
75        public SeffItemProviderAdapterFactory() {
76                supportedTypes.add(IEditingDomainItemProvider.class);
77                supportedTypes.add(IStructuredItemContentProvider.class);
78                supportedTypes.add(ITreeItemContentProvider.class);
79                supportedTypes.add(IItemLabelProvider.class);
80                supportedTypes.add(IItemPropertySource.class);
81        }
82 
83        /**
84         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.StopAction} instances.
85         * <!-- begin-user-doc -->
86         * <!-- end-user-doc -->
87         * @generated
88         */
89        protected StopActionItemProvider stopActionItemProvider;
90 
91        /**
92         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.StopAction}.
93         * <!-- begin-user-doc -->
94         * <!-- end-user-doc -->
95         * @generated
96         */
97        @Override
98        public Adapter createStopActionAdapter() {
99                if (stopActionItemProvider == null) {
100                        stopActionItemProvider = new StopActionItemProvider(this);
101                }
102 
103                return stopActionItemProvider;
104        }
105 
106        /**
107         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.ResourceDemandingBehaviour} instances.
108         * <!-- begin-user-doc -->
109         * <!-- end-user-doc -->
110         * @generated
111         */
112        protected ResourceDemandingBehaviourItemProvider resourceDemandingBehaviourItemProvider;
113 
114        /**
115         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.ResourceDemandingBehaviour}.
116         * <!-- begin-user-doc -->
117         * <!-- end-user-doc -->
118         * @generated
119         */
120        @Override
121        public Adapter createResourceDemandingBehaviourAdapter() {
122                if (resourceDemandingBehaviourItemProvider == null) {
123                        resourceDemandingBehaviourItemProvider = new ResourceDemandingBehaviourItemProvider(this);
124                }
125 
126                return resourceDemandingBehaviourItemProvider;
127        }
128 
129        /**
130         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.BranchAction} instances.
131         * <!-- begin-user-doc -->
132         * <!-- end-user-doc -->
133         * @generated
134         */
135        protected BranchActionItemProvider branchActionItemProvider;
136 
137        /**
138         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.BranchAction}.
139         * <!-- begin-user-doc -->
140         * <!-- end-user-doc -->
141         * @generated
142         */
143        @Override
144        public Adapter createBranchActionAdapter() {
145                if (branchActionItemProvider == null) {
146                        branchActionItemProvider = new BranchActionItemProvider(this);
147                }
148 
149                return branchActionItemProvider;
150        }
151 
152        /**
153         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.StartAction} instances.
154         * <!-- begin-user-doc -->
155         * <!-- end-user-doc -->
156         * @generated
157         */
158        protected StartActionItemProvider startActionItemProvider;
159 
160        /**
161         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.StartAction}.
162         * <!-- begin-user-doc -->
163         * <!-- end-user-doc -->
164         * @generated
165         */
166        @Override
167        public Adapter createStartActionAdapter() {
168                if (startActionItemProvider == null) {
169                        startActionItemProvider = new StartActionItemProvider(this);
170                }
171 
172                return startActionItemProvider;
173        }
174 
175        /**
176         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.ResourceDemandingSEFF} instances.
177         * <!-- begin-user-doc -->
178         * <!-- end-user-doc -->
179         * @generated
180         */
181        protected ResourceDemandingSEFFItemProvider resourceDemandingSEFFItemProvider;
182 
183        /**
184         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.ResourceDemandingSEFF}.
185         * <!-- begin-user-doc -->
186         * <!-- end-user-doc -->
187         * @generated
188         */
189        @Override
190        public Adapter createResourceDemandingSEFFAdapter() {
191                if (resourceDemandingSEFFItemProvider == null) {
192                        resourceDemandingSEFFItemProvider = new ResourceDemandingSEFFItemProvider(this);
193                }
194 
195                return resourceDemandingSEFFItemProvider;
196        }
197 
198        /**
199         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.ResourceDemandingInternalBehaviour} instances.
200         * <!-- begin-user-doc -->
201         * <!-- end-user-doc -->
202         * @generated
203         */
204        protected ResourceDemandingInternalBehaviourItemProvider resourceDemandingInternalBehaviourItemProvider;
205 
206        /**
207         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.ResourceDemandingInternalBehaviour}.
208         * <!-- begin-user-doc -->
209         * <!-- end-user-doc -->
210         * @generated
211         */
212        @Override
213        public Adapter createResourceDemandingInternalBehaviourAdapter() {
214                if (resourceDemandingInternalBehaviourItemProvider == null) {
215                        resourceDemandingInternalBehaviourItemProvider = new ResourceDemandingInternalBehaviourItemProvider(this);
216                }
217 
218                return resourceDemandingInternalBehaviourItemProvider;
219        }
220 
221        /**
222         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.ReleaseAction} instances.
223         * <!-- begin-user-doc -->
224         * <!-- end-user-doc -->
225         * @generated
226         */
227        protected ReleaseActionItemProvider releaseActionItemProvider;
228 
229        /**
230         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.ReleaseAction}.
231         * <!-- begin-user-doc -->
232         * <!-- end-user-doc -->
233         * @generated
234         */
235        @Override
236        public Adapter createReleaseActionAdapter() {
237                if (releaseActionItemProvider == null) {
238                        releaseActionItemProvider = new ReleaseActionItemProvider(this);
239                }
240 
241                return releaseActionItemProvider;
242        }
243 
244        /**
245         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.LoopAction} instances.
246         * <!-- begin-user-doc -->
247         * <!-- end-user-doc -->
248         * @generated
249         */
250        protected LoopActionItemProvider loopActionItemProvider;
251 
252        /**
253         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.LoopAction}.
254         * <!-- begin-user-doc -->
255         * <!-- end-user-doc -->
256         * @generated
257         */
258        @Override
259        public Adapter createLoopActionAdapter() {
260                if (loopActionItemProvider == null) {
261                        loopActionItemProvider = new LoopActionItemProvider(this);
262                }
263 
264                return loopActionItemProvider;
265        }
266 
267        /**
268         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.InternalAction} instances.
269         * <!-- begin-user-doc -->
270         * <!-- end-user-doc -->
271         * @generated
272         */
273        protected InternalActionItemProvider internalActionItemProvider;
274 
275        /**
276         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.InternalAction}.
277         * <!-- begin-user-doc -->
278         * <!-- end-user-doc -->
279         * @generated
280         */
281        @Override
282        public Adapter createInternalActionAdapter() {
283                if (internalActionItemProvider == null) {
284                        internalActionItemProvider = new InternalActionItemProvider(this);
285                }
286 
287                return internalActionItemProvider;
288        }
289 
290        /**
291         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.ForkAction} instances.
292         * <!-- begin-user-doc -->
293         * <!-- end-user-doc -->
294         * @generated
295         */
296        protected ForkActionItemProvider forkActionItemProvider;
297 
298        /**
299         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.ForkAction}.
300         * <!-- begin-user-doc -->
301         * <!-- end-user-doc -->
302         * @generated
303         */
304        @Override
305        public Adapter createForkActionAdapter() {
306                if (forkActionItemProvider == null) {
307                        forkActionItemProvider = new ForkActionItemProvider(this);
308                }
309 
310                return forkActionItemProvider;
311        }
312 
313        /**
314         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.ForkedBehaviour} instances.
315         * <!-- begin-user-doc -->
316         * <!-- end-user-doc -->
317         * @generated
318         */
319        protected ForkedBehaviourItemProvider forkedBehaviourItemProvider;
320 
321        /**
322         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.ForkedBehaviour}.
323         * <!-- begin-user-doc -->
324         * <!-- end-user-doc -->
325         * @generated
326         */
327        @Override
328        public Adapter createForkedBehaviourAdapter() {
329                if (forkedBehaviourItemProvider == null) {
330                        forkedBehaviourItemProvider = new ForkedBehaviourItemProvider(this);
331                }
332 
333                return forkedBehaviourItemProvider;
334        }
335 
336        /**
337         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.SynchronisationPoint} instances.
338         * <!-- begin-user-doc -->
339         * <!-- end-user-doc -->
340         * @generated
341         */
342        protected SynchronisationPointItemProvider synchronisationPointItemProvider;
343 
344        /**
345         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.SynchronisationPoint}.
346         * <!-- begin-user-doc -->
347         * <!-- end-user-doc -->
348         * @generated
349         */
350        @Override
351        public Adapter createSynchronisationPointAdapter() {
352                if (synchronisationPointItemProvider == null) {
353                        synchronisationPointItemProvider = new SynchronisationPointItemProvider(this);
354                }
355 
356                return synchronisationPointItemProvider;
357        }
358 
359        /**
360         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.ExternalCallAction} instances.
361         * <!-- begin-user-doc -->
362         * <!-- end-user-doc -->
363         * @generated
364         */
365        protected ExternalCallActionItemProvider externalCallActionItemProvider;
366 
367        /**
368         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.ExternalCallAction}.
369         * <!-- begin-user-doc -->
370         * <!-- end-user-doc -->
371         * @generated
372         */
373        @Override
374        public Adapter createExternalCallActionAdapter() {
375                if (externalCallActionItemProvider == null) {
376                        externalCallActionItemProvider = new ExternalCallActionItemProvider(this);
377                }
378 
379                return externalCallActionItemProvider;
380        }
381 
382        /**
383         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.CallReturnAction} instances.
384         * <!-- begin-user-doc -->
385         * <!-- end-user-doc -->
386         * @generated
387         */
388        protected CallReturnActionItemProvider callReturnActionItemProvider;
389 
390        /**
391         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.CallReturnAction}.
392         * <!-- begin-user-doc -->
393         * <!-- end-user-doc -->
394         * @generated
395         */
396        @Override
397        public Adapter createCallReturnActionAdapter() {
398                if (callReturnActionItemProvider == null) {
399                        callReturnActionItemProvider = new CallReturnActionItemProvider(this);
400                }
401 
402                return callReturnActionItemProvider;
403        }
404 
405        /**
406         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.ProbabilisticBranchTransition} instances.
407         * <!-- begin-user-doc -->
408         * <!-- end-user-doc -->
409         * @generated
410         */
411        protected ProbabilisticBranchTransitionItemProvider probabilisticBranchTransitionItemProvider;
412 
413        /**
414         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.ProbabilisticBranchTransition}.
415         * <!-- begin-user-doc -->
416         * <!-- end-user-doc -->
417         * @generated
418         */
419        @Override
420        public Adapter createProbabilisticBranchTransitionAdapter() {
421                if (probabilisticBranchTransitionItemProvider == null) {
422                        probabilisticBranchTransitionItemProvider = new ProbabilisticBranchTransitionItemProvider(this);
423                }
424 
425                return probabilisticBranchTransitionItemProvider;
426        }
427 
428        /**
429         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.AcquireAction} instances.
430         * <!-- begin-user-doc -->
431         * <!-- end-user-doc -->
432         * @generated
433         */
434        protected AcquireActionItemProvider acquireActionItemProvider;
435 
436        /**
437         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.AcquireAction}.
438         * <!-- begin-user-doc -->
439         * <!-- end-user-doc -->
440         * @generated
441         */
442        @Override
443        public Adapter createAcquireActionAdapter() {
444                if (acquireActionItemProvider == null) {
445                        acquireActionItemProvider = new AcquireActionItemProvider(this);
446                }
447 
448                return acquireActionItemProvider;
449        }
450 
451        /**
452         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.CollectionIteratorAction} instances.
453         * <!-- begin-user-doc -->
454         * <!-- end-user-doc -->
455         * @generated
456         */
457        protected CollectionIteratorActionItemProvider collectionIteratorActionItemProvider;
458 
459        /**
460         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.CollectionIteratorAction}.
461         * <!-- begin-user-doc -->
462         * <!-- end-user-doc -->
463         * @generated
464         */
465        @Override
466        public Adapter createCollectionIteratorActionAdapter() {
467                if (collectionIteratorActionItemProvider == null) {
468                        collectionIteratorActionItemProvider = new CollectionIteratorActionItemProvider(this);
469                }
470 
471                return collectionIteratorActionItemProvider;
472        }
473 
474        /**
475         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.GuardedBranchTransition} instances.
476         * <!-- begin-user-doc -->
477         * <!-- end-user-doc -->
478         * @generated
479         */
480        protected GuardedBranchTransitionItemProvider guardedBranchTransitionItemProvider;
481 
482        /**
483         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.GuardedBranchTransition}.
484         * <!-- begin-user-doc -->
485         * <!-- end-user-doc -->
486         * @generated
487         */
488        @Override
489        public Adapter createGuardedBranchTransitionAdapter() {
490                if (guardedBranchTransitionItemProvider == null) {
491                        guardedBranchTransitionItemProvider = new GuardedBranchTransitionItemProvider(this);
492                }
493 
494                return guardedBranchTransitionItemProvider;
495        }
496 
497        /**
498         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.SetVariableAction} instances.
499         * <!-- begin-user-doc -->
500         * <!-- end-user-doc -->
501         * @generated
502         */
503        protected SetVariableActionItemProvider setVariableActionItemProvider;
504 
505        /**
506         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.SetVariableAction}.
507         * <!-- begin-user-doc -->
508         * <!-- end-user-doc -->
509         * @generated
510         */
511        @Override
512        public Adapter createSetVariableActionAdapter() {
513                if (setVariableActionItemProvider == null) {
514                        setVariableActionItemProvider = new SetVariableActionItemProvider(this);
515                }
516 
517                return setVariableActionItemProvider;
518        }
519 
520        /**
521         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.InternalCallAction} instances.
522         * <!-- begin-user-doc -->
523         * <!-- end-user-doc -->
524         * @generated
525         */
526        protected InternalCallActionItemProvider internalCallActionItemProvider;
527 
528        /**
529         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.InternalCallAction}.
530         * <!-- begin-user-doc -->
531         * <!-- end-user-doc -->
532         * @generated
533         */
534        @Override
535        public Adapter createInternalCallActionAdapter() {
536                if (internalCallActionItemProvider == null) {
537                        internalCallActionItemProvider = new InternalCallActionItemProvider(this);
538                }
539 
540                return internalCallActionItemProvider;
541        }
542 
543        /**
544         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.seff.EmitEventAction} instances.
545         * <!-- begin-user-doc -->
546         * <!-- end-user-doc -->
547         * @generated
548         */
549        protected EmitEventActionItemProvider emitEventActionItemProvider;
550 
551        /**
552         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.seff.EmitEventAction}.
553         * <!-- begin-user-doc -->
554         * <!-- end-user-doc -->
555         * @generated
556         */
557        @Override
558        public Adapter createEmitEventActionAdapter() {
559                if (emitEventActionItemProvider == null) {
560                        emitEventActionItemProvider = new EmitEventActionItemProvider(this);
561                }
562 
563                return emitEventActionItemProvider;
564        }
565 
566        /**
567         * This returns the root adapter factory that contains this factory.
568         * <!-- begin-user-doc -->
569         * <!-- end-user-doc -->
570         * @generated
571         */
572        public ComposeableAdapterFactory getRootAdapterFactory() {
573                return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
574        }
575 
576        /**
577         * This sets the composed adapter factory that contains this factory.
578         * <!-- begin-user-doc -->
579         * <!-- end-user-doc -->
580         * @generated
581         */
582        public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
583                this.parentAdapterFactory = parentAdapterFactory;
584        }
585 
586        /**
587         * <!-- begin-user-doc -->
588         * <!-- end-user-doc -->
589         * @generated
590         */
591        @Override
592        public boolean isFactoryForType(Object type) {
593                return supportedTypes.contains(type) || super.isFactoryForType(type);
594        }
595 
596        /**
597         * This implementation substitutes the factory itself as the key for the adapter.
598         * <!-- begin-user-doc -->
599         * <!-- end-user-doc -->
600         * @generated
601         */
602        @Override
603        public Adapter adapt(Notifier notifier, Object type) {
604                return super.adapt(notifier, this);
605        }
606 
607        /**
608         * <!-- begin-user-doc -->
609         * <!-- end-user-doc -->
610         * @generated
611         */
612        @Override
613        public Object adapt(Object object, Object type) {
614                if (isFactoryForType(type)) {
615                        Object adapter = super.adapt(object, type);
616                        if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) {
617                                return adapter;
618                        }
619                }
620 
621                return null;
622        }
623 
624        /**
625         * This adds a listener.
626         * <!-- begin-user-doc -->
627         * <!-- end-user-doc -->
628         * @generated
629         */
630        public void addListener(INotifyChangedListener notifyChangedListener) {
631                changeNotifier.addListener(notifyChangedListener);
632        }
633 
634        /**
635         * This removes a listener.
636         * <!-- begin-user-doc -->
637         * <!-- end-user-doc -->
638         * @generated
639         */
640        public void removeListener(INotifyChangedListener notifyChangedListener) {
641                changeNotifier.removeListener(notifyChangedListener);
642        }
643 
644        /**
645         * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
646         * <!-- begin-user-doc -->
647         * <!-- end-user-doc -->
648         * @generated
649         */
650        public void fireNotifyChanged(Notification notification) {
651                changeNotifier.fireNotifyChanged(notification);
652 
653                if (parentAdapterFactory != null) {
654                        parentAdapterFactory.fireNotifyChanged(notification);
655                }
656        }
657 
658        /**
659         * This disposes all of the item providers created by this factory. 
660         * <!-- begin-user-doc -->
661         * <!-- end-user-doc -->
662         * @generated
663         */
664        public void dispose() {
665                if (stopActionItemProvider != null) stopActionItemProvider.dispose();
666                if (resourceDemandingBehaviourItemProvider != null) resourceDemandingBehaviourItemProvider.dispose();
667                if (branchActionItemProvider != null) branchActionItemProvider.dispose();
668                if (startActionItemProvider != null) startActionItemProvider.dispose();
669                if (resourceDemandingSEFFItemProvider != null) resourceDemandingSEFFItemProvider.dispose();
670                if (resourceDemandingInternalBehaviourItemProvider != null) resourceDemandingInternalBehaviourItemProvider.dispose();
671                if (releaseActionItemProvider != null) releaseActionItemProvider.dispose();
672                if (loopActionItemProvider != null) loopActionItemProvider.dispose();
673                if (forkActionItemProvider != null) forkActionItemProvider.dispose();
674                if (forkedBehaviourItemProvider != null) forkedBehaviourItemProvider.dispose();
675                if (synchronisationPointItemProvider != null) synchronisationPointItemProvider.dispose();
676                if (externalCallActionItemProvider != null) externalCallActionItemProvider.dispose();
677                if (callReturnActionItemProvider != null) callReturnActionItemProvider.dispose();
678                if (probabilisticBranchTransitionItemProvider != null) probabilisticBranchTransitionItemProvider.dispose();
679                if (acquireActionItemProvider != null) acquireActionItemProvider.dispose();
680                if (collectionIteratorActionItemProvider != null) collectionIteratorActionItemProvider.dispose();
681                if (guardedBranchTransitionItemProvider != null) guardedBranchTransitionItemProvider.dispose();
682                if (setVariableActionItemProvider != null) setVariableActionItemProvider.dispose();
683                if (internalCallActionItemProvider != null) internalCallActionItemProvider.dispose();
684                if (emitEventActionItemProvider != null) emitEventActionItemProvider.dispose();
685                if (internalActionItemProvider != null) internalActionItemProvider.dispose();
686        }
687 
688}

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