Source Code Cross Referenced for ProjectSwitch.java in  » GIS » udig-1.1 » net » refractions » udig » project » internal » util » 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 » GIS » udig 1.1 » net.refractions.udig.project.internal.util 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * <copyright></copyright> $Id: ProjectSwitch.java 23326 2006-12-08 02:42:32Z jeichar $
003:         */package net.refractions.udig.project.internal.util;
004:
005:        import java.util.List;
006:
007:        import net.refractions.udig.catalog.IResolveChangeListener;
008:        import net.refractions.udig.core.IBlockingAdaptable;
009:        import net.refractions.udig.project.IAbstractContext;
010:        import net.refractions.udig.project.IBlackboard;
011:        import net.refractions.udig.project.IEditManager;
012:        import net.refractions.udig.project.ILayer;
013:        import net.refractions.udig.project.IMap;
014:        import net.refractions.udig.project.IProject;
015:        import net.refractions.udig.project.IProjectElement;
016:        import net.refractions.udig.project.internal.AbstractContext;
017:        import net.refractions.udig.project.internal.Blackboard;
018:        import net.refractions.udig.project.internal.BlackboardEntry;
019:        import net.refractions.udig.project.internal.ContextModel;
020:        import net.refractions.udig.project.internal.EditManager;
021:        import net.refractions.udig.project.internal.Layer;
022:        import net.refractions.udig.project.internal.LayerFactory;
023:        import net.refractions.udig.project.internal.Map;
024:        import net.refractions.udig.project.internal.PicoBlackboard;
025:        import net.refractions.udig.project.internal.Project;
026:        import net.refractions.udig.project.internal.ProjectElement;
027:        import net.refractions.udig.project.internal.ProjectPackage;
028:        import net.refractions.udig.project.internal.ProjectRegistry;
029:        import net.refractions.udig.project.internal.StyleBlackboard;
030:        import net.refractions.udig.project.internal.StyleEntry;
031:        import net.refractions.udig.project.render.IRenderManager;
032:        import net.refractions.udig.project.render.IViewportModel;
033:
034:        import org.eclipse.core.runtime.IAdaptable;
035:        import org.eclipse.emf.ecore.EClass;
036:        import org.eclipse.emf.ecore.EObject;
037:
038:        /**
039:         * <!-- begin-user-doc --> The <b>Switch </b> for the model's inheritance hierarchy. It supports the
040:         * call {@link #doSwitch(EObject) doSwitch(object)}to invoke the <code>caseXXX</code> method for
041:         * each class of the model, starting with the actual class of the object and proceeding up the
042:         * inheritance hierarchy until a non-null result is returned, which is the result of the switch.
043:         * <!-- end-user-doc -->
044:         * @see net.refractions.udig.project.internal.ProjectPackage
045:         * @generated
046:         */
047:        public class ProjectSwitch {
048:
049:            /**
050:             * The cached model package
051:             * <!-- begin-user-doc --> <!-- end-user-doc -->
052:             * @generated NOT
053:             */
054:            static ProjectPackage modelPackage;
055:
056:            /**
057:             * Creates an instance of the switch.
058:             * <!-- begin-user-doc --> <!-- end-user-doc -->
059:             * @generated
060:             */
061:            public ProjectSwitch() {
062:                if (modelPackage == null) {
063:                    modelPackage = ProjectPackage.eINSTANCE;
064:                }
065:            }
066:
067:            /**
068:             * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
069:             * <!-- begin-user-doc --> <!-- end-user-doc -->
070:             * @return the first non-null result returned by a <code>caseXXX</code> call.
071:             * @generated
072:             */
073:            public Object doSwitch(EObject theEObject) {
074:                return doSwitch(theEObject.eClass(), theEObject);
075:            }
076:
077:            /**
078:             * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
079:             * <!-- begin-user-doc --> <!-- end-user-doc -->
080:             * @return the first non-null result returned by a <code>caseXXX</code> call.
081:             * @generated
082:             */
083:            protected Object doSwitch(EClass theEClass, EObject theEObject) {
084:                if (theEClass.eContainer() == modelPackage) {
085:                    return doSwitch(theEClass.getClassifierID(), theEObject);
086:                } else {
087:                    List eSuperTypes = theEClass.getESuperTypes();
088:                    return eSuperTypes.isEmpty() ? defaultCase(theEObject)
089:                            : doSwitch((EClass) eSuperTypes.get(0), theEObject);
090:                }
091:            }
092:
093:            /**
094:             * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
095:             * <!-- begin-user-doc --> <!-- end-user-doc -->
096:             * @return the first non-null result returned by a <code>caseXXX</code> call.
097:             * @generated
098:             */
099:            protected Object doSwitch(int classifierID, EObject theEObject) {
100:                switch (classifierID) {
101:                case ProjectPackage.ABSTRACT_CONTEXT: {
102:                    AbstractContext abstractContext = (AbstractContext) theEObject;
103:                    Object result = caseAbstractContext(abstractContext);
104:                    if (result == null)
105:                        result = caseIAbstractContext(abstractContext);
106:                    if (result == null)
107:                        result = defaultCase(theEObject);
108:                    return result;
109:                }
110:                case ProjectPackage.CONTEXT_MODEL: {
111:                    ContextModel contextModel = (ContextModel) theEObject;
112:                    Object result = caseContextModel(contextModel);
113:                    if (result == null)
114:                        result = defaultCase(theEObject);
115:                    return result;
116:                }
117:                case ProjectPackage.EDIT_MANAGER: {
118:                    EditManager editManager = (EditManager) theEObject;
119:                    Object result = caseEditManager(editManager);
120:                    if (result == null)
121:                        result = caseIEditManager(editManager);
122:                    if (result == null)
123:                        result = defaultCase(theEObject);
124:                    return result;
125:                }
126:                case ProjectPackage.LAYER: {
127:                    Layer layer = (Layer) theEObject;
128:                    Object result = caseLayer(layer);
129:                    if (result == null)
130:                        result = caseILayer(layer);
131:                    if (result == null)
132:                        result = caseIAdaptable(layer);
133:                    if (result == null)
134:                        result = caseIBlockingAdaptable(layer);
135:                    if (result == null)
136:                        result = caseIResolveChangeListener(layer);
137:                    if (result == null)
138:                        result = defaultCase(theEObject);
139:                    return result;
140:                }
141:                case ProjectPackage.MAP: {
142:                    Map map = (Map) theEObject;
143:                    Object result = caseMap(map);
144:                    if (result == null)
145:                        result = caseProjectElement(map);
146:                    if (result == null)
147:                        result = caseIMap(map);
148:                    if (result == null)
149:                        result = caseIProjectElement(map);
150:                    if (result == null)
151:                        result = caseIAdaptable(map);
152:                    if (result == null)
153:                        result = defaultCase(theEObject);
154:                    return result;
155:                }
156:                case ProjectPackage.PROJECT: {
157:                    Project project = (Project) theEObject;
158:                    Object result = caseProject(project);
159:                    if (result == null)
160:                        result = caseIProject(project);
161:                    if (result == null)
162:                        result = defaultCase(theEObject);
163:                    return result;
164:                }
165:                case ProjectPackage.PROJECT_ELEMENT: {
166:                    ProjectElement projectElement = (ProjectElement) theEObject;
167:                    Object result = caseProjectElement(projectElement);
168:                    if (result == null)
169:                        result = caseIProjectElement(projectElement);
170:                    if (result == null)
171:                        result = caseIAdaptable(projectElement);
172:                    if (result == null)
173:                        result = defaultCase(theEObject);
174:                    return result;
175:                }
176:                case ProjectPackage.PROJECT_REGISTRY: {
177:                    ProjectRegistry projectRegistry = (ProjectRegistry) theEObject;
178:                    Object result = caseProjectRegistry(projectRegistry);
179:                    if (result == null)
180:                        result = defaultCase(theEObject);
181:                    return result;
182:                }
183:                case ProjectPackage.STYLE_BLACKBOARD: {
184:                    StyleBlackboard styleBlackboard = (StyleBlackboard) theEObject;
185:                    Object result = caseStyleBlackboard(styleBlackboard);
186:                    if (result == null)
187:                        result = caseIBlackboard(styleBlackboard);
188:                    if (result == null)
189:                        result = caseCloneable(styleBlackboard);
190:                    if (result == null)
191:                        result = defaultCase(theEObject);
192:                    return result;
193:                }
194:                case ProjectPackage.STYLE_ENTRY: {
195:                    StyleEntry styleEntry = (StyleEntry) theEObject;
196:                    Object result = caseStyleEntry(styleEntry);
197:                    if (result == null)
198:                        result = defaultCase(theEObject);
199:                    return result;
200:                }
201:                case ProjectPackage.LAYER_FACTORY: {
202:                    LayerFactory layerFactory = (LayerFactory) theEObject;
203:                    Object result = caseLayerFactory(layerFactory);
204:                    if (result == null)
205:                        result = defaultCase(theEObject);
206:                    return result;
207:                }
208:                case ProjectPackage.PICO_BLACKBOARD: {
209:                    PicoBlackboard picoBlackboard = (PicoBlackboard) theEObject;
210:                    Object result = casePicoBlackboard(picoBlackboard);
211:                    if (result == null)
212:                        result = caseIBlackboard(picoBlackboard);
213:                    if (result == null)
214:                        result = defaultCase(theEObject);
215:                    return result;
216:                }
217:                case ProjectPackage.BLACKBOARD: {
218:                    Blackboard blackboard = (Blackboard) theEObject;
219:                    Object result = caseBlackboard(blackboard);
220:                    if (result == null)
221:                        result = caseIBlackboard(blackboard);
222:                    if (result == null)
223:                        result = defaultCase(theEObject);
224:                    return result;
225:                }
226:                case ProjectPackage.BLACKBOARD_ENTRY: {
227:                    BlackboardEntry blackboardEntry = (BlackboardEntry) theEObject;
228:                    Object result = caseBlackboardEntry(blackboardEntry);
229:                    if (result == null)
230:                        result = defaultCase(theEObject);
231:                    return result;
232:                }
233:                default:
234:                    return defaultCase(theEObject);
235:                }
236:            }
237:
238:            /**
239:             * Returns the result of interpretting the object as an instance of '<em>Context Model</em>'.
240:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
241:             * terminate the switch. <!-- end-user-doc -->
242:             * @param object the target of the switch.
243:             * @return the result of interpretting the object as an instance of '<em>Context Model</em>'.
244:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
245:             * @generated
246:             */
247:            public Object caseContextModel(ContextModel object) {
248:                return null;
249:            }
250:
251:            /**
252:             * Returns the result of interpretting the object as an instance of '<em>Layer</em>'. <!--
253:             * begin-user-doc --> This implementation returns null; returning a non-null result will
254:             * terminate the switch. <!-- end-user-doc -->
255:             * 
256:             * @param object the target of the switch.
257:             * @return the result of interpretting the object as an instance of '<em>Layer</em>'.
258:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
259:             * @generated
260:             */
261:            public Object caseLayer(Layer object) {
262:                return null;
263:            }
264:
265:            /**
266:             * Returns the result of interpretting the object as an instance of '<em>Map</em>'. <!--
267:             * begin-user-doc --> This implementation returns null; returning a non-null result will
268:             * terminate the switch. <!-- end-user-doc -->
269:             * 
270:             * @param object the target of the switch.
271:             * @return the result of interpretting the object as an instance of '<em>Map</em>'.
272:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
273:             * @generated
274:             */
275:            public Object caseMap(Map object) {
276:                return null;
277:            }
278:
279:            /**
280:             * Returns the result of interpretting the object as an instance of '<em>Project</em>'. <!--
281:             * begin-user-doc --> This implementation returns null; returning a non-null result will
282:             * terminate the switch. <!-- end-user-doc -->
283:             * 
284:             * @param object the target of the switch.
285:             * @return the result of interpretting the object as an instance of '<em>Project</em>'.
286:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
287:             * @generated
288:             */
289:            public Object caseProject(Project object) {
290:                return null;
291:            }
292:
293:            /**
294:             * Returns the result of interpretting the object as an instance of '<em>Element</em>'. <!--
295:             * begin-user-doc --> This implementation returns null; returning a non-null result will
296:             * terminate the switch. <!-- end-user-doc -->
297:             * 
298:             * @param object the target of the switch.
299:             * @return the result of interpretting the object as an instance of '<em>Element</em>'.
300:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
301:             * @generated
302:             */
303:            public Object caseProjectElement(ProjectElement object) {
304:                return null;
305:            }
306:
307:            /**
308:             * Returns the result of interpretting the object as an instance of '<em>Registry</em>'.
309:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
310:             * terminate the switch. <!-- end-user-doc -->
311:             * @param object the target of the switch.
312:             * @return the result of interpretting the object as an instance of '<em>Registry</em>'.
313:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
314:             * @generated
315:             */
316:            public Object caseProjectRegistry(ProjectRegistry object) {
317:                return null;
318:            }
319:
320:            /**
321:             * Returns the result of interpretting the object as an instance of '<em>Cloneable</em>'.
322:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
323:             * terminate the switch. <!-- end-user-doc -->
324:             * @param object the target of the switch.
325:             * @return the result of interpretting the object as an instance of '<em>Cloneable</em>'.
326:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
327:             * @generated
328:             */
329:            public Object caseCloneable(Cloneable object) {
330:                return null;
331:            }
332:
333:            /**
334:             * Returns the result of interpretting the object as an instance of '<em>Layer Factory</em>'.
335:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
336:             * terminate the switch. <!-- end-user-doc -->
337:             * @param object the target of the switch.
338:             * @return the result of interpretting the object as an instance of '<em>Layer Factory</em>'.
339:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
340:             * @generated
341:             */
342:            public Object caseLayerFactory(LayerFactory object) {
343:                return null;
344:            }
345:
346:            /**
347:             * Returns the result of interpretting the object as an instance of '<em>IAdaptable</em>'.
348:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
349:             * terminate the switch. <!-- end-user-doc -->
350:             * @param object the target of the switch.
351:             * @return the result of interpretting the object as an instance of '<em>IAdaptable</em>'.
352:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
353:             * @generated
354:             */
355:            public Object caseIAdaptable(IAdaptable object) {
356:                return null;
357:            }
358:
359:            /**
360:             * Returns the result of interpretting the object as an instance of '<em>IBlocking Adaptable</em>'.
361:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
362:             * terminate the switch. <!-- end-user-doc -->
363:             * @param object the target of the switch.
364:             * @return the result of interpretting the object as an instance of '<em>IBlocking Adaptable</em>'.
365:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
366:             * @generated
367:             */
368:            public Object caseIBlockingAdaptable(IBlockingAdaptable object) {
369:                return null;
370:            }
371:
372:            /**
373:             * Returns the result of interpretting the object as an instance of '<em>Pico Blackboard</em>'.
374:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
375:             * terminate the switch. <!-- end-user-doc -->
376:             * @param object the target of the switch.
377:             * @return the result of interpretting the object as an instance of '<em>Pico Blackboard</em>'.
378:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
379:             * @generated
380:             */
381:            public Object casePicoBlackboard(PicoBlackboard object) {
382:                return null;
383:            }
384:
385:            /**
386:             * Returns the result of interpretting the object as an instance of '<em>Blackboard</em>'.
387:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
388:             * terminate the switch. <!-- end-user-doc -->
389:             * @param object the target of the switch.
390:             * @return the result of interpretting the object as an instance of '<em>Blackboard</em>'.
391:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
392:             * @generated
393:             */
394:            public Object caseBlackboard(Blackboard object) {
395:                return null;
396:            }
397:
398:            /**
399:             * Returns the result of interpretting the object as an instance of '<em>Blackboard Entry</em>'.
400:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
401:             * terminate the switch. <!-- end-user-doc -->
402:             * @param object the target of the switch.
403:             * @return the result of interpretting the object as an instance of '<em>Blackboard Entry</em>'.
404:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
405:             * @generated
406:             */
407:            public Object caseBlackboardEntry(BlackboardEntry object) {
408:                return null;
409:            }
410:
411:            /**
412:             * Returns the result of interpretting the object as an instance of '<em>IResolve Change Listener</em>'.
413:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
414:             * terminate the switch. <!-- end-user-doc -->
415:             * @param object the target of the switch.
416:             * @return the result of interpretting the object as an instance of '<em>IResolve Change Listener</em>'.
417:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
418:             * @generated
419:             */
420:            public Object caseIResolveChangeListener(
421:                    IResolveChangeListener object) {
422:                return null;
423:            }
424:
425:            /**
426:             * Returns the result of interpretting the object as an instance of '<em>Abstract Context</em>'.
427:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
428:             * terminate the switch. <!-- end-user-doc -->
429:             * @param object the target of the switch.
430:             * @return the result of interpretting the object as an instance of '<em>Abstract Context</em>'.
431:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
432:             * @generated
433:             */
434:            public Object caseAbstractContext(AbstractContext object) {
435:                return null;
436:            }
437:
438:            /**
439:             * Returns the result of interpretting the object as an instance of '<em>Style Blackboard</em>'.
440:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
441:             * terminate the switch. <!-- end-user-doc -->
442:             * @param object the target of the switch.
443:             * @return the result of interpretting the object as an instance of '<em>Style Blackboard</em>'.
444:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
445:             * @generated
446:             */
447:            public Object caseStyleBlackboard(StyleBlackboard object) {
448:                return null;
449:            }
450:
451:            /**
452:             * Returns the result of interpretting the object as an instance of '<em>Style Entry</em>'.
453:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
454:             * terminate the switch. <!-- end-user-doc -->
455:             * @param object the target of the switch.
456:             * @return the result of interpretting the object as an instance of '<em>Style Entry</em>'.
457:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
458:             * @generated
459:             */
460:            public Object caseStyleEntry(StyleEntry object) {
461:                return null;
462:            }
463:
464:            /**
465:             * Returns the result of interpretting the object as an instance of '<em>Comparable</em>'.
466:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
467:             * terminate the switch. <!-- end-user-doc -->
468:             * @param object the target of the switch.
469:             * @return the result of interpretting the object as an instance of '<em>Comparable</em>'.
470:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
471:             * @generated
472:             */
473:            public Object caseComparable(Comparable object) {
474:                return null;
475:            }
476:
477:            /**
478:             * Returns the result of interpretting the object as an instance of '<em>IMap</em>'. <!--
479:             * begin-user-doc --> This implementation returns null; returning a non-null result will
480:             * terminate the switch. <!-- end-user-doc -->
481:             * 
482:             * @param object the target of the switch.
483:             * @return the result of interpretting the object as an instance of '<em>IMap</em>'.
484:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
485:             * @generated
486:             */
487:            public Object caseIMap(IMap object) {
488:                return null;
489:            }
490:
491:            /**
492:             * Returns the result of interpretting the object as an instance of '<em>ILayer</em>'. <!--
493:             * begin-user-doc --> This implementation returns null; returning a non-null result will
494:             * terminate the switch. <!-- end-user-doc -->
495:             * 
496:             * @param object the target of the switch.
497:             * @return the result of interpretting the object as an instance of '<em>ILayer</em>'.
498:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
499:             * @generated
500:             */
501:            public Object caseILayer(ILayer object) {
502:                return null;
503:            }
504:
505:            /**
506:             * Returns the result of interpretting the object as an instance of '<em>IEdit Manager</em>'.
507:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
508:             * terminate the switch. <!-- end-user-doc -->
509:             * @param object the target of the switch.
510:             * @return the result of interpretting the object as an instance of '<em>IEdit Manager</em>'.
511:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
512:             * @generated
513:             */
514:            public Object caseIEditManager(IEditManager object) {
515:                return null;
516:            }
517:
518:            /**
519:             * Returns the result of interpretting the object as an instance of '<em>IProject</em>'.
520:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
521:             * terminate the switch. <!-- end-user-doc -->
522:             * @param object the target of the switch.
523:             * @return the result of interpretting the object as an instance of '<em>IProject</em>'.
524:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
525:             * @generated
526:             */
527:            public Object caseIProject(IProject object) {
528:                return null;
529:            }
530:
531:            /**
532:             * Returns the result of interpretting the object as an instance of '<em>IAbstract Context</em>'.
533:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
534:             * terminate the switch. <!-- end-user-doc -->
535:             * @param object the target of the switch.
536:             * @return the result of interpretting the object as an instance of '<em>IAbstract Context</em>'.
537:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
538:             * @generated
539:             */
540:            public Object caseIAbstractContext(IAbstractContext object) {
541:                return null;
542:            }
543:
544:            /**
545:             * Returns the result of interpretting the object as an instance of '<em>IBlackboard</em>'.
546:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
547:             * terminate the switch. <!-- end-user-doc -->
548:             * @param object the target of the switch.
549:             * @return the result of interpretting the object as an instance of '<em>IBlackboard</em>'.
550:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
551:             * @generated
552:             */
553:            public Object caseIBlackboard(IBlackboard object) {
554:                return null;
555:            }
556:
557:            /**
558:             * Returns the result of interpretting the object as an instance of '<em>IProject Element</em>'.
559:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
560:             * terminate the switch. <!-- end-user-doc -->
561:             * @param object the target of the switch.
562:             * @return the result of interpretting the object as an instance of '<em>IProject Element</em>'.
563:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
564:             * @generated
565:             */
566:            public Object caseIProjectElement(IProjectElement object) {
567:                return null;
568:            }
569:
570:            /**
571:             * Returns the result of interpretting the object as an instance of '<em>IRender Manager</em>'.
572:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
573:             * terminate the switch. <!-- end-user-doc -->
574:             * @param object the target of the switch.
575:             * @return the result of interpretting the object as an instance of '<em>IRender Manager</em>'.
576:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
577:             * @generated
578:             */
579:            public Object caseIRenderManager(IRenderManager object) {
580:                return null;
581:            }
582:
583:            /**
584:             * Returns the result of interpretting the object as an instance of '<em>IViewport Model</em>'.
585:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
586:             * terminate the switch. <!-- end-user-doc -->
587:             * @param object the target of the switch.
588:             * @return the result of interpretting the object as an instance of '<em>IViewport Model</em>'.
589:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
590:             * @generated
591:             */
592:            public Object caseIViewportModel(IViewportModel object) {
593:                return null;
594:            }
595:
596:            /**
597:             * Returns the result of interpretting the object as an instance of '<em>Edit Manager</em>'.
598:             * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
599:             * terminate the switch. <!-- end-user-doc -->
600:             * @param object the target of the switch.
601:             * @return the result of interpretting the object as an instance of '<em>Edit Manager</em>'.
602:             * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
603:             * @generated
604:             */
605:            public Object caseEditManager(EditManager object) {
606:                return null;
607:            }
608:
609:            /**
610:             * Returns the result of interpretting the object as an instance of '<em>EObject</em>'. <!--
611:             * begin-user-doc --> This implementation returns null; returning a non-null result will
612:             * terminate the switch, but this is the last case anyway. <!-- end-user-doc -->
613:             * 
614:             * @param object the target of the switch.
615:             * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
616:             * @see #doSwitch(org.eclipse.emf.ecore.EObject)
617:             * @generated
618:             */
619:            public Object defaultCase(EObject object) {
620:                return null;
621:            }
622:
623:        } // ProjectSwitch
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.