1 | /** |
2 | * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany |
3 | * |
4 | * $Id$ |
5 | */ |
6 | package de.uka.ipd.sdq.pcm.core.composition.provider; |
7 | |
8 | import java.util.ArrayList; |
9 | import java.util.Collection; |
10 | |
11 | import org.eclipse.emf.common.notify.Adapter; |
12 | import org.eclipse.emf.common.notify.Notification; |
13 | import org.eclipse.emf.common.notify.Notifier; |
14 | import org.eclipse.emf.edit.provider.ChangeNotifier; |
15 | import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; |
16 | import org.eclipse.emf.edit.provider.ComposedAdapterFactory; |
17 | import org.eclipse.emf.edit.provider.IChangeNotifier; |
18 | import org.eclipse.emf.edit.provider.IDisposable; |
19 | import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; |
20 | import org.eclipse.emf.edit.provider.IItemLabelProvider; |
21 | import org.eclipse.emf.edit.provider.IItemPropertySource; |
22 | import org.eclipse.emf.edit.provider.INotifyChangedListener; |
23 | import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; |
24 | import org.eclipse.emf.edit.provider.ITreeItemContentProvider; |
25 | |
26 | import de.uka.ipd.sdq.pcm.core.composition.util.CompositionAdapterFactory; |
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 | */ |
37 | public class CompositionItemProviderAdapterFactory extends CompositionAdapterFactory 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 CompositionItemProviderAdapterFactory() { |
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.core.composition.ProvidedDelegationConnector} instances. |
85 | * <!-- begin-user-doc --> |
86 | * <!-- end-user-doc --> |
87 | * @generated |
88 | */ |
89 | protected ProvidedDelegationConnectorItemProvider providedDelegationConnectorItemProvider; |
90 | |
91 | /** |
92 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.ProvidedDelegationConnector}. |
93 | * <!-- begin-user-doc --> |
94 | * <!-- end-user-doc --> |
95 | * @generated |
96 | */ |
97 | @Override |
98 | public Adapter createProvidedDelegationConnectorAdapter() { |
99 | if (providedDelegationConnectorItemProvider == null) { |
100 | providedDelegationConnectorItemProvider = new ProvidedDelegationConnectorItemProvider(this); |
101 | } |
102 | |
103 | return providedDelegationConnectorItemProvider; |
104 | } |
105 | |
106 | /** |
107 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.AssemblyConnector} instances. |
108 | * <!-- begin-user-doc --> |
109 | * <!-- end-user-doc --> |
110 | * @generated |
111 | */ |
112 | protected AssemblyConnectorItemProvider assemblyConnectorItemProvider; |
113 | |
114 | /** |
115 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.AssemblyConnector}. |
116 | * <!-- begin-user-doc --> |
117 | * <!-- end-user-doc --> |
118 | * @generated |
119 | */ |
120 | @Override |
121 | public Adapter createAssemblyConnectorAdapter() { |
122 | if (assemblyConnectorItemProvider == null) { |
123 | assemblyConnectorItemProvider = new AssemblyConnectorItemProvider(this); |
124 | } |
125 | |
126 | return assemblyConnectorItemProvider; |
127 | } |
128 | |
129 | /** |
130 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.RequiredDelegationConnector} instances. |
131 | * <!-- begin-user-doc --> |
132 | * <!-- end-user-doc --> |
133 | * @generated |
134 | */ |
135 | protected RequiredDelegationConnectorItemProvider requiredDelegationConnectorItemProvider; |
136 | |
137 | /** |
138 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.RequiredDelegationConnector}. |
139 | * <!-- begin-user-doc --> |
140 | * <!-- end-user-doc --> |
141 | * @generated |
142 | */ |
143 | @Override |
144 | public Adapter createRequiredDelegationConnectorAdapter() { |
145 | if (requiredDelegationConnectorItemProvider == null) { |
146 | requiredDelegationConnectorItemProvider = new RequiredDelegationConnectorItemProvider(this); |
147 | } |
148 | |
149 | return requiredDelegationConnectorItemProvider; |
150 | } |
151 | |
152 | /** |
153 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.ResourceRequiredDelegationConnector} instances. |
154 | * <!-- begin-user-doc --> |
155 | * <!-- end-user-doc --> |
156 | * @generated |
157 | */ |
158 | protected ResourceRequiredDelegationConnectorItemProvider resourceRequiredDelegationConnectorItemProvider; |
159 | |
160 | /** |
161 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.ResourceRequiredDelegationConnector}. |
162 | * <!-- begin-user-doc --> |
163 | * <!-- end-user-doc --> |
164 | * @generated |
165 | */ |
166 | @Override |
167 | public Adapter createResourceRequiredDelegationConnectorAdapter() { |
168 | if (resourceRequiredDelegationConnectorItemProvider == null) { |
169 | resourceRequiredDelegationConnectorItemProvider = new ResourceRequiredDelegationConnectorItemProvider(this); |
170 | } |
171 | |
172 | return resourceRequiredDelegationConnectorItemProvider; |
173 | } |
174 | |
175 | /** |
176 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.EventChannel} instances. |
177 | * <!-- begin-user-doc --> |
178 | * <!-- end-user-doc --> |
179 | * @generated |
180 | */ |
181 | protected EventChannelItemProvider eventChannelItemProvider; |
182 | |
183 | /** |
184 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.EventChannel}. |
185 | * <!-- begin-user-doc --> |
186 | * <!-- end-user-doc --> |
187 | * @generated |
188 | */ |
189 | @Override |
190 | public Adapter createEventChannelAdapter() { |
191 | if (eventChannelItemProvider == null) { |
192 | eventChannelItemProvider = new EventChannelItemProvider(this); |
193 | } |
194 | |
195 | return eventChannelItemProvider; |
196 | } |
197 | |
198 | /** |
199 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.AssemblyEventConnector} instances. |
200 | * <!-- begin-user-doc --> |
201 | * <!-- end-user-doc --> |
202 | * @generated |
203 | */ |
204 | protected AssemblyEventConnectorItemProvider assemblyEventConnectorItemProvider; |
205 | |
206 | /** |
207 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.AssemblyEventConnector}. |
208 | * <!-- begin-user-doc --> |
209 | * <!-- end-user-doc --> |
210 | * @generated |
211 | */ |
212 | @Override |
213 | public Adapter createAssemblyEventConnectorAdapter() { |
214 | if (assemblyEventConnectorItemProvider == null) { |
215 | assemblyEventConnectorItemProvider = new AssemblyEventConnectorItemProvider(this); |
216 | } |
217 | |
218 | return assemblyEventConnectorItemProvider; |
219 | } |
220 | |
221 | /** |
222 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.SinkDelegationConnector} instances. |
223 | * <!-- begin-user-doc --> |
224 | * <!-- end-user-doc --> |
225 | * @generated |
226 | */ |
227 | protected SinkDelegationConnectorItemProvider sinkDelegationConnectorItemProvider; |
228 | |
229 | /** |
230 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.SinkDelegationConnector}. |
231 | * <!-- begin-user-doc --> |
232 | * <!-- end-user-doc --> |
233 | * @generated |
234 | */ |
235 | @Override |
236 | public Adapter createSinkDelegationConnectorAdapter() { |
237 | if (sinkDelegationConnectorItemProvider == null) { |
238 | sinkDelegationConnectorItemProvider = new SinkDelegationConnectorItemProvider(this); |
239 | } |
240 | |
241 | return sinkDelegationConnectorItemProvider; |
242 | } |
243 | |
244 | /** |
245 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.AssemblyInfrastructureConnector} instances. |
246 | * <!-- begin-user-doc --> |
247 | * <!-- end-user-doc --> |
248 | * @generated |
249 | */ |
250 | protected AssemblyInfrastructureConnectorItemProvider assemblyInfrastructureConnectorItemProvider; |
251 | |
252 | /** |
253 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.AssemblyInfrastructureConnector}. |
254 | * <!-- begin-user-doc --> |
255 | * <!-- end-user-doc --> |
256 | * @generated |
257 | */ |
258 | @Override |
259 | public Adapter createAssemblyInfrastructureConnectorAdapter() { |
260 | if (assemblyInfrastructureConnectorItemProvider == null) { |
261 | assemblyInfrastructureConnectorItemProvider = new AssemblyInfrastructureConnectorItemProvider(this); |
262 | } |
263 | |
264 | return assemblyInfrastructureConnectorItemProvider; |
265 | } |
266 | |
267 | /** |
268 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.RequiredInfrastructureDelegationConnector} instances. |
269 | * <!-- begin-user-doc --> |
270 | * <!-- end-user-doc --> |
271 | * @generated |
272 | */ |
273 | protected RequiredInfrastructureDelegationConnectorItemProvider requiredInfrastructureDelegationConnectorItemProvider; |
274 | |
275 | /** |
276 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.RequiredInfrastructureDelegationConnector}. |
277 | * <!-- begin-user-doc --> |
278 | * <!-- end-user-doc --> |
279 | * @generated |
280 | */ |
281 | @Override |
282 | public Adapter createRequiredInfrastructureDelegationConnectorAdapter() { |
283 | if (requiredInfrastructureDelegationConnectorItemProvider == null) { |
284 | requiredInfrastructureDelegationConnectorItemProvider = new RequiredInfrastructureDelegationConnectorItemProvider(this); |
285 | } |
286 | |
287 | return requiredInfrastructureDelegationConnectorItemProvider; |
288 | } |
289 | |
290 | /** |
291 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.ProvidedInfrastructureDelegationConnector} instances. |
292 | * <!-- begin-user-doc --> |
293 | * <!-- end-user-doc --> |
294 | * @generated |
295 | */ |
296 | protected ProvidedInfrastructureDelegationConnectorItemProvider providedInfrastructureDelegationConnectorItemProvider; |
297 | |
298 | /** |
299 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.ProvidedInfrastructureDelegationConnector}. |
300 | * <!-- begin-user-doc --> |
301 | * <!-- end-user-doc --> |
302 | * @generated |
303 | */ |
304 | @Override |
305 | public Adapter createProvidedInfrastructureDelegationConnectorAdapter() { |
306 | if (providedInfrastructureDelegationConnectorItemProvider == null) { |
307 | providedInfrastructureDelegationConnectorItemProvider = new ProvidedInfrastructureDelegationConnectorItemProvider(this); |
308 | } |
309 | |
310 | return providedInfrastructureDelegationConnectorItemProvider; |
311 | } |
312 | |
313 | /** |
314 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.RequiredResourceDelegationConnector} instances. |
315 | * <!-- begin-user-doc --> |
316 | * <!-- end-user-doc --> |
317 | * @generated |
318 | */ |
319 | protected RequiredResourceDelegationConnectorItemProvider requiredResourceDelegationConnectorItemProvider; |
320 | |
321 | /** |
322 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.RequiredResourceDelegationConnector}. |
323 | * <!-- begin-user-doc --> |
324 | * <!-- end-user-doc --> |
325 | * @generated |
326 | */ |
327 | @Override |
328 | public Adapter createRequiredResourceDelegationConnectorAdapter() { |
329 | if (requiredResourceDelegationConnectorItemProvider == null) { |
330 | requiredResourceDelegationConnectorItemProvider = new RequiredResourceDelegationConnectorItemProvider(this); |
331 | } |
332 | |
333 | return requiredResourceDelegationConnectorItemProvider; |
334 | } |
335 | |
336 | /** |
337 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.EventChannelSinkConnector} instances. |
338 | * <!-- begin-user-doc --> |
339 | * <!-- end-user-doc --> |
340 | * @generated |
341 | */ |
342 | protected EventChannelSinkConnectorItemProvider eventChannelSinkConnectorItemProvider; |
343 | |
344 | /** |
345 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.EventChannelSinkConnector}. |
346 | * <!-- begin-user-doc --> |
347 | * <!-- end-user-doc --> |
348 | * @generated |
349 | */ |
350 | @Override |
351 | public Adapter createEventChannelSinkConnectorAdapter() { |
352 | if (eventChannelSinkConnectorItemProvider == null) { |
353 | eventChannelSinkConnectorItemProvider = new EventChannelSinkConnectorItemProvider(this); |
354 | } |
355 | |
356 | return eventChannelSinkConnectorItemProvider; |
357 | } |
358 | |
359 | /** |
360 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.EventChannelSourceConnector} instances. |
361 | * <!-- begin-user-doc --> |
362 | * <!-- end-user-doc --> |
363 | * @generated |
364 | */ |
365 | protected EventChannelSourceConnectorItemProvider eventChannelSourceConnectorItemProvider; |
366 | |
367 | /** |
368 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.EventChannelSourceConnector}. |
369 | * <!-- begin-user-doc --> |
370 | * <!-- end-user-doc --> |
371 | * @generated |
372 | */ |
373 | @Override |
374 | public Adapter createEventChannelSourceConnectorAdapter() { |
375 | if (eventChannelSourceConnectorItemProvider == null) { |
376 | eventChannelSourceConnectorItemProvider = new EventChannelSourceConnectorItemProvider(this); |
377 | } |
378 | |
379 | return eventChannelSourceConnectorItemProvider; |
380 | } |
381 | |
382 | /** |
383 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.SourceDelegationConnector} instances. |
384 | * <!-- begin-user-doc --> |
385 | * <!-- end-user-doc --> |
386 | * @generated |
387 | */ |
388 | protected SourceDelegationConnectorItemProvider sourceDelegationConnectorItemProvider; |
389 | |
390 | /** |
391 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.SourceDelegationConnector}. |
392 | * <!-- begin-user-doc --> |
393 | * <!-- end-user-doc --> |
394 | * @generated |
395 | */ |
396 | @Override |
397 | public Adapter createSourceDelegationConnectorAdapter() { |
398 | if (sourceDelegationConnectorItemProvider == null) { |
399 | sourceDelegationConnectorItemProvider = new SourceDelegationConnectorItemProvider(this); |
400 | } |
401 | |
402 | return sourceDelegationConnectorItemProvider; |
403 | } |
404 | |
405 | /** |
406 | * This keeps track of the one adapter used for all {@link de.uka.ipd.sdq.pcm.core.composition.AssemblyContext} instances. |
407 | * <!-- begin-user-doc --> |
408 | * <!-- end-user-doc --> |
409 | * @generated |
410 | */ |
411 | protected AssemblyContextItemProvider assemblyContextItemProvider; |
412 | |
413 | /** |
414 | * This creates an adapter for a {@link de.uka.ipd.sdq.pcm.core.composition.AssemblyContext}. |
415 | * <!-- begin-user-doc --> |
416 | * <!-- end-user-doc --> |
417 | * @generated |
418 | */ |
419 | @Override |
420 | public Adapter createAssemblyContextAdapter() { |
421 | if (assemblyContextItemProvider == null) { |
422 | assemblyContextItemProvider = new AssemblyContextItemProvider(this); |
423 | } |
424 | |
425 | return assemblyContextItemProvider; |
426 | } |
427 | |
428 | /** |
429 | * This returns the root adapter factory that contains this factory. |
430 | * <!-- begin-user-doc --> |
431 | * <!-- end-user-doc --> |
432 | * @generated |
433 | */ |
434 | public ComposeableAdapterFactory getRootAdapterFactory() { |
435 | return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory(); |
436 | } |
437 | |
438 | /** |
439 | * This sets the composed adapter factory that contains this factory. |
440 | * <!-- begin-user-doc --> |
441 | * <!-- end-user-doc --> |
442 | * @generated |
443 | */ |
444 | public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) { |
445 | this.parentAdapterFactory = parentAdapterFactory; |
446 | } |
447 | |
448 | /** |
449 | * <!-- begin-user-doc --> |
450 | * <!-- end-user-doc --> |
451 | * @generated |
452 | */ |
453 | @Override |
454 | public boolean isFactoryForType(Object type) { |
455 | return supportedTypes.contains(type) || super.isFactoryForType(type); |
456 | } |
457 | |
458 | /** |
459 | * This implementation substitutes the factory itself as the key for the adapter. |
460 | * <!-- begin-user-doc --> |
461 | * <!-- end-user-doc --> |
462 | * @generated |
463 | */ |
464 | @Override |
465 | public Adapter adapt(Notifier notifier, Object type) { |
466 | return super.adapt(notifier, this); |
467 | } |
468 | |
469 | /** |
470 | * <!-- begin-user-doc --> |
471 | * <!-- end-user-doc --> |
472 | * @generated |
473 | */ |
474 | @Override |
475 | public Object adapt(Object object, Object type) { |
476 | if (isFactoryForType(type)) { |
477 | Object adapter = super.adapt(object, type); |
478 | if (!(type instanceof Class<?>) || (((Class<?>)type).isInstance(adapter))) { |
479 | return adapter; |
480 | } |
481 | } |
482 | |
483 | return null; |
484 | } |
485 | |
486 | /** |
487 | * This adds a listener. |
488 | * <!-- begin-user-doc --> |
489 | * <!-- end-user-doc --> |
490 | * @generated |
491 | */ |
492 | public void addListener(INotifyChangedListener notifyChangedListener) { |
493 | changeNotifier.addListener(notifyChangedListener); |
494 | } |
495 | |
496 | /** |
497 | * This removes a listener. |
498 | * <!-- begin-user-doc --> |
499 | * <!-- end-user-doc --> |
500 | * @generated |
501 | */ |
502 | public void removeListener(INotifyChangedListener notifyChangedListener) { |
503 | changeNotifier.removeListener(notifyChangedListener); |
504 | } |
505 | |
506 | /** |
507 | * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. |
508 | * <!-- begin-user-doc --> |
509 | * <!-- end-user-doc --> |
510 | * @generated |
511 | */ |
512 | public void fireNotifyChanged(Notification notification) { |
513 | changeNotifier.fireNotifyChanged(notification); |
514 | |
515 | if (parentAdapterFactory != null) { |
516 | parentAdapterFactory.fireNotifyChanged(notification); |
517 | } |
518 | } |
519 | |
520 | /** |
521 | * This disposes all of the item providers created by this factory. |
522 | * <!-- begin-user-doc --> |
523 | * <!-- end-user-doc --> |
524 | * @generated |
525 | */ |
526 | public void dispose() { |
527 | if (resourceRequiredDelegationConnectorItemProvider != null) resourceRequiredDelegationConnectorItemProvider.dispose(); |
528 | if (eventChannelItemProvider != null) eventChannelItemProvider.dispose(); |
529 | if (eventChannelSourceConnectorItemProvider != null) eventChannelSourceConnectorItemProvider.dispose(); |
530 | if (eventChannelSinkConnectorItemProvider != null) eventChannelSinkConnectorItemProvider.dispose(); |
531 | if (providedDelegationConnectorItemProvider != null) providedDelegationConnectorItemProvider.dispose(); |
532 | if (requiredDelegationConnectorItemProvider != null) requiredDelegationConnectorItemProvider.dispose(); |
533 | if (assemblyConnectorItemProvider != null) assemblyConnectorItemProvider.dispose(); |
534 | if (assemblyEventConnectorItemProvider != null) assemblyEventConnectorItemProvider.dispose(); |
535 | if (sourceDelegationConnectorItemProvider != null) sourceDelegationConnectorItemProvider.dispose(); |
536 | if (sinkDelegationConnectorItemProvider != null) sinkDelegationConnectorItemProvider.dispose(); |
537 | if (assemblyInfrastructureConnectorItemProvider != null) assemblyInfrastructureConnectorItemProvider.dispose(); |
538 | if (providedInfrastructureDelegationConnectorItemProvider != null) providedInfrastructureDelegationConnectorItemProvider.dispose(); |
539 | if (requiredInfrastructureDelegationConnectorItemProvider != null) requiredInfrastructureDelegationConnectorItemProvider.dispose(); |
540 | if (requiredResourceDelegationConnectorItemProvider != null) requiredResourceDelegationConnectorItemProvider.dispose(); |
541 | if (assemblyContextItemProvider != null) assemblyContextItemProvider.dispose(); |
542 | } |
543 | |
544 | } |