Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/umlrt/org.eclipse.papyrus.umlrt/src-gen/org/eclipse/papyrus/umlrt/UMLRealTime/impl/CapsulePartImpl.java')
-rw-r--r--extraplugins/umlrt/org.eclipse.papyrus.umlrt/src-gen/org/eclipse/papyrus/umlrt/UMLRealTime/impl/CapsulePartImpl.java12
1 files changed, 8 insertions, 4 deletions
diff --git a/extraplugins/umlrt/org.eclipse.papyrus.umlrt/src-gen/org/eclipse/papyrus/umlrt/UMLRealTime/impl/CapsulePartImpl.java b/extraplugins/umlrt/org.eclipse.papyrus.umlrt/src-gen/org/eclipse/papyrus/umlrt/UMLRealTime/impl/CapsulePartImpl.java
index 731200a5145..74bd354067c 100644
--- a/extraplugins/umlrt/org.eclipse.papyrus.umlrt/src-gen/org/eclipse/papyrus/umlrt/UMLRealTime/impl/CapsulePartImpl.java
+++ b/extraplugins/umlrt/org.eclipse.papyrus.umlrt/src-gen/org/eclipse/papyrus/umlrt/UMLRealTime/impl/CapsulePartImpl.java
@@ -1,6 +1,6 @@
/**
* Copyright (c) 2014 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
@@ -75,8 +75,9 @@ public class CapsulePartImpl extends MinimalEObjectImpl.Container implements Cap
InternalEObject oldBase_Property = (InternalEObject)base_Property;
base_Property = (Property)eResolveProxy(oldBase_Property);
if (base_Property != oldBase_Property) {
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.RESOLVE, UMLRealTimePackage.CAPSULE_PART__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
}
return base_Property;
@@ -100,8 +101,9 @@ public class CapsulePartImpl extends MinimalEObjectImpl.Container implements Cap
public void setBase_Property(Property newBase_Property) {
Property oldBase_Property = base_Property;
base_Property = newBase_Property;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, UMLRealTimePackage.CAPSULE_PART__BASE_PROPERTY, oldBase_Property, base_Property));
+ }
}
/**
@@ -113,7 +115,9 @@ public class CapsulePartImpl extends MinimalEObjectImpl.Container implements Cap
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
case UMLRealTimePackage.CAPSULE_PART__BASE_PROPERTY:
- if (resolve) return getBase_Property();
+ if (resolve) {
+ return getBase_Property();
+ }
return basicGetBase_Property();
}
return super.eGet(featureID, resolve, coreType);

Back to the top