use of org.eclipse.sirius.components.view.SynchronizationPolicy in project sirius-components by eclipse-sirius.
the class DiagramElementDescriptionImpl method setSynchronizationPolicy.
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated
*/
@Override
public void setSynchronizationPolicy(SynchronizationPolicy newSynchronizationPolicy) {
SynchronizationPolicy oldSynchronizationPolicy = this.synchronizationPolicy;
this.synchronizationPolicy = newSynchronizationPolicy == null ? SYNCHRONIZATION_POLICY_EDEFAULT : newSynchronizationPolicy;
if (this.eNotificationRequired())
this.eNotify(new ENotificationImpl(this, Notification.SET, ViewPackage.DIAGRAM_ELEMENT_DESCRIPTION__SYNCHRONIZATION_POLICY, oldSynchronizationPolicy, this.synchronizationPolicy));
}
Aggregations