Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrschnekenbu2009-12-04 19:11:15 +0000
committerrschnekenbu2009-12-04 19:11:15 +0000
commit55534303c3e74fa7a4100692cee55485ecccb57d (patch)
treed010ead95297e8645c5a9615e780b8b269ee0ffa /plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java
parent1c532b58a4d8e08cc216b8a57070effb600545b6 (diff)
downloadorg.eclipse.papyrus-55534303c3e74fa7a4100692cee55485ecccb57d.tar.gz
org.eclipse.papyrus-55534303c3e74fa7a4100692cee55485ecccb57d.tar.xz
org.eclipse.papyrus-55534303c3e74fa7a4100692cee55485ecccb57d.zip
Applied the new Formatter on papyrus code
Diffstat (limited to 'plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java')
-rw-r--r--plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java162
1 files changed, 100 insertions, 62 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java
index 7be6bd554f3..e9ebae192fe 100644
--- a/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java
+++ b/plugins/developer/org.eclipse.papyrus.gmfgenextension/src/org/eclipse/papyrus/papyrusgmfgenextension/util/PapyrusgmfgenextensionAdapterFactory.java
@@ -20,14 +20,17 @@ import org.eclipse.papyrus.papyrusgmfgenextension.*;
* 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.papyrusgmfgenextension.PapyrusgmfgenextensionPackage
* @generated
*/
public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
+
/**
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected static PapyrusgmfgenextensionPackage modelPackage;
@@ -36,10 +39,11 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public PapyrusgmfgenextensionAdapterFactory() {
- if (modelPackage == null) {
+ if(modelPackage == null) {
modelPackage = PapyrusgmfgenextensionPackage.eINSTANCE;
}
}
@@ -49,15 +53,16 @@ public class PapyrusgmfgenextensionAdapterFactory 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) {
+ if(object == modelPackage) {
return true;
}
- if (object instanceof EObject) {
+ if(object instanceof EObject) {
return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
@@ -67,69 +72,85 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PapyrusgmfgenextensionSwitch<Adapter> modelSwitch =
- new PapyrusgmfgenextensionSwitch<Adapter>() {
- @Override
- public Adapter caseExtendedGenView(ExtendedGenView object) {
- return createExtendedGenViewAdapter();
- }
- @Override
- public Adapter caseCommentedElement(CommentedElement object) {
- return createCommentedElementAdapter();
- }
- @Override
- public Adapter casePropertyRefreshHook(PropertyRefreshHook object) {
- return createPropertyRefreshHookAdapter();
- }
- @Override
- public Adapter caseExternalHook(ExternalHook object) {
- return createExternalHookAdapter();
- }
- @Override
- public Adapter caseSpecificLocator(SpecificLocator object) {
- return createSpecificLocatorAdapter();
- }
- @Override
- public Adapter casePapyrusExtensionRootNode(PapyrusExtensionRootNode object) {
- return createPapyrusExtensionRootNodeAdapter();
- }
- @Override
- public Adapter caseAlternateCanvas(AlternateCanvas object) {
- return createAlternateCanvasAdapter();
- }
- @Override
- public Adapter caseAlternateGenTopLevelNode(AlternateGenTopLevelNode object) {
- return createAlternateGenTopLevelNodeAdapter();
- }
- @Override
- public Adapter caseAlternateGenLink(AlternateGenLink object) {
- return createAlternateGenLinkAdapter();
- }
- @Override
- public Adapter caseMutatingCanvas(MutatingCanvas object) {
- return createMutatingCanvasAdapter();
- }
- @Override
- public Adapter caseOwnedEditpart(OwnedEditpart object) {
- return createOwnedEditpartAdapter();
- }
- @Override
- public Adapter caseSpecificDiagramUpdater(SpecificDiagramUpdater object) {
- return createSpecificDiagramUpdaterAdapter();
- }
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ new PapyrusgmfgenextensionSwitch<Adapter>() {
+
+ @Override
+ public Adapter caseExtendedGenView(ExtendedGenView object) {
+ return createExtendedGenViewAdapter();
+ }
+
+ @Override
+ public Adapter caseCommentedElement(CommentedElement object) {
+ return createCommentedElementAdapter();
+ }
+
+ @Override
+ public Adapter casePropertyRefreshHook(PropertyRefreshHook object) {
+ return createPropertyRefreshHookAdapter();
+ }
+
+ @Override
+ public Adapter caseExternalHook(ExternalHook object) {
+ return createExternalHookAdapter();
+ }
+
+ @Override
+ public Adapter caseSpecificLocator(SpecificLocator object) {
+ return createSpecificLocatorAdapter();
+ }
+
+ @Override
+ public Adapter casePapyrusExtensionRootNode(PapyrusExtensionRootNode object) {
+ return createPapyrusExtensionRootNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseAlternateCanvas(AlternateCanvas object) {
+ return createAlternateCanvasAdapter();
+ }
+
+ @Override
+ public Adapter caseAlternateGenTopLevelNode(AlternateGenTopLevelNode object) {
+ return createAlternateGenTopLevelNodeAdapter();
+ }
+
+ @Override
+ public Adapter caseAlternateGenLink(AlternateGenLink object) {
+ return createAlternateGenLinkAdapter();
+ }
+
+ @Override
+ public Adapter caseMutatingCanvas(MutatingCanvas object) {
+ return createMutatingCanvasAdapter();
+ }
+
+ @Override
+ public Adapter caseOwnedEditpart(OwnedEditpart object) {
+ return createOwnedEditpartAdapter();
+ }
+
+ @Override
+ public Adapter caseSpecificDiagramUpdater(SpecificDiagramUpdater object) {
+ return createSpecificDiagramUpdaterAdapter();
+ }
+
+ @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.
+ *
+ * @param target
+ * the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@@ -145,6 +166,7 @@ public class PapyrusgmfgenextensionAdapterFactory 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.papyrusgmfgenextension.ExtendedGenView
* @generated
@@ -159,6 +181,7 @@ public class PapyrusgmfgenextensionAdapterFactory 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.papyrusgmfgenextension.CommentedElement
* @generated
@@ -168,11 +191,13 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook <em>Property Refresh Hook</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.papyrusgmfgenextension.PropertyRefreshHook
+ * <em>Property Refresh Hook</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.papyrusgmfgenextension.PropertyRefreshHook
* @generated
@@ -187,6 +212,7 @@ public class PapyrusgmfgenextensionAdapterFactory 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.papyrusgmfgenextension.ExternalHook
* @generated
@@ -201,6 +227,7 @@ public class PapyrusgmfgenextensionAdapterFactory 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.papyrusgmfgenextension.SpecificLocator
* @generated
@@ -210,11 +237,13 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode <em>Papyrus Extension Root Node</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.papyrusgmfgenextension.PapyrusExtensionRootNode
+ * <em>Papyrus Extension Root Node</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.papyrusgmfgenextension.PapyrusExtensionRootNode
* @generated
@@ -229,6 +258,7 @@ public class PapyrusgmfgenextensionAdapterFactory 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.papyrusgmfgenextension.AlternateCanvas
* @generated
@@ -238,11 +268,13 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode <em>Alternate Gen Top Level Node</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.papyrusgmfgenextension.AlternateGenTopLevelNode
+ * <em>Alternate Gen Top Level Node</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.papyrusgmfgenextension.AlternateGenTopLevelNode
* @generated
@@ -257,6 +289,7 @@ public class PapyrusgmfgenextensionAdapterFactory 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.papyrusgmfgenextension.AlternateGenLink
* @generated
@@ -271,6 +304,7 @@ public class PapyrusgmfgenextensionAdapterFactory 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.papyrusgmfgenextension.MutatingCanvas
* @generated
@@ -285,6 +319,7 @@ public class PapyrusgmfgenextensionAdapterFactory 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.papyrusgmfgenextension.OwnedEditpart
* @generated
@@ -294,11 +329,13 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater <em>Specific Diagram Updater</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.papyrusgmfgenextension.SpecificDiagramUpdater
+ * <em>Specific Diagram Updater</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.papyrusgmfgenextension.SpecificDiagramUpdater
* @generated
@@ -312,6 +349,7 @@ public class PapyrusgmfgenextensionAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
+ *
* @return the new adapter.
* @generated
*/

Back to the top