Package org.locationtech.udig.project.internal.util

Source Code of org.locationtech.udig.project.internal.util.ProjectSwitch

/**
* <copyright></copyright> $Id$
*/
package org.locationtech.udig.project.internal.util;

import java.util.List;

import org.locationtech.udig.catalog.IResolveChangeListener;
import org.locationtech.udig.core.IBlockingAdaptable;
import org.locationtech.udig.project.IAbstractContext;
import org.locationtech.udig.project.IBlackboard;
import org.locationtech.udig.project.IEditManager;
import org.locationtech.udig.project.IFolder;
import org.locationtech.udig.project.ILayer;
import org.locationtech.udig.project.ILayerLegendItem;
import org.locationtech.udig.project.ILegendItem;
import org.locationtech.udig.project.IMap;
import org.locationtech.udig.project.IProject;
import org.locationtech.udig.project.IProjectElement;
import org.locationtech.udig.project.IStyleBlackboard;
import org.locationtech.udig.project.Interaction;
import org.locationtech.udig.project.internal.AbstractContext;
import org.locationtech.udig.project.internal.Blackboard;
import org.locationtech.udig.project.internal.BlackboardEntry;
import org.locationtech.udig.project.internal.ContextModel;
import org.locationtech.udig.project.internal.EditManager;
import org.locationtech.udig.project.internal.Folder;
import org.locationtech.udig.project.internal.Layer;
import org.locationtech.udig.project.internal.LayerFactory;
import org.locationtech.udig.project.internal.LayerLegendItem;
import org.locationtech.udig.project.internal.LegendItem;
import org.locationtech.udig.project.internal.Map;
import org.locationtech.udig.project.internal.Project;
import org.locationtech.udig.project.internal.ProjectElement;
import org.locationtech.udig.project.internal.ProjectPackage;
import org.locationtech.udig.project.internal.ProjectRegistry;
import org.locationtech.udig.project.internal.StyleBlackboard;
import org.locationtech.udig.project.internal.StyleEntry;
import org.locationtech.udig.project.render.IRenderManager;
import org.locationtech.udig.project.render.IViewportModel;

import org.eclipse.core.runtime.IAdaptable;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;

/**
* <!-- begin-user-doc --> The <b>Switch </b> for the model's inheritance hierarchy. It supports the
* call {@link #doSwitch(EObject) doSwitch(object)}to invoke the <code>caseXXX</code> method for
* each class of the model, starting with the actual class of the object and proceeding up the
* inheritance hierarchy until a non-null result is returned, which is the result of the switch.
* <!-- end-user-doc -->
* @see org.locationtech.udig.project.internal.ProjectPackage
* @generated
*/
public class ProjectSwitch<T> extends Switch<T> {

    /**
     * The cached model package
     * <!-- begin-user-doc --> <!-- end-user-doc -->
     * @generated NOT
     */
    static ProjectPackage modelPackage;

    /**
     * Creates an instance of the switch.
     * <!-- begin-user-doc --> <!-- end-user-doc -->
     * @generated
     */
    public ProjectSwitch() {
        if (modelPackage == null) {
            modelPackage = ProjectPackage.eINSTANCE;
        }
    }

    /**
     * Checks whether this is a switch for the given package.
     * <!-- begin-user-doc -->
     * <!-- end-user-doc -->
     * @parameter ePackage the package in question.
     * @return whether this is a switch for the given package.
     * @generated
     */
    @Override
    protected boolean isSwitchFor(EPackage ePackage) {
        return ePackage == modelPackage;
    }

