public override void eSet(int featureID, object newValue) { switch (featureID) { case Java_PackageImpl.TYPEDECLARATIONSTATEMENT_DECLARATION: declaration = (AbstractTypeDeclaration)newValue; return; } base.eSet(featureID, newValue); }
public NotificationChain basicSetDeclaration(AbstractTypeDeclaration newobj, NotificationChain msgs) { var oldobj = _declaration; _declaration = newobj; if (eNotificationRequired()) { var notification = new ENotificationImpl(this, NotificationImpl.SET, Java_PackageImpl.TYPEDECLARATIONSTATEMENT_DECLARATION, oldobj, newobj); if (msgs == null) { msgs = notification; } else { msgs.add(notification); } } return(msgs); }
public NotificationChain basicSetType(AbstractTypeDeclaration newobj, NotificationChain msgs) { var oldobj = _type; _type = newobj; if (eNotificationRequired()) { var notification = new ENotificationImpl(this, NotificationImpl.SET, Java_PackageImpl.CLASSFILE_TYPE, oldobj, newobj); if (msgs == null) { msgs = notification; } else { msgs.add(notification); } } return(msgs); }
public NotificationChain basicSetAbstractTypeDeclaration(AbstractTypeDeclaration newobj, NotificationChain msgs) { msgs = eBasicSetContainer((InternalEObject)newobj, Java_PackageImpl.BODYDECLARATION_ABSTRACTTYPEDECLARATION, msgs); return(msgs); }