Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java')
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java75
1 files changed, 49 insertions, 26 deletions
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java
index 1247d0711fa..2b7339153e0 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java
@@ -20,8 +20,8 @@ import org.eclipse.papyrus.views.properties.environment.Type;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.environment.impl.PropertyEditorTypeImpl#getType <em>Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.environment.impl.PropertyEditorTypeImpl#getMultiplicity <em>Multiplicity</em>}</li>
+ * <li>{@link org.eclipse.papyrus.views.properties.environment.impl.PropertyEditorTypeImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.papyrus.views.properties.environment.impl.PropertyEditorTypeImpl#getMultiplicity <em>Multiplicity</em>}</li>
* </ul>
* </p>
*
@@ -32,6 +32,7 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
* The default value of the '{@link #getType() <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getType()
* @generated
* @ordered
@@ -42,6 +43,7 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
* The cached value of the '{@link #getType() <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getType()
* @generated
* @ordered
@@ -52,6 +54,7 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
* The default value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMultiplicity()
* @generated
* @ordered
@@ -62,6 +65,7 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
* The cached value of the '{@link #getMultiplicity() <em>Multiplicity</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @see #getMultiplicity()
* @generated
* @ordered
@@ -71,6 +75,7 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
protected PropertyEditorTypeImpl() {
@@ -80,6 +85,7 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
@@ -90,8 +96,10 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public Type getType() {
return type;
}
@@ -99,20 +107,25 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setType(Type newType) {
Type oldType = type;
type = newType == null ? TYPE_EDEFAULT : newType;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, EnvironmentPackage.PROPERTY_EDITOR_TYPE__TYPE, oldType, type));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public int getMultiplicity() {
return multiplicity;
}
@@ -120,27 +133,31 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
+ @Override
public void setMultiplicity(int newMultiplicity) {
int oldMultiplicity = multiplicity;
multiplicity = newMultiplicity;
- if (eNotificationRequired())
+ if (eNotificationRequired()) {
eNotify(new ENotificationImpl(this, Notification.SET, EnvironmentPackage.PROPERTY_EDITOR_TYPE__MULTIPLICITY, oldMultiplicity, multiplicity));
+ }
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
switch (featureID) {
- case EnvironmentPackage.PROPERTY_EDITOR_TYPE__TYPE:
- return getType();
- case EnvironmentPackage.PROPERTY_EDITOR_TYPE__MULTIPLICITY:
- return getMultiplicity();
+ case EnvironmentPackage.PROPERTY_EDITOR_TYPE__TYPE:
+ return getType();
+ case EnvironmentPackage.PROPERTY_EDITOR_TYPE__MULTIPLICITY:
+ return getMultiplicity();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -148,17 +165,18 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eSet(int featureID, Object newValue) {
switch (featureID) {
- case EnvironmentPackage.PROPERTY_EDITOR_TYPE__TYPE:
- setType((Type)newValue);
- return;
- case EnvironmentPackage.PROPERTY_EDITOR_TYPE__MULTIPLICITY:
- setMultiplicity((Integer)newValue);
- return;
+ case EnvironmentPackage.PROPERTY_EDITOR_TYPE__TYPE:
+ setType((Type) newValue);
+ return;
+ case EnvironmentPackage.PROPERTY_EDITOR_TYPE__MULTIPLICITY:
+ setMultiplicity((Integer) newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -166,17 +184,18 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public void eUnset(int featureID) {
switch (featureID) {
- case EnvironmentPackage.PROPERTY_EDITOR_TYPE__TYPE:
- setType(TYPE_EDEFAULT);
- return;
- case EnvironmentPackage.PROPERTY_EDITOR_TYPE__MULTIPLICITY:
- setMultiplicity(MULTIPLICITY_EDEFAULT);
- return;
+ case EnvironmentPackage.PROPERTY_EDITOR_TYPE__TYPE:
+ setType(TYPE_EDEFAULT);
+ return;
+ case EnvironmentPackage.PROPERTY_EDITOR_TYPE__MULTIPLICITY:
+ setMultiplicity(MULTIPLICITY_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -184,15 +203,16 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
switch (featureID) {
- case EnvironmentPackage.PROPERTY_EDITOR_TYPE__TYPE:
- return type != TYPE_EDEFAULT;
- case EnvironmentPackage.PROPERTY_EDITOR_TYPE__MULTIPLICITY:
- return multiplicity != MULTIPLICITY_EDEFAULT;
+ case EnvironmentPackage.PROPERTY_EDITOR_TYPE__TYPE:
+ return type != TYPE_EDEFAULT;
+ case EnvironmentPackage.PROPERTY_EDITOR_TYPE__MULTIPLICITY:
+ return multiplicity != MULTIPLICITY_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -200,11 +220,14 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ *
* @generated
*/
@Override
public String toString() {
- if (eIsProxy()) return super.toString();
+ if (eIsProxy()) {
+ return super.toString();
+ }
StringBuffer result = new StringBuffer(super.toString());
result.append(" (type: ");
@@ -215,4 +238,4 @@ public class PropertyEditorTypeImpl extends WidgetTypeImpl implements PropertyEd
return result.toString();
}
-} //PropertyEditorTypeImpl
+} // PropertyEditorTypeImpl

Back to the top