Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingAdapterFactory.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingAdapterFactory.java579
1 files changed, 579 insertions, 0 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingAdapterFactory.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingAdapterFactory.java
new file mode 100644
index 00000000000..aa86990767b
--- /dev/null
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/util/FunctionmodelingAdapterFactory.java
@@ -0,0 +1,579 @@
+/*****************************************************************************
+ * Copyright (c) 2010 CEA LIST.
+ *
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Sara TUCCI (CEA LIST) sara.tucci@cea.fr - Initial API and implementation
+ * Chokri MRAIDHA (CEA LIST) chokri.mraidha@cea.fr - Initial API and implementation
+ * David SERVAT (CEA LIST) david.servat@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+package org.eclipse.papyrus.eastadl.structure.functionmodeling.util;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notifier;
+import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.Context;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.AllocateableElement;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPrototype;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionType;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.BasicSoftwareFunctionType;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionPrototype;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionType;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPowerPort;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionalDevice;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.HardwareFunctionType;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.LocalDeviceManager;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation;
+import org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup;
+import org.eclipse.papyrus.sysml.blocks.Block;
+import org.eclipse.papyrus.sysml.portandflows.FlowPort;
+
+
+/**
+ * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides an adapter
+ * <code>createXXX</code> method for each class of the model. <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage
+ * @generated
+ */
+public class FunctionmodelingAdapterFactory extends AdapterFactoryImpl {
+
+ /**
+ * The cached model package.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected static FunctionmodelingPackage modelPackage;
+
+ /**
+ * The switch that delegates to the <code>createXXX</code> methods.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected FunctionmodelingSwitch<Adapter> modelSwitch = new FunctionmodelingSwitch<Adapter>() {
+ @Override
+ public Adapter caseLocalDeviceManager(LocalDeviceManager object) {
+ return createLocalDeviceManagerAdapter();
+ }
+ @Override
+ public Adapter caseDesignFunctionType(DesignFunctionType object) {
+ return createDesignFunctionTypeAdapter();
+ }
+ @Override
+ public Adapter caseFunctionType(FunctionType object) {
+ return createFunctionTypeAdapter();
+ }
+ @Override
+ public Adapter caseFunctionPort(FunctionPort object) {
+ return createFunctionPortAdapter();
+ }
+ @Override
+ public Adapter casePortGroup(PortGroup object) {
+ return createPortGroupAdapter();
+ }
+ @Override
+ public Adapter caseFunctionConnector(FunctionConnector object) {
+ return createFunctionConnectorAdapter();
+ }
+ @Override
+ public Adapter caseAllocateableElement(AllocateableElement object) {
+ return createAllocateableElementAdapter();
+ }
+ @Override
+ public Adapter caseFunctionPrototype(FunctionPrototype object) {
+ return createFunctionPrototypeAdapter();
+ }
+ @Override
+ public Adapter caseDesignFunctionPrototype(DesignFunctionPrototype object) {
+ return createDesignFunctionPrototypeAdapter();
+ }
+ @Override
+ public Adapter caseFunctionalDevice(FunctionalDevice object) {
+ return createFunctionalDeviceAdapter();
+ }
+ @Override
+ public Adapter caseAnalysisFunctionType(AnalysisFunctionType object) {
+ return createAnalysisFunctionTypeAdapter();
+ }
+ @Override
+ public Adapter caseAnalysisFunctionPrototype(AnalysisFunctionPrototype object) {
+ return createAnalysisFunctionPrototypeAdapter();
+ }
+ @Override
+ public Adapter caseFunctionFlowPort(FunctionFlowPort object) {
+ return createFunctionFlowPortAdapter();
+ }
+ @Override
+ public Adapter caseFunctionClientServerPort(FunctionClientServerPort object) {
+ return createFunctionClientServerPortAdapter();
+ }
+ @Override
+ public Adapter caseFunctionClientServerInterface(FunctionClientServerInterface object) {
+ return createFunctionClientServerInterfaceAdapter();
+ }
+ @Override
+ public Adapter caseOperation(Operation object) {
+ return createOperationAdapter();
+ }
+ @Override
+ public Adapter caseBasicSoftwareFunctionType(BasicSoftwareFunctionType object) {
+ return createBasicSoftwareFunctionTypeAdapter();
+ }
+ @Override
+ public Adapter caseHardwareFunctionType(HardwareFunctionType object) {
+ return createHardwareFunctionTypeAdapter();
+ }
+ @Override
+ public Adapter caseFunctionAllocation(FunctionAllocation object) {
+ return createFunctionAllocationAdapter();
+ }
+ @Override
+ public Adapter caseAllocation(Allocation object) {
+ return createAllocationAdapter();
+ }
+ @Override
+ public Adapter caseFunctionPowerPort(FunctionPowerPort object) {
+ return createFunctionPowerPortAdapter();
+ }
+ @Override
+ public Adapter caseEAElement(EAElement object) {
+ return createEAElementAdapter();
+ }
+ @Override
+ public Adapter caseContext(Context object) {
+ return createContextAdapter();
+ }
+ @Override
+ public Adapter caseBlock(Block object) {
+ return createBlockAdapter();
+ }
+ @Override
+ public Adapter caseFlowPort(FlowPort object) {
+ return createFlowPortAdapter();
+ }
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
+
+ /**
+ * Creates an instance of the adapter factory.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public FunctionmodelingAdapterFactory() {
+ if (modelPackage == null) {
+ modelPackage = FunctionmodelingPackage.eINSTANCE;
+ }
+ }
+
+ /**
+ * Creates an adapter for the <code>target</code>.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @param target the object to adapt.
+ * @return the adapter for the <code>target</code>.
+ * @generated
+ */
+ @Override
+ public Adapter createAdapter(Notifier target) {
+ return modelSwitch.doSwitch((EObject)target);
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AllocateableElement <em>Allocateable Element</em>}'.
+ * <!-- begin-user-doc --> This default implementation returns
+ * null so that we can easily ignore cases; it's useful to ignore a case when inheritance will
+ * catch all the cases anyway. <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.AllocateableElement
+ * @generated
+ */
+ public Adapter createAllocateableElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation <em>Allocation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.Allocation
+ * @generated
+ */
+ public Adapter createAllocationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPrototype <em>Analysis Function Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionPrototype
+ * @generated
+ */
+ public Adapter createAnalysisFunctionPrototypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionType <em>Analysis Function Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.AnalysisFunctionType
+ * @generated
+ */
+ public Adapter createAnalysisFunctionTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.BasicSoftwareFunctionType <em>Basic Software Function Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.BasicSoftwareFunctionType
+ * @generated
+ */
+ public Adapter createBasicSoftwareFunctionTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.sysml.blocks.Block <em>Block</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.sysml.blocks.Block
+ * @generated
+ */
+ public Adapter createBlockAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.Context <em>Context</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.Context
+ * @generated
+ */
+ public Adapter createContextAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionPrototype <em>Design Function Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionPrototype
+ * @generated
+ */
+ public Adapter createDesignFunctionPrototypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionType <em>Design Function Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.DesignFunctionType
+ * @generated
+ */
+ public Adapter createDesignFunctionTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for the default case.
+ * <!-- begin-user-doc --> This default
+ * implementation returns null. <!-- end-user-doc -->
+ * @return the new adapter.
+ * @generated
+ */
+ public Adapter createEObjectAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '
+ * {@link com.cea.papyrus.uml4sysml.sysml.portandflows.FlowPort <em>Flow Port</em>}'. <!--
+ * begin-user-doc --> This default implementation returns null so that we can easily ignore
+ * cases; it's useful to ignore a case when inheritance will catch all the cases anyway. <!--
+ * end-user-doc -->
+ *
+ * @return the new adapter.
+ * @see com.cea.papyrus.uml4sysml.sysml.portandflows.FlowPort
+ * @generated
+ */
+ public Adapter createFlowPortAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionalDevice <em>Functional Device</em>}'.
+ * <!-- begin-user-doc --> This default implementation returns
+ * null so that we can easily ignore cases; it's useful to ignore a case when inheritance will
+ * catch all the cases anyway. <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionalDevice
+ * @generated
+ */
+ public Adapter createFunctionalDeviceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation <em>Function Allocation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionAllocation
+ * @generated
+ */
+ public Adapter createFunctionAllocationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface <em>Function Client Server Interface</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerInterface
+ * @generated
+ */
+ public Adapter createFunctionClientServerInterfaceAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort <em>Function Client Server Port</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionClientServerPort
+ * @generated
+ */
+ public Adapter createFunctionClientServerPortAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector <em>Function Connector</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector
+ * @generated
+ */
+ public Adapter createFunctionConnectorAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort <em>Function Flow Port</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionFlowPort
+ * @generated
+ */
+ public Adapter createFunctionFlowPortAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort <em>Function Port</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort
+ * @generated
+ */
+ public Adapter createFunctionPortAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPowerPort <em>Function Power Port</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPowerPort
+ * @generated
+ */
+ public Adapter createFunctionPowerPortAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement <em>EA Element</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement
+ * @generated
+ */
+ public Adapter createEAElementAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype <em>Function Prototype</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype
+ * @generated
+ */
+ public Adapter createFunctionPrototypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType <em>Function Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionType
+ * @generated
+ */
+ public Adapter createFunctionTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.HardwareFunctionType <em>Hardware Function Type</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.HardwareFunctionType
+ * @generated
+ */
+ public Adapter createHardwareFunctionTypeAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.LocalDeviceManager <em>Local Device Manager</em>}'.
+ * <!-- begin-user-doc --> This default implementation returns
+ * null so that we can easily ignore cases; it's useful to ignore a case when inheritance will
+ * catch all the cases anyway. <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.LocalDeviceManager
+ * @generated
+ */
+ public Adapter createLocalDeviceManagerAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation <em>Operation</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.Operation
+ * @generated
+ */
+ public Adapter createOperationAdapter() {
+ return null;
+ }
+
+ /**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup <em>Port Group</em>}'.
+ * <!-- begin-user-doc -->
+ * This default implementation returns null so that we can easily ignore cases;
+ * it's useful to ignore a case when inheritance will catch all the cases anyway.
+ * <!-- end-user-doc -->
+ * @return the new adapter.
+ * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.PortGroup
+ * @generated
+ */
+ public Adapter createPortGroupAdapter() {
+ return null;
+ }
+
+ /**
+ * Returns whether this factory is applicable for the type of the object.
+ * <!-- begin-user-doc
+ * --> This implementation returns <code>true</code> if the object is either the model's package
+ * or is an instance object of the model. <!-- end-user-doc -->
+ * @return whether this factory is applicable for the type of the object.
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
+ return true;
+ }
+ if (object instanceof EObject) {
+ return ((EObject)object).eClass().getEPackage() == modelPackage;
+ }
+ return false;
+ }
+
+} // FunctionmodelingAdapterFactory

Back to the top