Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/impl/EastadlPackageImpl.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/impl/EastadlPackageImpl.java44
1 files changed, 28 insertions, 16 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/impl/EastadlPackageImpl.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/impl/EastadlPackageImpl.java
index 5924a758578..e256ee29068 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/impl/EastadlPackageImpl.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/impl/EastadlPackageImpl.java
@@ -80,6 +80,7 @@ import org.eclipse.papyrus.sysml.SysmlPackage;
/**
* <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- end-user-doc -->
+ *
* @generated
*/
public class EastadlPackageImpl extends EPackageImpl implements EastadlPackage {
@@ -87,12 +88,14 @@ public class EastadlPackageImpl extends EPackageImpl implements EastadlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
private EEnum dummyEEnum = null;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private static boolean isInited = false;
@@ -100,16 +103,18 @@ public class EastadlPackageImpl extends EPackageImpl implements EastadlPackage {
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
*
- * <p>This method is used to initialize {@link EastadlPackage#eINSTANCE} when that field is accessed.
- * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <p>
+ * This method is used to initialize {@link EastadlPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead,
+ * they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see #eNS_URI
* @see #createPackageContents()
* @see #initializePackageContents()
* @generated
*/
public static EastadlPackage init() {
- if (isInited) return (EastadlPackage)EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI);
+ if(isInited)
+ return (EastadlPackage)EPackage.Registry.INSTANCE.getEPackage(EastadlPackage.eNS_URI);
// Obtain or create and register package
EastadlPackageImpl theEastadlPackage = (EastadlPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof EastadlPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new EastadlPackageImpl());
@@ -211,7 +216,7 @@ public class EastadlPackageImpl extends EPackageImpl implements EastadlPackage {
// Mark meta-data to indicate it can't be changed
theEastadlPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(EastadlPackage.eNS_URI, theEastadlPackage);
return theEastadlPackage;
@@ -220,6 +225,7 @@ public class EastadlPackageImpl extends EPackageImpl implements EastadlPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
public EEnum getdummy() {
@@ -228,25 +234,26 @@ public class EastadlPackageImpl extends EPackageImpl implements EastadlPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isCreated = false;
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
private boolean isInitialized = false;
/**
- * Creates an instance of the model <b>Package</b>, registered with
- * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
+ * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
+ * package
* package URI value.
- * <p>Note: the correct way to create the package is via the static
- * factory method {@link #init init()}, which also performs
- * initialization of the package, or returns the registered package,
- * if one already exists.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * <p>
+ * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the
+ * package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @see org.eclipse.emf.ecore.EPackage.Registry
* @see org.eclipse.papyrus.eastadl.EastadlPackage#eNS_URI
* @see #init()
@@ -257,13 +264,15 @@ public class EastadlPackageImpl extends EPackageImpl implements EastadlPackage {
}
/**
- * Creates the meta-model objects for the package. This method is
+ * Creates the meta-model objects for the package. This method is
* guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void createPackageContents() {
- if (isCreated) return;
+ if(isCreated)
+ return;
isCreated = true;
// Create enums
@@ -272,6 +281,7 @@ public class EastadlPackageImpl extends EPackageImpl implements EastadlPackage {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public EastadlFactory getEastadlFactory() {
@@ -279,13 +289,15 @@ public class EastadlPackageImpl extends EPackageImpl implements EastadlPackage {
}
/**
- * Complete the initialization of the package and its meta-model. This
+ * Complete the initialization of the package and its meta-model. This
* method is guarded to have no affect on any invocation but its first.
* <!-- begin-user-doc --> <!-- end-user-doc -->
+ *
* @generated
*/
public void initializePackageContents() {
- if (isInitialized) return;
+ if(isInitialized)
+ return;
isInitialized = true;
// Initialize package

Back to the top