    /**
     * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
     * <!-- begin-user-doc --> <!-- end-user-doc -->
     * @return the first non-null result returned by a <code>caseXXX</code> call.
     * @generated
     */
    @Override
    protected T doSwitch(int classifierID, EObject theEObject) {
        switch (classifierID) {
        case ProjectPackage.CONTEXT_MODEL: {
            ContextModel contextModel = (ContextModel) theEObject;
            T result = caseContextModel(contextModel);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.EDIT_MANAGER: {
            EditManager editManager = (EditManager) theEObject;
            T result = caseEditManager(editManager);
            if (result == null)
                result = caseIEditManager(editManager);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.LAYER: {
            Layer layer = (Layer) theEObject;
            T result = caseLayer(layer);
            if (result == null)
                result = caseILayer(layer);
            if (result == null)
                result = caseIAdaptable(layer);
            if (result == null)
                result = caseIBlockingAdaptable(layer);
            if (result == null)
                result = caseIResolveChangeListener(layer);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.MAP: {
            Map map = (Map) theEObject;
            T result = caseMap(map);
            if (result == null)
                result = caseProjectElement(map);
            if (result == null)
                result = caseIMap(map);
            if (result == null)
                result = caseIProjectElement(map);
            if (result == null)
                result = caseIAdaptable(map);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.PROJECT: {
            Project project = (Project) theEObject;
            T result = caseProject(project);
            if (result == null)
                result = caseIProject(project);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.PROJECT_ELEMENT: {
            ProjectElement projectElement = (ProjectElement) theEObject;
            T result = caseProjectElement(projectElement);
            if (result == null)
                result = caseIProjectElement(projectElement);
            if (result == null)
                result = caseIAdaptable(projectElement);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.PROJECT_REGISTRY: {
            ProjectRegistry projectRegistry = (ProjectRegistry) theEObject;
            T result = caseProjectRegistry(projectRegistry);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.STYLE_BLACKBOARD: {
            StyleBlackboard styleBlackboard = (StyleBlackboard) theEObject;
            T result = caseStyleBlackboard(styleBlackboard);
            if (result == null)
                result = caseIStyleBlackboard(styleBlackboard);
            if (result == null)
                result = caseCloneable(styleBlackboard);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.STYLE_ENTRY: {
            StyleEntry styleEntry = (StyleEntry) theEObject;
            T result = caseStyleEntry(styleEntry);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.LAYER_FACTORY: {
            LayerFactory layerFactory = (LayerFactory) theEObject;
            T result = caseLayerFactory(layerFactory);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.BLACKBOARD: {
            Blackboard blackboard = (Blackboard) theEObject;
            T result = caseBlackboard(blackboard);
            if (result == null)
                result = caseIBlackboard(blackboard);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.BLACKBOARD_ENTRY: {
            BlackboardEntry blackboardEntry = (BlackboardEntry) theEObject;
            T result = caseBlackboardEntry(blackboardEntry);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.INTERACTION_TO_EBOOLEAN_OBJECT_MAP_ENTRY: {
            @SuppressWarnings("unchecked")
            java.util.Map.Entry<Interaction, Boolean> interactionToEBooleanObjectMapEntry = (java.util.Map.Entry<Interaction, Boolean>) theEObject;
            T result = caseInteractionToEBooleanObjectMapEntry(interactionToEBooleanObjectMapEntry);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.FOLDER: {
            Folder folder = (Folder) theEObject;
            T result = caseFolder(folder);
            if (result == null)
                result = caseIFolder(folder);
            if (result == null)
                result = caseLegendItem(folder);
            if (result == null)
                result = caseILegendItem(folder);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.LEGEND_ITEM: {
            LegendItem legendItem = (LegendItem) theEObject;
            T result = caseLegendItem(legendItem);
            if (result == null)
                result = caseILegendItem(legendItem);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case ProjectPackage.LAYER_LEGEND_ITEM: {
            LayerLegendItem layerLegendItem = (LayerLegendItem) theEObject;
            T result = caseLayerLegendItem(layerLegendItem);
            if (result == null)
                result = caseLegendItem(layerLegendItem);
            if (result == null)
                result = caseILayerLegendItem(layerLegendItem);
            if (result == null)
                result = caseILegendItem(layerLegendItem);
            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        default:
            return defaultCase(theEObject);
        }
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Context Model</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Context Model</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseContextModel(ContextModel object) {
        return null;
    }

    /**
     * Returns the result of interpretting the object as an instance of '<em>Layer</em>'. <!--
     * begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     *
     * @param object the target of the switch.
     * @return the result of interpretting the object as an instance of '<em>Layer</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseLayer(Layer object) {
        return null;
    }

    /**
     * Returns the result of interpretting the object as an instance of '<em>Map</em>'. <!--
     * begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     *
     * @param object the target of the switch.
     * @return the result of interpretting the object as an instance of '<em>Map</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseMap(Map object) {
        return null;
    }

    /**
     * Returns the result of interpretting the object as an instance of '<em>Project</em>'. <!--
     * begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     *
     * @param object the target of the switch.
     * @return the result of interpretting the object as an instance of '<em>Project</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseProject(Project object) {
        return null;
    }

    /**
     * Returns the result of interpretting the object as an instance of '<em>Element</em>'. <!--
     * begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     *
     * @param object the target of the switch.
     * @return the result of interpretting the object as an instance of '<em>Element</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseProjectElement(ProjectElement object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Registry</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Registry</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseProjectRegistry(ProjectRegistry object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Cloneable</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Cloneable</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseCloneable(Cloneable object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Layer Factory</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Layer Factory</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseLayerFactory(LayerFactory object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IAdaptable</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IAdaptable</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIAdaptable(IAdaptable object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IBlocking Adaptable</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IBlocking Adaptable</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIBlockingAdaptable(IBlockingAdaptable object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Blackboard</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Blackboard</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseBlackboard(Blackboard object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Blackboard Entry</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Blackboard Entry</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseBlackboardEntry(BlackboardEntry object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IResolve Change Listener</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IResolve Change Listener</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIResolveChangeListener(IResolveChangeListener object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IStyle Blackboard</em>'.
     * <!-- begin-user-doc -->
     * This implementation returns null;
     * returning a non-null result will terminate the switch.
     * <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IStyle Blackboard</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIStyleBlackboard(IStyleBlackboard object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Interaction To EBoolean Object Map Entry</em>'.
     * <!-- begin-user-doc -->
     * This implementation returns null;
     * returning a non-null result will terminate the switch.
     * <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Interaction To EBoolean Object Map Entry</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseInteractionToEBooleanObjectMapEntry(
            java.util.Map.Entry<Interaction, Boolean> object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IFolder</em>'.
     * <!-- begin-user-doc -->
     * This implementation returns null;
     * returning a non-null result will terminate the switch.
     * <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IFolder</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIFolder(IFolder object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Folder</em>'.
     * <!-- begin-user-doc -->
     * This implementation returns null;
     * returning a non-null result will terminate the switch.
     * <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Folder</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseFolder(Folder object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>ILayer Legend Item</em>'.
     * <!-- begin-user-doc -->
     * This implementation returns null;
     * returning a non-null result will terminate the switch.
     * <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>ILayer Legend Item</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseILayerLegendItem(ILayerLegendItem object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Legend Item</em>'.
     * <!-- begin-user-doc -->
     * This implementation returns null;
     * returning a non-null result will terminate the switch.
     * <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Legend Item</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseLegendItem(LegendItem object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>ILegend Item</em>'.
     * <!-- begin-user-doc -->
     * This implementation returns null;
     * returning a non-null result will terminate the switch.
     * <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>ILegend Item</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseILegendItem(ILegendItem object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Layer Legend Item</em>'.
     * <!-- begin-user-doc -->
     * This implementation returns null;
     * returning a non-null result will terminate the switch.
     * <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Layer Legend Item</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseLayerLegendItem(LayerLegendItem object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Style Blackboard</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Style Blackboard</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseStyleBlackboard(StyleBlackboard object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Style Entry</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Style Entry</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseStyleEntry(StyleEntry object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Comparable</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Comparable</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseComparable(Comparable object) {
        return null;
    }

    /**
     * Returns the result of interpretting the object as an instance of '<em>IMap</em>'. <!--
     * begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     *
     * @param object the target of the switch.
     * @return the result of interpretting the object as an instance of '<em>IMap</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIMap(IMap object) {
        return null;
    }

    /**
     * Returns the result of interpretting the object as an instance of '<em>ILayer</em>'. <!--
     * begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     *
     * @param object the target of the switch.
     * @return the result of interpretting the object as an instance of '<em>ILayer</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseILayer(ILayer object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IEdit Manager</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IEdit Manager</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIEditManager(IEditManager object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IProject</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IProject</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIProject(IProject object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IAbstract Context</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IAbstract Context</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIAbstractContext(IAbstractContext object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IBlackboard</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IBlackboard</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIBlackboard(IBlackboard object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IProject Element</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IProject Element</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIProjectElement(IProjectElement object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IRender Manager</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IRender Manager</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIRenderManager(IRenderManager object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>IViewport Model</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>IViewport Model</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseIViewportModel(IViewportModel object) {
        return null;
    }

    /**
     * Returns the result of interpreting the object as an instance of '<em>Edit Manager</em>'.
     * <!-- begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch. <!-- end-user-doc -->
     * @param object the target of the switch.
     * @return the result of interpreting the object as an instance of '<em>Edit Manager</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
     * @generated
     */
    public T caseEditManager(EditManager object) {
        return null;
    }

    /**
     * Returns the result of interpretting the object as an instance of '<em>EObject</em>'. <!--
     * begin-user-doc --> This implementation returns null; returning a non-null result will
     * terminate the switch, but this is the last case anyway. <!-- end-user-doc -->
     *
     * @param object the target of the switch.
     * @return the result of interpretting the object as an instance of '<em>EObject</em>'.
     * @see #doSwitch(org.eclipse.emf.ecore.EObject)
     * @generated
     */
    @Override
    public T defaultCase(EObject object) {
        return null;
    }

} // ProjectSwitch
TOP

Related Classes of org.locationtech.udig.project.internal.util.ProjectSwitch

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.