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

COVERAGE SUMMARY FOR SOURCE FILE [designdecisionItemProviderAdapterFactory.java]

nameclass, %method, %block, %line, %
designdecisionItemProviderAdapterFactory.java0%   (0/1)0%   (0/39)0%   (0/635)0%   (0/144)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class designdecisionItemProviderAdapterFactory0%   (0/1)0%   (0/39)0%   (0/635)0%   (0/144)
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)
createAllocationDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createAssembledComponentDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createCandidateAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createCandidatesAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createCapacityDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createClassAsReferenceDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createClassChoiceAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createContinousRangeChoiceAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createContinuousComponentParamDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createContinuousProcessingRateDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createContinuousRangeDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createDecisionSpaceAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createDiscreteComponentParamDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createDiscreteProcessingRateDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createDiscreteRangeChoiceAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createDiscreteRangeDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createExchangeComponentRuleAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createFeatureGroupDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createFeatureSubsetAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createNumberOfCoresAsListDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createNumberOfCoresAsRangeDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createOptionalFeatureDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createOrderedIntegerDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createResourceContainerReplicationDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createResourceContainerReplicationDegreeWithComponentChangeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createResourceSelectionDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createSchedulingPolicyChoiceAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createSchedulingPolicyDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
createStringComponentParamDegreeAdapter (): Adapter 0%   (0/1)0%   (0/12)0%   (0/3)
designdecisionItemProviderAdapterFactory (): void 0%   (0/1)0%   (0/38)0%   (0/9)
dispose (): void 0%   (0/1)0%   (0/175)0%   (0/30)
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>
3 * </copyright>
4 *
5 * $Id$
6 */
7package de.uka.ipd.sdq.pcm.designdecision.provider;
8 
9import de.uka.ipd.sdq.pcm.designdecision.util.designdecisionAdapterFactory;
10 
11import java.util.ArrayList;
12import java.util.Collection;
13 
14import org.eclipse.emf.common.notify.Adapter;
15import org.eclipse.emf.common.notify.Notification;
16import org.eclipse.emf.common.notify.Notifier;
17 
18import org.eclipse.emf.edit.provider.ChangeNotifier;
19import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
20import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
21import org.eclipse.emf.edit.provider.IChangeNotifier;
22import org.eclipse.emf.edit.provider.IDisposable;
23import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
24import org.eclipse.emf.edit.provider.IItemLabelProvider;
25import org.eclipse.emf.edit.provider.IItemPropertySource;
26import org.eclipse.emf.edit.provider.INotifyChangedListener;
27import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
28import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
29 
30/**
31 * This is the factory that is used to provide the interfaces needed to support Viewers.
32 * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
33 * The adapters also support Eclipse property sheets.
34 * Note that most of the adapters are shared among multiple instances.
35 * <!-- begin-user-doc -->
36 * <!-- end-user-doc -->
37 * @generated
38 */
39public class designdecisionItemProviderAdapterFactory extends designdecisionAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
40        /**
41         * This keeps track of the root adapter factory that delegates to this adapter factory.
42         * <!-- begin-user-doc -->
43         * <!-- end-user-doc -->
44         * @generated
45         */
46        protected ComposedAdapterFactory parentAdapterFactory;
47 
48        /**
49         * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
50         * <!-- begin-user-doc -->
51         * <!-- end-user-doc -->
52         * @generated
53         */
54        protected IChangeNotifier changeNotifier = new ChangeNotifier();
55 
56        /**
57         * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
58         * <!-- begin-user-doc -->
59         * <!-- end-user-doc -->
60         * @generated
61         */
62        protected Collection<Object> supportedTypes = new ArrayList<Object>();
63 
64        /**
65         * This constructs an instance.
66         * <!-- begin-user-doc -->
67         * <!-- end-user-doc -->
68         * @generated
69         */
70        public designdecisionItemProviderAdapterFactory() {
71                supportedTypes.add(IEditingDomainItemProvider.class);
72                supportedTypes.add(IStructuredItemContentProvider.class);
73                supportedTypes.add(ITreeItemContentProvider.class);
74                supportedTypes.add(IItemLabelProvider.class);
75                supportedTypes.add(IItemPropertySource.class);
76        }
77 
78        /**
79         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.ClassChoice} instances.
80         * <!-- begin-user-doc -->
81         * <!-- end-user-doc -->
82         * @generated
83         */
84        protected ClassChoiceItemProvider classChoiceItemProvider;
85 
86        /**
87         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.ClassChoice}.
88         * <!-- begin-user-doc -->
89         * <!-- end-user-doc -->
90         * @generated
91         */
92        @Override
93        public Adapter createClassChoiceAdapter() {
94                if (classChoiceItemProvider == null) {
95                        classChoiceItemProvider = new ClassChoiceItemProvider(this);
96                }
97 
98                return classChoiceItemProvider;
99        }
100 
101        /**
102         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.ContinousRangeChoice} instances.
103         * <!-- begin-user-doc -->
104         * <!-- end-user-doc -->
105         * @generated
106         */
107        protected ContinousRangeChoiceItemProvider continousRangeChoiceItemProvider;
108 
109        /**
110         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.ContinousRangeChoice}.
111         * <!-- begin-user-doc -->
112         * <!-- end-user-doc -->
113         * @generated
114         */
115        @Override
116        public Adapter createContinousRangeChoiceAdapter() {
117                if (continousRangeChoiceItemProvider == null) {
118                        continousRangeChoiceItemProvider = new ContinousRangeChoiceItemProvider(this);
119                }
120 
121                return continousRangeChoiceItemProvider;
122        }
123 
124        /**
125         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.ContinuousProcessingRateDegree} instances.
126         * <!-- begin-user-doc -->
127         * <!-- end-user-doc -->
128         * @generated
129         */
130        protected ContinuousProcessingRateDegreeItemProvider continuousProcessingRateDegreeItemProvider;
131 
132        /**
133         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.ContinuousProcessingRateDegree}.
134         * <!-- begin-user-doc -->
135         * <!-- end-user-doc -->
136         * @generated
137         */
138        @Override
139        public Adapter createContinuousProcessingRateDegreeAdapter() {
140                if (continuousProcessingRateDegreeItemProvider == null) {
141                        continuousProcessingRateDegreeItemProvider = new ContinuousProcessingRateDegreeItemProvider(this);
142                }
143 
144                return continuousProcessingRateDegreeItemProvider;
145        }
146 
147        /**
148         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.ContinuousRangeDegree} instances.
149         * <!-- begin-user-doc -->
150         * <!-- end-user-doc -->
151         * @generated
152         */
153        protected ContinuousRangeDegreeItemProvider continuousRangeDegreeItemProvider;
154 
155        /**
156         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.ContinuousRangeDegree}.
157         * <!-- begin-user-doc -->
158         * <!-- end-user-doc -->
159         * @generated
160         */
161        @Override
162        public Adapter createContinuousRangeDegreeAdapter() {
163                if (continuousRangeDegreeItemProvider == null) {
164                        continuousRangeDegreeItemProvider = new ContinuousRangeDegreeItemProvider(this);
165                }
166 
167                return continuousRangeDegreeItemProvider;
168        }
169 
170        /**
171         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.AllocationDegree} instances.
172         * <!-- begin-user-doc -->
173         * <!-- end-user-doc -->
174         * @generated
175         */
176        protected AllocationDegreeItemProvider allocationDegreeItemProvider;
177 
178        /**
179         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.AllocationDegree}.
180         * <!-- begin-user-doc -->
181         * <!-- end-user-doc -->
182         * @generated
183         */
184        @Override
185        public Adapter createAllocationDegreeAdapter() {
186                if (allocationDegreeItemProvider == null) {
187                        allocationDegreeItemProvider = new AllocationDegreeItemProvider(this);
188                }
189 
190                return allocationDegreeItemProvider;
191        }
192 
193        /**
194         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.ClassAsReferenceDegree} instances.
195         * <!-- begin-user-doc -->
196         * <!-- end-user-doc -->
197         * @generated
198         */
199        protected ClassAsReferenceDegreeItemProvider classAsReferenceDegreeItemProvider;
200 
201        /**
202         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.ClassAsReferenceDegree}.
203         * <!-- begin-user-doc -->
204         * <!-- end-user-doc -->
205         * @generated
206         */
207        @Override
208        public Adapter createClassAsReferenceDegreeAdapter() {
209                if (classAsReferenceDegreeItemProvider == null) {
210                        classAsReferenceDegreeItemProvider = new ClassAsReferenceDegreeItemProvider(this);
211                }
212 
213                return classAsReferenceDegreeItemProvider;
214        }
215 
216        /**
217         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.AssembledComponentDegree} instances.
218         * <!-- begin-user-doc -->
219         * <!-- end-user-doc -->
220         * @generated
221         */
222        protected AssembledComponentDegreeItemProvider assembledComponentDegreeItemProvider;
223 
224        /**
225         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.AssembledComponentDegree}.
226         * <!-- begin-user-doc -->
227         * <!-- end-user-doc -->
228         * @generated
229         */
230        @Override
231        public Adapter createAssembledComponentDegreeAdapter() {
232                if (assembledComponentDegreeItemProvider == null) {
233                        assembledComponentDegreeItemProvider = new AssembledComponentDegreeItemProvider(this);
234                }
235 
236                return assembledComponentDegreeItemProvider;
237        }
238 
239        /**
240         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.DiscreteRangeDegree} instances.
241         * <!-- begin-user-doc -->
242         * <!-- end-user-doc -->
243         * @generated
244         */
245        protected DiscreteRangeDegreeItemProvider discreteRangeDegreeItemProvider;
246 
247        /**
248         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.DiscreteRangeDegree}.
249         * <!-- begin-user-doc -->
250         * <!-- end-user-doc -->
251         * @generated
252         */
253        @Override
254        public Adapter createDiscreteRangeDegreeAdapter() {
255                if (discreteRangeDegreeItemProvider == null) {
256                        discreteRangeDegreeItemProvider = new DiscreteRangeDegreeItemProvider(this);
257                }
258 
259                return discreteRangeDegreeItemProvider;
260        }
261 
262        /**
263         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.DiscreteRangeChoice} instances.
264         * <!-- begin-user-doc -->
265         * <!-- end-user-doc -->
266         * @generated
267         */
268        protected DiscreteRangeChoiceItemProvider discreteRangeChoiceItemProvider;
269 
270        /**
271         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.DiscreteRangeChoice}.
272         * <!-- begin-user-doc -->
273         * <!-- end-user-doc -->
274         * @generated
275         */
276        @Override
277        public Adapter createDiscreteRangeChoiceAdapter() {
278                if (discreteRangeChoiceItemProvider == null) {
279                        discreteRangeChoiceItemProvider = new DiscreteRangeChoiceItemProvider(this);
280                }
281 
282                return discreteRangeChoiceItemProvider;
283        }
284 
285        /**
286         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.ResourceContainerReplicationDegree} instances.
287         * <!-- begin-user-doc -->
288         * <!-- end-user-doc -->
289         * @generated
290         */
291        protected ResourceContainerReplicationDegreeItemProvider resourceContainerReplicationDegreeItemProvider;
292 
293        /**
294         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.ResourceContainerReplicationDegree}.
295         * <!-- begin-user-doc -->
296         * <!-- end-user-doc -->
297         * @generated
298         */
299        @Override
300        public Adapter createResourceContainerReplicationDegreeAdapter() {
301                if (resourceContainerReplicationDegreeItemProvider == null) {
302                        resourceContainerReplicationDegreeItemProvider = new ResourceContainerReplicationDegreeItemProvider(this);
303                }
304 
305                return resourceContainerReplicationDegreeItemProvider;
306        }
307 
308        /**
309         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.DecisionSpace} instances.
310         * <!-- begin-user-doc -->
311         * <!-- end-user-doc -->
312         * @generated
313         */
314        protected DecisionSpaceItemProvider decisionSpaceItemProvider;
315 
316        /**
317         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.DecisionSpace}.
318         * <!-- begin-user-doc -->
319         * <!-- end-user-doc -->
320         * @generated
321         */
322        @Override
323        public Adapter createDecisionSpaceAdapter() {
324                if (decisionSpaceItemProvider == null) {
325                        decisionSpaceItemProvider = new DecisionSpaceItemProvider(this);
326                }
327 
328                return decisionSpaceItemProvider;
329        }
330 
331        /**
332         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.Candidate} instances.
333         * <!-- begin-user-doc -->
334         * <!-- end-user-doc -->
335         * @generated
336         */
337        protected CandidateItemProvider candidateItemProvider;
338 
339        /**
340         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.Candidate}.
341         * <!-- begin-user-doc -->
342         * <!-- end-user-doc -->
343         * @generated
344         */
345        @Override
346        public Adapter createCandidateAdapter() {
347                if (candidateItemProvider == null) {
348                        candidateItemProvider = new CandidateItemProvider(this);
349                }
350 
351                return candidateItemProvider;
352        }
353 
354        /**
355         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.Candidates} instances.
356         * <!-- begin-user-doc -->
357         * <!-- end-user-doc -->
358         * @generated
359         */
360        protected CandidatesItemProvider candidatesItemProvider;
361 
362        /**
363         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.Candidates}.
364         * <!-- begin-user-doc -->
365         * <!-- end-user-doc -->
366         * @generated
367         */
368        @Override
369        public Adapter createCandidatesAdapter() {
370                if (candidatesItemProvider == null) {
371                        candidatesItemProvider = new CandidatesItemProvider(this);
372                }
373 
374                return candidatesItemProvider;
375        }
376 
377        /**
378         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.FeatureGroupDegree} instances.
379         * <!-- begin-user-doc -->
380         * <!-- end-user-doc -->
381         * @generated
382         */
383        protected FeatureGroupDegreeItemProvider featureGroupDegreeItemProvider;
384 
385        /**
386         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.FeatureGroupDegree}.
387         * <!-- begin-user-doc -->
388         * <!-- end-user-doc -->
389         * @generated
390         */
391        @Override
392        public Adapter createFeatureGroupDegreeAdapter() {
393                if (featureGroupDegreeItemProvider == null) {
394                        featureGroupDegreeItemProvider = new FeatureGroupDegreeItemProvider(this);
395                }
396 
397                return featureGroupDegreeItemProvider;
398        }
399 
400        /**
401         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.FeatureSubset} instances.
402         * <!-- begin-user-doc -->
403         * <!-- end-user-doc -->
404         * @generated
405         */
406        protected FeatureSubsetItemProvider featureSubsetItemProvider;
407 
408        /**
409         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.FeatureSubset}.
410         * <!-- begin-user-doc -->
411         * <!-- end-user-doc -->
412         * @generated
413         */
414        @Override
415        public Adapter createFeatureSubsetAdapter() {
416                if (featureSubsetItemProvider == null) {
417                        featureSubsetItemProvider = new FeatureSubsetItemProvider(this);
418                }
419 
420                return featureSubsetItemProvider;
421        }
422 
423        /**
424         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.OptionalFeatureDegree} instances.
425         * <!-- begin-user-doc -->
426         * <!-- end-user-doc -->
427         * @generated
428         */
429        protected OptionalFeatureDegreeItemProvider optionalFeatureDegreeItemProvider;
430 
431        /**
432         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.OptionalFeatureDegree}.
433         * <!-- begin-user-doc -->
434         * <!-- end-user-doc -->
435         * @generated
436         */
437        @Override
438        public Adapter createOptionalFeatureDegreeAdapter() {
439                if (optionalFeatureDegreeItemProvider == null) {
440                        optionalFeatureDegreeItemProvider = new OptionalFeatureDegreeItemProvider(this);
441                }
442 
443                return optionalFeatureDegreeItemProvider;
444        }
445 
446        /**
447         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.DiscreteProcessingRateDegree} instances.
448         * <!-- begin-user-doc -->
449         * <!-- end-user-doc -->
450         * @generated
451         */
452        protected DiscreteProcessingRateDegreeItemProvider discreteProcessingRateDegreeItemProvider;
453 
454        /**
455         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.DiscreteProcessingRateDegree}.
456         * <!-- begin-user-doc -->
457         * <!-- end-user-doc -->
458         * @generated
459         */
460        @Override
461        public Adapter createDiscreteProcessingRateDegreeAdapter() {
462                if (discreteProcessingRateDegreeItemProvider == null) {
463                        discreteProcessingRateDegreeItemProvider = new DiscreteProcessingRateDegreeItemProvider(this);
464                }
465 
466                return discreteProcessingRateDegreeItemProvider;
467        }
468 
469        /**
470         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.CapacityDegree} instances.
471         * <!-- begin-user-doc -->
472         * <!-- end-user-doc -->
473         * @generated
474         */
475        protected CapacityDegreeItemProvider capacityDegreeItemProvider;
476 
477        /**
478         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.CapacityDegree}.
479         * <!-- begin-user-doc -->
480         * <!-- end-user-doc -->
481         * @generated
482         */
483        @Override
484        public Adapter createCapacityDegreeAdapter() {
485                if (capacityDegreeItemProvider == null) {
486                        capacityDegreeItemProvider = new CapacityDegreeItemProvider(this);
487                }
488 
489                return capacityDegreeItemProvider;
490        }
491 
492        /**
493         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.SchedulingPolicyDegree} instances.
494         * <!-- begin-user-doc -->
495         * <!-- end-user-doc -->
496         * @generated
497         */
498        protected SchedulingPolicyDegreeItemProvider schedulingPolicyDegreeItemProvider;
499 
500        /**
501         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.SchedulingPolicyDegree}.
502         * <!-- begin-user-doc -->
503         * <!-- end-user-doc -->
504         * @generated
505         */
506        @Override
507        public Adapter createSchedulingPolicyDegreeAdapter() {
508                if (schedulingPolicyDegreeItemProvider == null) {
509                        schedulingPolicyDegreeItemProvider = new SchedulingPolicyDegreeItemProvider(this);
510                }
511 
512                return schedulingPolicyDegreeItemProvider;
513        }
514 
515        /**
516         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.SchedulingPolicyChoice} instances.
517         * <!-- begin-user-doc -->
518         * <!-- end-user-doc -->
519         * @generated
520         */
521        protected SchedulingPolicyChoiceItemProvider schedulingPolicyChoiceItemProvider;
522 
523        /**
524         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.SchedulingPolicyChoice}.
525         * <!-- begin-user-doc -->
526         * <!-- end-user-doc -->
527         * @generated
528         */
529        @Override
530        public Adapter createSchedulingPolicyChoiceAdapter() {
531                if (schedulingPolicyChoiceItemProvider == null) {
532                        schedulingPolicyChoiceItemProvider = new SchedulingPolicyChoiceItemProvider(this);
533                }
534 
535                return schedulingPolicyChoiceItemProvider;
536        }
537 
538        /**
539         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.ResourceSelectionDegree} instances.
540         * <!-- begin-user-doc -->
541         * <!-- end-user-doc -->
542         * @generated
543         */
544        protected ResourceSelectionDegreeItemProvider resourceSelectionDegreeItemProvider;
545 
546        /**
547         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.ResourceSelectionDegree}.
548         * <!-- begin-user-doc -->
549         * <!-- end-user-doc -->
550         * @generated
551         */
552        @Override
553        public Adapter createResourceSelectionDegreeAdapter() {
554                if (resourceSelectionDegreeItemProvider == null) {
555                        resourceSelectionDegreeItemProvider = new ResourceSelectionDegreeItemProvider(this);
556                }
557 
558                return resourceSelectionDegreeItemProvider;
559        }
560 
561        /**
562         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.DiscreteComponentParamDegree} instances.
563         * <!-- begin-user-doc -->
564         * <!-- end-user-doc -->
565         * @generated
566         */
567        protected DiscreteComponentParamDegreeItemProvider discreteComponentParamDegreeItemProvider;
568 
569        /**
570         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.DiscreteComponentParamDegree}.
571         * <!-- begin-user-doc -->
572         * <!-- end-user-doc -->
573         * @generated
574         */
575        @Override
576        public Adapter createDiscreteComponentParamDegreeAdapter() {
577                if (discreteComponentParamDegreeItemProvider == null) {
578                        discreteComponentParamDegreeItemProvider = new DiscreteComponentParamDegreeItemProvider(this);
579                }
580 
581                return discreteComponentParamDegreeItemProvider;
582        }
583 
584        /**
585         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.ContinuousComponentParamDegree} instances.
586         * <!-- begin-user-doc -->
587         * <!-- end-user-doc -->
588         * @generated
589         */
590        protected ContinuousComponentParamDegreeItemProvider continuousComponentParamDegreeItemProvider;
591 
592        /**
593         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.ContinuousComponentParamDegree}.
594         * <!-- begin-user-doc -->
595         * <!-- end-user-doc -->
596         * @generated
597         */
598        @Override
599        public Adapter createContinuousComponentParamDegreeAdapter() {
600                if (continuousComponentParamDegreeItemProvider == null) {
601                        continuousComponentParamDegreeItemProvider = new ContinuousComponentParamDegreeItemProvider(this);
602                }
603 
604                return continuousComponentParamDegreeItemProvider;
605        }
606 
607        /**
608         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.StringComponentParamDegree} instances.
609         * <!-- begin-user-doc -->
610         * <!-- end-user-doc -->
611         * @generated
612         */
613        protected StringComponentParamDegreeItemProvider stringComponentParamDegreeItemProvider;
614 
615        /**
616         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.StringComponentParamDegree}.
617         * <!-- begin-user-doc -->
618         * <!-- end-user-doc -->
619         * @generated
620         */
621        @Override
622        public Adapter createStringComponentParamDegreeAdapter() {
623                if (stringComponentParamDegreeItemProvider == null) {
624                        stringComponentParamDegreeItemProvider = new StringComponentParamDegreeItemProvider(this);
625                }
626 
627                return stringComponentParamDegreeItemProvider;
628        }
629 
630        /**
631         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.NumberOfCoresAsRangeDegree} instances.
632         * <!-- begin-user-doc -->
633         * <!-- end-user-doc -->
634         * @generated
635         */
636        protected NumberOfCoresAsRangeDegreeItemProvider numberOfCoresAsRangeDegreeItemProvider;
637 
638        /**
639         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.NumberOfCoresAsRangeDegree}.
640         * <!-- begin-user-doc -->
641         * <!-- end-user-doc -->
642         * @generated
643         */
644        @Override
645        public Adapter createNumberOfCoresAsRangeDegreeAdapter() {
646                if (numberOfCoresAsRangeDegreeItemProvider == null) {
647                        numberOfCoresAsRangeDegreeItemProvider = new NumberOfCoresAsRangeDegreeItemProvider(this);
648                }
649 
650                return numberOfCoresAsRangeDegreeItemProvider;
651        }
652 
653        /**
654         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.ResourceContainerReplicationDegreeWithComponentChange} instances.
655         * <!-- begin-user-doc -->
656         * <!-- end-user-doc -->
657         * @generated
658         */
659        protected ResourceContainerReplicationDegreeWithComponentChangeItemProvider resourceContainerReplicationDegreeWithComponentChangeItemProvider;
660 
661        /**
662         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.ResourceContainerReplicationDegreeWithComponentChange}.
663         * <!-- begin-user-doc -->
664         * <!-- end-user-doc -->
665         * @generated
666         */
667        @Override
668        public Adapter createResourceContainerReplicationDegreeWithComponentChangeAdapter() {
669                if (resourceContainerReplicationDegreeWithComponentChangeItemProvider == null) {
670                        resourceContainerReplicationDegreeWithComponentChangeItemProvider = new ResourceContainerReplicationDegreeWithComponentChangeItemProvider(this);
671                }
672 
673                return resourceContainerReplicationDegreeWithComponentChangeItemProvider;
674        }
675 
676        /**
677         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.ExchangeComponentRule} instances.
678         * <!-- begin-user-doc -->
679         * <!-- end-user-doc -->
680         * @generated
681         */
682        protected ExchangeComponentRuleItemProvider exchangeComponentRuleItemProvider;
683 
684        /**
685         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.ExchangeComponentRule}.
686         * <!-- begin-user-doc -->
687         * <!-- end-user-doc -->
688         * @generated
689         */
690        @Override
691        public Adapter createExchangeComponentRuleAdapter() {
692                if (exchangeComponentRuleItemProvider == null) {
693                        exchangeComponentRuleItemProvider = new ExchangeComponentRuleItemProvider(this);
694                }
695 
696                return exchangeComponentRuleItemProvider;
697        }
698 
699        /**
700         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.OrderedIntegerDegree} instances.
701         * <!-- begin-user-doc -->
702         * <!-- end-user-doc -->
703         * @generated
704         */
705        protected OrderedIntegerDegreeItemProvider orderedIntegerDegreeItemProvider;
706 
707        /**
708         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.OrderedIntegerDegree}.
709         * <!-- begin-user-doc -->
710         * <!-- end-user-doc -->
711         * @generated
712         */
713        @Override
714        public Adapter createOrderedIntegerDegreeAdapter() {
715                if (orderedIntegerDegreeItemProvider == null) {
716                        orderedIntegerDegreeItemProvider = new OrderedIntegerDegreeItemProvider(this);
717                }
718 
719                return orderedIntegerDegreeItemProvider;
720        }
721 
722        /**
723         * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.designdecision.NumberOfCoresAsListDegree} instances.
724         * <!-- begin-user-doc -->
725         * <!-- end-user-doc -->
726         * @generated
727         */
728        protected NumberOfCoresAsListDegreeItemProvider numberOfCoresAsListDegreeItemProvider;
729 
730        /**
731         * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.designdecision.NumberOfCoresAsListDegree}.
732         * <!-- begin-user-doc -->
733         * <!-- end-user-doc -->
734         * @generated
735         */
736        @Override
737        public Adapter createNumberOfCoresAsListDegreeAdapter() {
738                if (numberOfCoresAsListDegreeItemProvider == null) {
739                        numberOfCoresAsListDegreeItemProvider = new NumberOfCoresAsListDegreeItemProvider(this);
740                }
741 
742                return numberOfCoresAsListDegreeItemProvider;
743        }
744 
745        /**
746         * This returns the root adapter factory that contains this factory.
747         * <!-- begin-user-doc -->
748         * <!-- end-user-doc -->
749         * @generated
750         */
751        public ComposeableAdapterFactory getRootAdapterFactory() {
752                return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
753        }
754 
755        /**
756         * This sets the composed adapter factory that contains this factory.
757         * <!-- begin-user-doc -->
758         * <!-- end-user-doc -->
759         * @generated
760         */
761        public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
762                this.parentAdapterFactory = parentAdapterFactory;
763        }
764 
765        /**
766         * <!-- begin-user-doc -->
767         * <!-- end-user-doc -->
768         * @generated
769         */
770        @Override
771        public boolean isFactoryForType(Object type) {
772                return supportedTypes.contains(type) || super.isFactoryForType(type);
773        }
774 
775        /**
776         * This implementation substitutes the factory itself as the key for the adapter.
777         * <!-- begin-user-doc -->
778         * <!-- end-user-doc -->
779         * @generated
780         */
781        @Override
782        public Adapter adapt(Notifier notifier, Object type) {
783                return super.adapt(notifier, this);
784        }
785 
786        /**
787         * <!-- begin-user-doc -->
788         * <!-- end-user-doc -->
789         * @generated
790         */
791        @Override
792        public Object adapt(Object object, Object type) {
793                if (isFactoryForType(type)) {
794                        Object adapter = super.adapt(object, type);
795                        if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) {
796                                return adapter;
797                        }
798                }
799 
800                return null;
801        }
802 
803        /**
804         * This adds a listener.
805         * <!-- begin-user-doc -->
806         * <!-- end-user-doc -->
807         * @generated
808         */
809        public void addListener(INotifyChangedListener notifyChangedListener) {
810                changeNotifier.addListener(notifyChangedListener);
811        }
812 
813        /**
814         * This removes a listener.
815         * <!-- begin-user-doc -->
816         * <!-- end-user-doc -->
817         * @generated
818         */
819        public void removeListener(INotifyChangedListener notifyChangedListener) {
820                changeNotifier.removeListener(notifyChangedListener);
821        }
822 
823        /**
824         * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
825         * <!-- begin-user-doc -->
826         * <!-- end-user-doc -->
827         * @generated
828         */
829        public void fireNotifyChanged(Notification notification) {
830                changeNotifier.fireNotifyChanged(notification);
831 
832                if (parentAdapterFactory != null) {
833                        parentAdapterFactory.fireNotifyChanged(notification);
834                }
835        }
836 
837        /**
838         * This disposes all of the item providers created by this factory. 
839         * <!-- begin-user-doc -->
840         * <!-- end-user-doc -->
841         * @generated
842         */
843        public void dispose() {
844                if (classChoiceItemProvider != null) classChoiceItemProvider.dispose();
845                if (continousRangeChoiceItemProvider != null) continousRangeChoiceItemProvider.dispose();
846                if (continuousProcessingRateDegreeItemProvider != null) continuousProcessingRateDegreeItemProvider.dispose();
847                if (continuousRangeDegreeItemProvider != null) continuousRangeDegreeItemProvider.dispose();
848                if (allocationDegreeItemProvider != null) allocationDegreeItemProvider.dispose();
849                if (classAsReferenceDegreeItemProvider != null) classAsReferenceDegreeItemProvider.dispose();
850                if (assembledComponentDegreeItemProvider != null) assembledComponentDegreeItemProvider.dispose();
851                if (discreteRangeDegreeItemProvider != null) discreteRangeDegreeItemProvider.dispose();
852                if (discreteRangeChoiceItemProvider != null) discreteRangeChoiceItemProvider.dispose();
853                if (resourceContainerReplicationDegreeItemProvider != null) resourceContainerReplicationDegreeItemProvider.dispose();
854                if (decisionSpaceItemProvider != null) decisionSpaceItemProvider.dispose();
855                if (candidateItemProvider != null) candidateItemProvider.dispose();
856                if (candidatesItemProvider != null) candidatesItemProvider.dispose();
857                if (featureGroupDegreeItemProvider != null) featureGroupDegreeItemProvider.dispose();
858                if (featureSubsetItemProvider != null) featureSubsetItemProvider.dispose();
859                if (optionalFeatureDegreeItemProvider != null) optionalFeatureDegreeItemProvider.dispose();
860                if (discreteProcessingRateDegreeItemProvider != null) discreteProcessingRateDegreeItemProvider.dispose();
861                if (capacityDegreeItemProvider != null) capacityDegreeItemProvider.dispose();
862                if (schedulingPolicyDegreeItemProvider != null) schedulingPolicyDegreeItemProvider.dispose();
863                if (schedulingPolicyChoiceItemProvider != null) schedulingPolicyChoiceItemProvider.dispose();
864                if (resourceSelectionDegreeItemProvider != null) resourceSelectionDegreeItemProvider.dispose();
865                if (discreteComponentParamDegreeItemProvider != null) discreteComponentParamDegreeItemProvider.dispose();
866                if (continuousComponentParamDegreeItemProvider != null) continuousComponentParamDegreeItemProvider.dispose();
867                if (stringComponentParamDegreeItemProvider != null) stringComponentParamDegreeItemProvider.dispose();
868                if (numberOfCoresAsRangeDegreeItemProvider != null) numberOfCoresAsRangeDegreeItemProvider.dispose();
869                if (resourceContainerReplicationDegreeWithComponentChangeItemProvider != null) resourceContainerReplicationDegreeWithComponentChangeItemProvider.dispose();
870                if (exchangeComponentRuleItemProvider != null) exchangeComponentRuleItemProvider.dispose();
871                if (orderedIntegerDegreeItemProvider != null) orderedIntegerDegreeItemProvider.dispose();
872                if (numberOfCoresAsListDegreeItemProvider != null) numberOfCoresAsListDegreeItemProvider.dispose();
873        }
874 
875}

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