* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public void setViewportModelInternalGen(ViewportModel newViewportModelInternal) {
if (newViewportModelInternal != viewportModelInternal) {
NotificationChain msgs = null;
if (viewportModelInternal != null)
msgs = ((InternalEObject) viewportModelInternal).eInverseRemove(this,
RenderPackage.VIEWPORT_MODEL__MAP_INTERNAL, ViewportModel.class, msgs);
if (newViewportModelInternal != null)
msgs = ((InternalEObject) newViewportModelInternal).eInverseAdd(this,
RenderPackage.VIEWPORT_MODEL__MAP_INTERNAL, ViewportModel.class, msgs);
msgs = basicSetViewportModelInternal(newViewportModelInternal, msgs);
if (msgs != null)
msgs.dispatch();
} else if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET,
ProjectPackage.MAP__VIEWPORT_MODEL_INTERNAL, newViewportModelInternal,
newViewportModelInternal));
}