Source Code Cross Referenced for NewprocessItemProviderAdapterFactory.java in  » Workflow-Engines » osbl-1_0 » newprocess » provider » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » osbl 1_0 » newprocess.provider 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * <copyright>
003:         * </copyright>
004:         *
005:         * $Id$
006:         */package newprocess.provider;
007:
008:        import java.util.ArrayList;
009:        import java.util.Collection;
010:
011:        import newprocess.util.NewprocessAdapterFactory;
012:
013:        import org.eclipse.emf.common.notify.Adapter;
014:        import org.eclipse.emf.common.notify.Notification;
015:        import org.eclipse.emf.common.notify.Notifier;
016:
017:        import org.eclipse.emf.edit.provider.ChangeNotifier;
018:        import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
019:        import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
020:        import org.eclipse.emf.edit.provider.IChangeNotifier;
021:        import org.eclipse.emf.edit.provider.IDisposable;
022:        import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
023:        import org.eclipse.emf.edit.provider.IItemLabelProvider;
024:        import org.eclipse.emf.edit.provider.IItemPropertySource;
025:        import org.eclipse.emf.edit.provider.INotifyChangedListener;
026:        import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
027:        import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
028:
029:        /**
030:         * This is the factory that is used to provide the interfaces needed to support Viewers.
031:         * The adapters generated by this factory convert EMF adapter notifications into calls to {@link #fireNotifyChanged fireNotifyChanged}.
032:         * The adapters also support Eclipse property sheets.
033:         * Note that most of the adapters are shared among multiple instances.
034:         * <!-- begin-user-doc -->
035:         * <!-- end-user-doc -->
036:         * @generated
037:         */
038:        public class NewprocessItemProviderAdapterFactory extends
039:                NewprocessAdapterFactory implements  ComposeableAdapterFactory,
040:                IChangeNotifier, IDisposable {
041:            /**
042:             * This keeps track of the root adapter factory that delegates to this adapter factory.
043:             * <!-- begin-user-doc -->
044:             * <!-- end-user-doc -->
045:             * @generated
046:             */
047:            protected ComposedAdapterFactory parentAdapterFactory;
048:
049:            /**
050:             * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
051:             * <!-- begin-user-doc -->
052:             * <!-- end-user-doc -->
053:             * @generated
054:             */
055:            protected IChangeNotifier changeNotifier = new ChangeNotifier();
056:
057:            /**
058:             * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
059:             * <!-- begin-user-doc -->
060:             * <!-- end-user-doc -->
061:             * @generated
062:             */
063:            protected Collection supportedTypes = new ArrayList();
064:
065:            /**
066:             * This constructs an instance.
067:             * <!-- begin-user-doc -->
068:             * <!-- end-user-doc -->
069:             * @generated
070:             */
071:            public NewprocessItemProviderAdapterFactory() {
072:                supportedTypes.add(IEditingDomainItemProvider.class);
073:                supportedTypes.add(IStructuredItemContentProvider.class);
074:                supportedTypes.add(ITreeItemContentProvider.class);
075:                supportedTypes.add(IItemLabelProvider.class);
076:                supportedTypes.add(IItemPropertySource.class);
077:            }
078:
079:            /**
080:             * This keeps track of the one adapter used for all {@link newprocess.Process} instances.
081:             * <!-- begin-user-doc -->
082:             * <!-- end-user-doc -->
083:             * @generated
084:             */
085:            protected ProcessItemProvider processItemProvider;
086:
087:            /**
088:             * This creates an adapter for a {@link newprocess.Process}.
089:             * <!-- begin-user-doc -->
090:             * <!-- end-user-doc -->
091:             * @generated
092:             */
093:            public Adapter createProcessAdapter() {
094:                if (processItemProvider == null) {
095:                    processItemProvider = new ProcessItemProvider(this );
096:                }
097:
098:                return processItemProvider;
099:            }
100:
101:            /**
102:             * This keeps track of the one adapter used for all {@link newprocess.Condition} instances.
103:             * <!-- begin-user-doc -->
104:             * <!-- end-user-doc -->
105:             * @generated
106:             */
107:            protected ConditionItemProvider conditionItemProvider;
108:
109:            /**
110:             * This creates an adapter for a {@link newprocess.Condition}.
111:             * <!-- begin-user-doc -->
112:             * <!-- end-user-doc -->
113:             * @generated
114:             */
115:            public Adapter createConditionAdapter() {
116:                if (conditionItemProvider == null) {
117:                    conditionItemProvider = new ConditionItemProvider(this );
118:                }
119:
120:                return conditionItemProvider;
121:            }
122:
123:            /**
124:             * This keeps track of the one adapter used for all {@link newprocess.Element} instances.
125:             * <!-- begin-user-doc -->
126:             * <!-- end-user-doc -->
127:             * @generated
128:             */
129:            protected ElementItemProvider elementItemProvider;
130:
131:            /**
132:             * This creates an adapter for a {@link newprocess.Element}.
133:             * <!-- begin-user-doc -->
134:             * <!-- end-user-doc -->
135:             * @generated
136:             */
137:            public Adapter createElementAdapter() {
138:                if (elementItemProvider == null) {
139:                    elementItemProvider = new ElementItemProvider(this );
140:                }
141:
142:                return elementItemProvider;
143:            }
144:
145:            /**
146:             * This keeps track of the one adapter used for all {@link newprocess.SyncActivity} instances.
147:             * <!-- begin-user-doc -->
148:             * <!-- end-user-doc -->
149:             * @generated
150:             */
151:            protected SyncActivityItemProvider syncActivityItemProvider;
152:
153:            /**
154:             * This creates an adapter for a {@link newprocess.SyncActivity}.
155:             * <!-- begin-user-doc -->
156:             * <!-- end-user-doc -->
157:             * @generated
158:             */
159:            public Adapter createSyncActivityAdapter() {
160:                if (syncActivityItemProvider == null) {
161:                    syncActivityItemProvider = new SyncActivityItemProvider(
162:                            this );
163:                }
164:
165:                return syncActivityItemProvider;
166:            }
167:
168:            /**
169:             * This keeps track of the one adapter used for all {@link newprocess.Loader} instances.
170:             * <!-- begin-user-doc -->
171:             * <!-- end-user-doc -->
172:             * @generated
173:             */
174:            protected LoaderItemProvider loaderItemProvider;
175:
176:            /**
177:             * This creates an adapter for a {@link newprocess.Loader}.
178:             * <!-- begin-user-doc -->
179:             * <!-- end-user-doc -->
180:             * @generated
181:             */
182:            public Adapter createLoaderAdapter() {
183:                if (loaderItemProvider == null) {
184:                    loaderItemProvider = new LoaderItemProvider(this );
185:                }
186:
187:                return loaderItemProvider;
188:            }
189:
190:            /**
191:             * This keeps track of the one adapter used for all {@link newprocess.AsyncActivity} instances.
192:             * <!-- begin-user-doc -->
193:             * <!-- end-user-doc -->
194:             * @generated
195:             */
196:            protected AsyncActivityItemProvider asyncActivityItemProvider;
197:
198:            /**
199:             * This creates an adapter for a {@link newprocess.AsyncActivity}.
200:             * <!-- begin-user-doc -->
201:             * <!-- end-user-doc -->
202:             * @generated
203:             */
204:            public Adapter createAsyncActivityAdapter() {
205:                if (asyncActivityItemProvider == null) {
206:                    asyncActivityItemProvider = new AsyncActivityItemProvider(
207:                            this );
208:                }
209:
210:                return asyncActivityItemProvider;
211:            }
212:
213:            /**
214:             * This keeps track of the one adapter used for all {@link newprocess.Event} instances.
215:             * <!-- begin-user-doc -->
216:             * <!-- end-user-doc -->
217:             * @generated
218:             */
219:            protected EventItemProvider eventItemProvider;
220:
221:            /**
222:             * This creates an adapter for a {@link newprocess.Event}.
223:             * <!-- begin-user-doc -->
224:             * <!-- end-user-doc -->
225:             * @generated
226:             */
227:            public Adapter createEventAdapter() {
228:                if (eventItemProvider == null) {
229:                    eventItemProvider = new EventItemProvider(this );
230:                }
231:
232:                return eventItemProvider;
233:            }
234:
235:            /**
236:             * This keeps track of the one adapter used for all {@link newprocess.Actor} instances.
237:             * <!-- begin-user-doc -->
238:             * <!-- end-user-doc -->
239:             * @generated
240:             */
241:            protected ActorItemProvider actorItemProvider;
242:
243:            /**
244:             * This creates an adapter for a {@link newprocess.Actor}.
245:             * <!-- begin-user-doc -->
246:             * <!-- end-user-doc -->
247:             * @generated
248:             */
249:            public Adapter createActorAdapter() {
250:                if (actorItemProvider == null) {
251:                    actorItemProvider = new ActorItemProvider(this );
252:                }
253:
254:                return actorItemProvider;
255:            }
256:
257:            /**
258:             * This keeps track of the one adapter used for all {@link newprocess.Listener} instances.
259:             * <!-- begin-user-doc -->
260:             * <!-- end-user-doc -->
261:             * @generated
262:             */
263:            protected ListenerItemProvider listenerItemProvider;
264:
265:            /**
266:             * This creates an adapter for a {@link newprocess.Listener}.
267:             * <!-- begin-user-doc -->
268:             * <!-- end-user-doc -->
269:             * @generated
270:             */
271:            public Adapter createListenerAdapter() {
272:                if (listenerItemProvider == null) {
273:                    listenerItemProvider = new ListenerItemProvider(this );
274:                }
275:
276:                return listenerItemProvider;
277:            }
278:
279:            /**
280:             * This keeps track of the one adapter used for all {@link newprocess.EnvEntry} instances.
281:             * <!-- begin-user-doc -->
282:             * <!-- end-user-doc -->
283:             * @generated
284:             */
285:            protected EnvEntryItemProvider envEntryItemProvider;
286:
287:            /**
288:             * This creates an adapter for a {@link newprocess.EnvEntry}.
289:             * <!-- begin-user-doc -->
290:             * <!-- end-user-doc -->
291:             * @generated
292:             */
293:            public Adapter createEnvEntryAdapter() {
294:                if (envEntryItemProvider == null) {
295:                    envEntryItemProvider = new EnvEntryItemProvider(this );
296:                }
297:
298:                return envEntryItemProvider;
299:            }
300:
301:            /**
302:             * This keeps track of the one adapter used for all {@link newprocess.Message} instances.
303:             * <!-- begin-user-doc -->
304:             * <!-- end-user-doc -->
305:             * @generated
306:             */
307:            protected MessageItemProvider messageItemProvider;
308:
309:            /**
310:             * This creates an adapter for a {@link newprocess.Message}.
311:             * <!-- begin-user-doc -->
312:             * <!-- end-user-doc -->
313:             * @generated
314:             */
315:            public Adapter createMessageAdapter() {
316:                if (messageItemProvider == null) {
317:                    messageItemProvider = new MessageItemProvider(this );
318:                }
319:
320:                return messageItemProvider;
321:            }
322:
323:            /**
324:             * This keeps track of the one adapter used for all {@link newprocess.ConditionProxy} instances.
325:             * <!-- begin-user-doc -->
326:             * <!-- end-user-doc -->
327:             * @generated
328:             */
329:            protected ConditionProxyItemProvider conditionProxyItemProvider;
330:
331:            /**
332:             * This creates an adapter for a {@link newprocess.ConditionProxy}.
333:             * <!-- begin-user-doc -->
334:             * <!-- end-user-doc -->
335:             * @generated
336:             */
337:            public Adapter createConditionProxyAdapter() {
338:                if (conditionProxyItemProvider == null) {
339:                    conditionProxyItemProvider = new ConditionProxyItemProvider(
340:                            this );
341:                }
342:
343:                return conditionProxyItemProvider;
344:            }
345:
346:            /**
347:             * This keeps track of the one adapter used for all {@link newprocess.Conclusion} instances.
348:             * <!-- begin-user-doc -->
349:             * <!-- end-user-doc -->
350:             * @generated
351:             */
352:            protected ConclusionItemProvider conclusionItemProvider;
353:
354:            /**
355:             * This creates an adapter for a {@link newprocess.Conclusion}.
356:             * <!-- begin-user-doc -->
357:             * <!-- end-user-doc -->
358:             * @generated
359:             */
360:            public Adapter createConclusionAdapter() {
361:                if (conclusionItemProvider == null) {
362:                    conclusionItemProvider = new ConclusionItemProvider(this );
363:                }
364:
365:                return conclusionItemProvider;
366:            }
367:
368:            /**
369:             * This keeps track of the one adapter used for all {@link newprocess.Expansion} instances.
370:             * <!-- begin-user-doc -->
371:             * <!-- end-user-doc -->
372:             * @generated
373:             */
374:            protected ExpansionItemProvider expansionItemProvider;
375:
376:            /**
377:             * This creates an adapter for a {@link newprocess.Expansion}.
378:             * <!-- begin-user-doc -->
379:             * <!-- end-user-doc -->
380:             * @generated
381:             */
382:            public Adapter createExpansionAdapter() {
383:                if (expansionItemProvider == null) {
384:                    expansionItemProvider = new ExpansionItemProvider(this );
385:                }
386:
387:                return expansionItemProvider;
388:            }
389:
390:            /**
391:             * This keeps track of the one adapter used for all {@link newprocess.Expression} instances.
392:             * <!-- begin-user-doc -->
393:             * <!-- end-user-doc -->
394:             * @generated
395:             */
396:            protected ExpressionItemProvider expressionItemProvider;
397:
398:            /**
399:             * This creates an adapter for a {@link newprocess.Expression}.
400:             * <!-- begin-user-doc -->
401:             * <!-- end-user-doc -->
402:             * @generated
403:             */
404:            public Adapter createExpressionAdapter() {
405:                if (expressionItemProvider == null) {
406:                    expressionItemProvider = new ExpressionItemProvider(this );
407:                }
408:
409:                return expressionItemProvider;
410:            }
411:
412:            /**
413:             * This keeps track of the one adapter used for all {@link newprocess.Term} instances.
414:             * <!-- begin-user-doc -->
415:             * <!-- end-user-doc -->
416:             * @generated
417:             */
418:            protected TermItemProvider termItemProvider;
419:
420:            /**
421:             * This creates an adapter for a {@link newprocess.Term}.
422:             * <!-- begin-user-doc -->
423:             * <!-- end-user-doc -->
424:             * @generated
425:             */
426:            public Adapter createTermAdapter() {
427:                if (termItemProvider == null) {
428:                    termItemProvider = new TermItemProvider(this );
429:                }
430:
431:                return termItemProvider;
432:            }
433:
434:            /**
435:             * This keeps track of the one adapter used for all {@link newprocess.ConditionTerm} instances.
436:             * <!-- begin-user-doc -->
437:             * <!-- end-user-doc -->
438:             * @generated
439:             */
440:            protected ConditionTermItemProvider conditionTermItemProvider;
441:
442:            /**
443:             * This creates an adapter for a {@link newprocess.ConditionTerm}.
444:             * <!-- begin-user-doc -->
445:             * <!-- end-user-doc -->
446:             * @generated
447:             */
448:            public Adapter createConditionTermAdapter() {
449:                if (conditionTermItemProvider == null) {
450:                    conditionTermItemProvider = new ConditionTermItemProvider(
451:                            this );
452:                }
453:
454:                return conditionTermItemProvider;
455:            }
456:
457:            /**
458:             * This keeps track of the one adapter used for all {@link newprocess.OperatorTerm} instances.
459:             * <!-- begin-user-doc -->
460:             * <!-- end-user-doc -->
461:             * @generated
462:             */
463:            protected OperatorTermItemProvider operatorTermItemProvider;
464:
465:            /**
466:             * This creates an adapter for a {@link newprocess.OperatorTerm}.
467:             * <!-- begin-user-doc -->
468:             * <!-- end-user-doc -->
469:             * @generated
470:             */
471:            public Adapter createOperatorTermAdapter() {
472:                if (operatorTermItemProvider == null) {
473:                    operatorTermItemProvider = new OperatorTermItemProvider(
474:                            this );
475:                }
476:
477:                return operatorTermItemProvider;
478:            }
479:
480:            /**
481:             * This keeps track of the one adapter used for all {@link newprocess.OrOperator} instances.
482:             * <!-- begin-user-doc -->
483:             * <!-- end-user-doc -->
484:             * @generated
485:             */
486:            protected OrOperatorItemProvider orOperatorItemProvider;
487:
488:            /**
489:             * This creates an adapter for a {@link newprocess.OrOperator}.
490:             * <!-- begin-user-doc -->
491:             * <!-- end-user-doc -->
492:             * @generated
493:             */
494:            public Adapter createOrOperatorAdapter() {
495:                if (orOperatorItemProvider == null) {
496:                    orOperatorItemProvider = new OrOperatorItemProvider(this );
497:                }
498:
499:                return orOperatorItemProvider;
500:            }
501:
502:            /**
503:             * This keeps track of the one adapter used for all {@link newprocess.AndOperator} instances.
504:             * <!-- begin-user-doc -->
505:             * <!-- end-user-doc -->
506:             * @generated
507:             */
508:            protected AndOperatorItemProvider andOperatorItemProvider;
509:
510:            /**
511:             * This creates an adapter for a {@link newprocess.AndOperator}.
512:             * <!-- begin-user-doc -->
513:             * <!-- end-user-doc -->
514:             * @generated
515:             */
516:            public Adapter createAndOperatorAdapter() {
517:                if (andOperatorItemProvider == null) {
518:                    andOperatorItemProvider = new AndOperatorItemProvider(this );
519:                }
520:
521:                return andOperatorItemProvider;
522:            }
523:
524:            /**
525:             * This keeps track of the one adapter used for all {@link newprocess.Root} instances.
526:             * <!-- begin-user-doc -->
527:             * <!-- end-user-doc -->
528:             * @generated
529:             */
530:            protected RootItemProvider rootItemProvider;
531:
532:            /**
533:             * This creates an adapter for a {@link newprocess.Root}.
534:             * <!-- begin-user-doc -->
535:             * <!-- end-user-doc -->
536:             * @generated
537:             */
538:            public Adapter createRootAdapter() {
539:                if (rootItemProvider == null) {
540:                    rootItemProvider = new RootItemProvider(this );
541:                }
542:
543:                return rootItemProvider;
544:            }
545:
546:            /**
547:             * This keeps track of the one adapter used for all {@link newprocess.Globals} instances.
548:             * <!-- begin-user-doc -->
549:             * <!-- end-user-doc -->
550:             * @generated
551:             */
552:            protected GlobalsItemProvider globalsItemProvider;
553:
554:            /**
555:             * This creates an adapter for a {@link newprocess.Globals}.
556:             * <!-- begin-user-doc -->
557:             * <!-- end-user-doc -->
558:             * @generated
559:             */
560:            public Adapter createGlobalsAdapter() {
561:                if (globalsItemProvider == null) {
562:                    globalsItemProvider = new GlobalsItemProvider(this );
563:                }
564:
565:                return globalsItemProvider;
566:            }
567:
568:            /**
569:             * This returns the root adapter factory that contains this factory.
570:             * <!-- begin-user-doc -->
571:             * <!-- end-user-doc -->
572:             * @generated
573:             */
574:            public ComposeableAdapterFactory getRootAdapterFactory() {
575:                return parentAdapterFactory == null ? this 
576:                        : parentAdapterFactory.getRootAdapterFactory();
577:            }
578:
579:            /**
580:             * This sets the composed adapter factory that contains this factory.
581:             * <!-- begin-user-doc -->
582:             * <!-- end-user-doc -->
583:             * @generated
584:             */
585:            public void setParentAdapterFactory(
586:                    ComposedAdapterFactory parentAdapterFactory) {
587:                this .parentAdapterFactory = parentAdapterFactory;
588:            }
589:
590:            /**
591:             * <!-- begin-user-doc -->
592:             * <!-- end-user-doc -->
593:             * @generated
594:             */
595:            public boolean isFactoryForType(Object type) {
596:                return supportedTypes.contains(type)
597:                        || super .isFactoryForType(type);
598:            }
599:
600:            /**
601:             * This implementation substitutes the factory itself as the key for the adapter.
602:             * <!-- begin-user-doc -->
603:             * <!-- end-user-doc -->
604:             * @generated
605:             */
606:            public Adapter adapt(Notifier notifier, Object type) {
607:                return super .adapt(notifier, this );
608:            }
609:
610:            /**
611:             * <!-- begin-user-doc -->
612:             * <!-- end-user-doc -->
613:             * @generated
614:             */
615:            public Object adapt(Object object, Object type) {
616:                if (isFactoryForType(type)) {
617:                    Object adapter = super .adapt(object, type);
618:                    if (!(type instanceof  Class)
619:                            || (((Class) type).isInstance(adapter))) {
620:                        return adapter;
621:                    }
622:                }
623:
624:                return null;
625:            }
626:
627:            /**
628:             * This adds a listener.
629:             * <!-- begin-user-doc -->
630:             * <!-- end-user-doc -->
631:             * @generated
632:             */
633:            public void addListener(INotifyChangedListener notifyChangedListener) {
634:                changeNotifier.addListener(notifyChangedListener);
635:            }
636:
637:            /**
638:             * This removes a listener.
639:             * <!-- begin-user-doc -->
640:             * <!-- end-user-doc -->
641:             * @generated
642:             */
643:            public void removeListener(
644:                    INotifyChangedListener notifyChangedListener) {
645:                changeNotifier.removeListener(notifyChangedListener);
646:            }
647:
648:            /**
649:             * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}.
650:             * <!-- begin-user-doc -->
651:             * <!-- end-user-doc -->
652:             * @generated
653:             */
654:            public void fireNotifyChanged(Notification notification) {
655:                changeNotifier.fireNotifyChanged(notification);
656:
657:                if (parentAdapterFactory != null) {
658:                    parentAdapterFactory.fireNotifyChanged(notification);
659:                }
660:            }
661:
662:            /**
663:             * This disposes all of the item providers created by this factory. 
664:             * <!-- begin-user-doc -->
665:             * <!-- end-user-doc -->
666:             * @generated
667:             */
668:            public void dispose() {
669:                if (processItemProvider != null)
670:                    processItemProvider.dispose();
671:                if (conditionItemProvider != null)
672:                    conditionItemProvider.dispose();
673:                if (elementItemProvider != null)
674:                    elementItemProvider.dispose();
675:                if (syncActivityItemProvider != null)
676:                    syncActivityItemProvider.dispose();
677:                if (loaderItemProvider != null)
678:                    loaderItemProvider.dispose();
679:                if (asyncActivityItemProvider != null)
680:                    asyncActivityItemProvider.dispose();
681:                if (eventItemProvider != null)
682:                    eventItemProvider.dispose();
683:                if (actorItemProvider != null)
684:                    actorItemProvider.dispose();
685:                if (listenerItemProvider != null)
686:                    listenerItemProvider.dispose();
687:                if (envEntryItemProvider != null)
688:                    envEntryItemProvider.dispose();
689:                if (messageItemProvider != null)
690:                    messageItemProvider.dispose();
691:                if (conditionProxyItemProvider != null)
692:                    conditionProxyItemProvider.dispose();
693:                if (conclusionItemProvider != null)
694:                    conclusionItemProvider.dispose();
695:                if (expansionItemProvider != null)
696:                    expansionItemProvider.dispose();
697:                if (expressionItemProvider != null)
698:                    expressionItemProvider.dispose();
699:                if (termItemProvider != null)
700:                    termItemProvider.dispose();
701:                if (conditionTermItemProvider != null)
702:                    conditionTermItemProvider.dispose();
703:                if (operatorTermItemProvider != null)
704:                    operatorTermItemProvider.dispose();
705:                if (orOperatorItemProvider != null)
706:                    orOperatorItemProvider.dispose();
707:                if (andOperatorItemProvider != null)
708:                    andOperatorItemProvider.dispose();
709:                if (rootItemProvider != null)
710:                    rootItemProvider.dispose();
711:                if (globalsItemProvider != null)
712:                    globalsItemProvider.dispose();
713:            }
714:
715:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.