Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.collaborationuse.xtext/src-gen/org/eclipse/papyrus/uml/textedit/collaborationuse/xtext/umlCollaborationUse/util/UmlCollaborationUseAdapterFactory.java')
-rw-r--r--plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.collaborationuse.xtext/src-gen/org/eclipse/papyrus/uml/textedit/collaborationuse/xtext/umlCollaborationUse/util/UmlCollaborationUseAdapterFactory.java95
1 files changed, 39 insertions, 56 deletions
diff --git a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.collaborationuse.xtext/src-gen/org/eclipse/papyrus/uml/textedit/collaborationuse/xtext/umlCollaborationUse/util/UmlCollaborationUseAdapterFactory.java b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.collaborationuse.xtext/src-gen/org/eclipse/papyrus/uml/textedit/collaborationuse/xtext/umlCollaborationUse/util/UmlCollaborationUseAdapterFactory.java
index d6e6e52c14c..96996fe29b5 100644
--- a/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.collaborationuse.xtext/src-gen/org/eclipse/papyrus/uml/textedit/collaborationuse/xtext/umlCollaborationUse/util/UmlCollaborationUseAdapterFactory.java
+++ b/plugins/uml/textedit/org.eclipse.papyrus.uml.textedit.collaborationuse.xtext/src-gen/org/eclipse/papyrus/uml/textedit/collaborationuse/xtext/umlCollaborationUse/util/UmlCollaborationUseAdapterFactory.java
@@ -15,17 +15,16 @@ import org.eclipse.papyrus.uml.textedit.collaborationuse.xtext.umlCollaborationU
* 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.uml.textedit.collaborationuse.xtext.umlCollaborationUse.UmlCollaborationUsePackage
* @generated
*/
-public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl
-{
+public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl {
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
protected static UmlCollaborationUsePackage modelPackage;
@@ -34,13 +33,11 @@ public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- public UmlCollaborationUseAdapterFactory()
- {
- if (modelPackage == null)
- {
+ public UmlCollaborationUseAdapterFactory() {
+ if (modelPackage == null) {
modelPackage = UmlCollaborationUsePackage.eINSTANCE;
}
}
@@ -50,19 +47,16 @@ public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl
* <!-- 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)
- {
+ public boolean isFactoryForType(Object object) {
+ if (object == modelPackage) {
return true;
}
- if (object instanceof EObject)
- {
+ if (object instanceof EObject) {
return ((EObject) object).eClass().getEPackage() == modelPackage;
}
return false;
@@ -72,50 +66,43 @@ public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
+ *
* @generated
*/
- protected UmlCollaborationUseSwitch<Adapter> modelSwitch =
- new UmlCollaborationUseSwitch<Adapter>()
- {
- @Override
- public Adapter caseCollaborationUseRule(CollaborationUseRule object)
- {
- return createCollaborationUseRuleAdapter();
- }
+ protected UmlCollaborationUseSwitch<Adapter> modelSwitch = new UmlCollaborationUseSwitch<Adapter>() {
+ @Override
+ public Adapter caseCollaborationUseRule(CollaborationUseRule object) {
+ return createCollaborationUseRuleAdapter();
+ }
- @Override
- public Adapter caseTypeRule(TypeRule object)
- {
- return createTypeRuleAdapter();
- }
+ @Override
+ public Adapter caseTypeRule(TypeRule object) {
+ return createTypeRuleAdapter();
+ }
- @Override
- public Adapter caseUmlCommon_TypeRule(org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.TypeRule object)
- {
- return createUmlCommon_TypeRuleAdapter();
- }
+ @Override
+ public Adapter caseUmlCommon_TypeRule(org.eclipse.papyrus.uml.textedit.common.xtext.umlCommon.TypeRule object) {
+ return createUmlCommon_TypeRuleAdapter();
+ }
- @Override
- public Adapter defaultCase(EObject object)
- {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter defaultCase(EObject object) {
+ return createEObjectAdapter();
+ }
+ };
/**
* 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)
- {
+ public Adapter createAdapter(Notifier target) {
return modelSwitch.doSwitch((EObject) target);
}
@@ -126,13 +113,12 @@ public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl
* 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.uml.textedit.collaborationuse.xtext.umlCollaborationUse.CollaborationUseRule
* @generated
*/
- public Adapter createCollaborationUseRuleAdapter()
- {
+ public Adapter createCollaborationUseRuleAdapter() {
return null;
}
@@ -142,13 +128,12 @@ public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl
* 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.uml.textedit.collaborationuse.xtext.umlCollaborationUse.TypeRule
* @generated
*/
- public Adapter createTypeRuleAdapter()
- {
+ public Adapter createTypeRuleAdapter() {
return null;
}
@@ -158,13 +143,12 @@ public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl
* 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.uml.textedit.common.xtext.umlCommon.TypeRule
* @generated
*/
- public Adapter createUmlCommon_TypeRuleAdapter()
- {
+ public Adapter createUmlCommon_TypeRuleAdapter() {
return null;
}
@@ -173,12 +157,11 @@ public class UmlCollaborationUseAdapterFactory extends AdapterFactoryImpl
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- *
+ *
* @return the new adapter.
* @generated
*/
- public Adapter createEObjectAdapter()
- {
+ public Adapter createEObjectAdapter() {
return null;
}

Back to the top