类org.eclipse.emf.ecore.impl.ENotificationImpl源码实例Demo

下面列出了怎么用org.eclipse.emf.ecore.impl.ENotificationImpl的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: nebula   文件: Lane.java
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public void setTrack(ITrack newTrack) {
	if ((newTrack != eInternalContainer()) || ((eContainerFeatureID() != ITimelinePackage.LANE__TRACK) && (newTrack != null))) {
		if (EcoreUtil.isAncestor(this, newTrack))
			throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
		NotificationChain msgs = null;
		if (eInternalContainer() != null)
			msgs = eBasicRemoveFromContainer(msgs);
		if (newTrack != null)
			msgs = ((InternalEObject) newTrack).eInverseAdd(this, ITimelinePackage.TRACK__LANES, ITrack.class, msgs);
		msgs = basicSetTrack(newTrack, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, ITimelinePackage.LANE__TRACK, newTrack, newTrack));
}
 
源代码2 项目: graphical-lsp   文件: GButtonImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setSize(GDimension newSize) {
	if (newSize != size) {
		NotificationChain msgs = null;
		if (size != null)
			msgs = ((InternalEObject) size).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GBUTTON__SIZE, null, msgs);
		if (newSize != null)
			msgs = ((InternalEObject) newSize).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GBUTTON__SIZE, null, msgs);
		msgs = basicSetSize(newSize, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GBUTTON__SIZE, newSize, newSize));
}
 
源代码3 项目: graphical-lsp   文件: ShapeImpl.java
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public void setPosition(Point newPosition) {
	if (newPosition != position) {
		NotificationChain msgs = null;
		if (position != null)
			msgs = ((InternalEObject) position).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - WfnotationPackage.SHAPE__POSITION, null, msgs);
		if (newPosition != null)
			msgs = ((InternalEObject) newPosition).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - WfnotationPackage.SHAPE__POSITION, null, msgs);
		msgs = basicSetPosition(newPosition, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, WfnotationPackage.SHAPE__POSITION, newPosition,
				newPosition));
}
 
源代码4 项目: graphical-lsp   文件: ShapeImpl.java
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public void setSize(Dimension newSize) {
	if (newSize != size) {
		NotificationChain msgs = null;
		if (size != null)
			msgs = ((InternalEObject) size).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - WfnotationPackage.SHAPE__SIZE, null, msgs);
		if (newSize != null)
			msgs = ((InternalEObject) newSize).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - WfnotationPackage.SHAPE__SIZE, null, msgs);
		msgs = basicSetSize(newSize, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, WfnotationPackage.SHAPE__SIZE, newSize, newSize));
}
 
源代码5 项目: graphical-lsp   文件: DiagramElementImpl.java
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public void setSemanticElement(SemanticProxy newSemanticElement) {
	if (newSemanticElement != semanticElement) {
		NotificationChain msgs = null;
		if (semanticElement != null)
			msgs = ((InternalEObject) semanticElement).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - WfnotationPackage.DIAGRAM_ELEMENT__SEMANTIC_ELEMENT, null, msgs);
		if (newSemanticElement != null)
			msgs = ((InternalEObject) newSemanticElement).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - WfnotationPackage.DIAGRAM_ELEMENT__SEMANTIC_ELEMENT, null, msgs);
		msgs = basicSetSemanticElement(newSemanticElement, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, WfnotationPackage.DIAGRAM_ELEMENT__SEMANTIC_ELEMENT,
				newSemanticElement, newSemanticElement));
}
 
源代码6 项目: graphical-lsp   文件: GCompartmentImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setPosition(GPoint newPosition) {
	if (newPosition != position) {
		NotificationChain msgs = null;
		if (position != null)
			msgs = ((InternalEObject) position).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GCOMPARTMENT__POSITION, null, msgs);
		if (newPosition != null)
			msgs = ((InternalEObject) newPosition).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GCOMPARTMENT__POSITION, null, msgs);
		msgs = basicSetPosition(newPosition, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GCOMPARTMENT__POSITION, newPosition,
				newPosition));
}
 
源代码7 项目: graphical-lsp   文件: GLabelImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setEdgePlacement(GEdgePlacement newEdgePlacement) {
	if (newEdgePlacement != edgePlacement) {
		NotificationChain msgs = null;
		if (edgePlacement != null)
			msgs = ((InternalEObject) edgePlacement).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GLABEL__EDGE_PLACEMENT, null, msgs);
		if (newEdgePlacement != null)
			msgs = ((InternalEObject) newEdgePlacement).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GLABEL__EDGE_PLACEMENT, null, msgs);
		msgs = basicSetEdgePlacement(newEdgePlacement, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GLABEL__EDGE_PLACEMENT, newEdgePlacement,
				newEdgePlacement));
}
 
源代码8 项目: graphical-lsp   文件: GLabelImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setParent(GModelElement newParent) {
	if (newParent != eInternalContainer()
			|| (eContainerFeatureID() != GraphPackage.GLABEL__PARENT && newParent != null)) {
		if (EcoreUtil.isAncestor(this, newParent))
			throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
		NotificationChain msgs = null;
		if (eInternalContainer() != null)
			msgs = eBasicRemoveFromContainer(msgs);
		if (newParent != null)
			msgs = ((InternalEObject) newParent).eInverseAdd(this, GraphPackage.GMODEL_ELEMENT__CHILDREN,
					GModelElement.class, msgs);
		msgs = basicSetParent(newParent, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GLABEL__PARENT, newParent, newParent));
}
 
源代码9 项目: graphical-lsp   文件: GCompartmentImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setSize(GDimension newSize) {
	if (newSize != size) {
		NotificationChain msgs = null;
		if (size != null)
			msgs = ((InternalEObject) size).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GCOMPARTMENT__SIZE, null, msgs);
		if (newSize != null)
			msgs = ((InternalEObject) newSize).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GCOMPARTMENT__SIZE, null, msgs);
		msgs = basicSetSize(newSize, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GCOMPARTMENT__SIZE, newSize, newSize));
}
 
源代码10 项目: graphical-lsp   文件: GLabelImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setSize(GDimension newSize) {
	if (newSize != size) {
		NotificationChain msgs = null;
		if (size != null)
			msgs = ((InternalEObject) size).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GraphPackage.GLABEL__SIZE,
					null, msgs);
		if (newSize != null)
			msgs = ((InternalEObject) newSize).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GraphPackage.GLABEL__SIZE,
					null, msgs);
		msgs = basicSetSize(newSize, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GLABEL__SIZE, newSize, newSize));
}
 
源代码11 项目: graphical-lsp   文件: GPreRenderedElementImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setParent(GModelElement newParent) {
	if (newParent != eInternalContainer()
			|| (eContainerFeatureID() != GraphPackage.GPRE_RENDERED_ELEMENT__PARENT && newParent != null)) {
		if (EcoreUtil.isAncestor(this, newParent))
			throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
		NotificationChain msgs = null;
		if (eInternalContainer() != null)
			msgs = eBasicRemoveFromContainer(msgs);
		if (newParent != null)
			msgs = ((InternalEObject) newParent).eInverseAdd(this, GraphPackage.GMODEL_ELEMENT__CHILDREN,
					GModelElement.class, msgs);
		msgs = basicSetParent(newParent, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GPRE_RENDERED_ELEMENT__PARENT, newParent,
				newParent));
}
 
源代码12 项目: graphical-lsp   文件: GNodeImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setSize(GDimension newSize) {
	if (newSize != size) {
		NotificationChain msgs = null;
		if (size != null)
			msgs = ((InternalEObject) size).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - GraphPackage.GNODE__SIZE,
					null, msgs);
		if (newSize != null)
			msgs = ((InternalEObject) newSize).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - GraphPackage.GNODE__SIZE,
					null, msgs);
		msgs = basicSetSize(newSize, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GNODE__SIZE, newSize, newSize));
}
 
源代码13 项目: graphical-lsp   文件: GNodeImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setEdgePlacement(GEdgePlacement newEdgePlacement) {
	if (newEdgePlacement != edgePlacement) {
		NotificationChain msgs = null;
		if (edgePlacement != null)
			msgs = ((InternalEObject) edgePlacement).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GNODE__EDGE_PLACEMENT, null, msgs);
		if (newEdgePlacement != null)
			msgs = ((InternalEObject) newEdgePlacement).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GNODE__EDGE_PLACEMENT, null, msgs);
		msgs = basicSetEdgePlacement(newEdgePlacement, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GNODE__EDGE_PLACEMENT, newEdgePlacement,
				newEdgePlacement));
}
 
源代码14 项目: nebula   文件: Cursor.java
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void setTimeline(ITimeline newTimeline) {
	if (newTimeline != eInternalContainer() || (eContainerFeatureID() != ITimelinePackage.CURSOR__TIMELINE && newTimeline != null)) {
		if (EcoreUtil.isAncestor(this, newTimeline))
			throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
		NotificationChain msgs = null;
		if (eInternalContainer() != null)
			msgs = eBasicRemoveFromContainer(msgs);
		if (newTimeline != null)
			msgs = ((InternalEObject)newTimeline).eInverseAdd(this, ITimelinePackage.TIMELINE__CURSORS, ITimeline.class, msgs);
		msgs = basicSetTimeline(newTimeline, msgs);
		if (msgs != null) msgs.dispatch();
	}
	else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, ITimelinePackage.CURSOR__TIMELINE, newTimeline, newTimeline));
}
 
源代码15 项目: graphical-lsp   文件: GCompartmentImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setParent(GModelElement newParent) {
	if (newParent != eInternalContainer()
			|| (eContainerFeatureID() != GraphPackage.GCOMPARTMENT__PARENT && newParent != null)) {
		if (EcoreUtil.isAncestor(this, newParent))
			throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
		NotificationChain msgs = null;
		if (eInternalContainer() != null)
			msgs = eBasicRemoveFromContainer(msgs);
		if (newParent != null)
			msgs = ((InternalEObject) newParent).eInverseAdd(this, GraphPackage.GMODEL_ELEMENT__CHILDREN,
					GModelElement.class, msgs);
		msgs = basicSetParent(newParent, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GCOMPARTMENT__PARENT, newParent,
				newParent));
}
 
源代码16 项目: graphical-lsp   文件: GAlignableImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setAlignment(GPoint newAlignment) {
	if (newAlignment != alignment) {
		NotificationChain msgs = null;
		if (alignment != null)
			msgs = ((InternalEObject) alignment).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GALIGNABLE__ALIGNMENT, null, msgs);
		if (newAlignment != null)
			msgs = ((InternalEObject) newAlignment).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GALIGNABLE__ALIGNMENT, null, msgs);
		msgs = basicSetAlignment(newAlignment, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GALIGNABLE__ALIGNMENT, newAlignment,
				newAlignment));
}
 
源代码17 项目: nebula   文件: Track.java
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void setTimeline(ITimeline newTimeline) {
	if (newTimeline != eInternalContainer() || (eContainerFeatureID() != ITimelinePackage.TRACK__TIMELINE && newTimeline != null)) {
		if (EcoreUtil.isAncestor(this, newTimeline))
			throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
		NotificationChain msgs = null;
		if (eInternalContainer() != null)
			msgs = eBasicRemoveFromContainer(msgs);
		if (newTimeline != null)
			msgs = ((InternalEObject)newTimeline).eInverseAdd(this, ITimelinePackage.TIMELINE__TRACKS, ITimeline.class, msgs);
		msgs = basicSetTimeline(newTimeline, msgs);
		if (msgs != null) msgs.dispatch();
	}
	else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, ITimelinePackage.TRACK__TIMELINE, newTimeline, newTimeline));
}
 
源代码18 项目: graphical-lsp   文件: GIssueMarkerImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setSize(GDimension newSize) {
	if (newSize != size) {
		NotificationChain msgs = null;
		if (size != null)
			msgs = ((InternalEObject) size).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GISSUE_MARKER__SIZE, null, msgs);
		if (newSize != null)
			msgs = ((InternalEObject) newSize).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GISSUE_MARKER__SIZE, null, msgs);
		msgs = basicSetSize(newSize, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GISSUE_MARKER__SIZE, newSize, newSize));
}
 
源代码19 项目: graphical-lsp   文件: GModelRootImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setParent(GModelElement newParent) {
	if (newParent != eInternalContainer()
			|| (eContainerFeatureID() != GraphPackage.GMODEL_ROOT__PARENT && newParent != null)) {
		if (EcoreUtil.isAncestor(this, newParent))
			throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
		NotificationChain msgs = null;
		if (eInternalContainer() != null)
			msgs = eBasicRemoveFromContainer(msgs);
		if (newParent != null)
			msgs = ((InternalEObject) newParent).eInverseAdd(this, GraphPackage.GMODEL_ELEMENT__CHILDREN,
					GModelElement.class, msgs);
		msgs = basicSetParent(newParent, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GMODEL_ROOT__PARENT, newParent,
				newParent));
}
 
源代码20 项目: graphical-lsp   文件: GButtonImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setParent(GModelElement newParent) {
	if (newParent != eInternalContainer()
			|| (eContainerFeatureID() != GraphPackage.GBUTTON__PARENT && newParent != null)) {
		if (EcoreUtil.isAncestor(this, newParent))
			throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
		NotificationChain msgs = null;
		if (eInternalContainer() != null)
			msgs = eBasicRemoveFromContainer(msgs);
		if (newParent != null)
			msgs = ((InternalEObject) newParent).eInverseAdd(this, GraphPackage.GMODEL_ELEMENT__CHILDREN,
					GModelElement.class, msgs);
		msgs = basicSetParent(newParent, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GBUTTON__PARENT, newParent, newParent));
}
 
源代码21 项目: graphical-lsp   文件: GCompartmentImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setLayoutOptions(GLayoutOptions newLayoutOptions) {
	if (newLayoutOptions != layoutOptions) {
		NotificationChain msgs = null;
		if (layoutOptions != null)
			msgs = ((InternalEObject) layoutOptions).eInverseRemove(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GCOMPARTMENT__LAYOUT_OPTIONS, null, msgs);
		if (newLayoutOptions != null)
			msgs = ((InternalEObject) newLayoutOptions).eInverseAdd(this,
					EOPPOSITE_FEATURE_BASE - GraphPackage.GCOMPARTMENT__LAYOUT_OPTIONS, null, msgs);
		msgs = basicSetLayoutOptions(newLayoutOptions, msgs);
		if (msgs != null)
			msgs.dispatch();
	} else if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GCOMPARTMENT__LAYOUT_OPTIONS,
				newLayoutOptions, newLayoutOptions));
}
 
源代码22 项目: ADT_Frontend   文件: BranchImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setName(String newName) {
	String oldName = this.name;
	this.name = newName;
	if (eNotificationRequired()) {
		eNotify(new ENotificationImpl(this, Notification.SET, IAbapgitexternalrepoPackage.BRANCH__NAME, oldName, this.name));
	}
}
 
源代码23 项目: graphical-lsp   文件: GDimensionImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setHeight(double newHeight) {
	double oldHeight = height;
	height = newHeight;
	if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GDIMENSION__HEIGHT, oldHeight, height));
}
 
源代码24 项目: ADT_Frontend   文件: RepositoryImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setCreatedBy(String newCreatedBy) {
	String oldCreatedBy = this.createdBy;
	this.createdBy = newCreatedBy;
	if (eNotificationRequired()) {
		eNotify(new ENotificationImpl(this, Notification.SET, IAbapgitrepositoriesPackage.REPOSITORY__CREATED_BY, oldCreatedBy, this.createdBy));
	}
}
 
源代码25 项目: graphical-lsp   文件: TaskNodeImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setReference(String newReference) {
	String oldReference = reference;
	reference = newReference;
	if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, WfgraphPackage.TASK_NODE__REFERENCE, oldReference,
				reference));
}
 
源代码26 项目: ADT_Frontend   文件: RepositoryImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setCreatedAt(String newCreatedAt) {
	String oldCreatedAt = this.createdAt;
	this.createdAt = newCreatedAt;
	if (eNotificationRequired()) {
		eNotify(new ENotificationImpl(this, Notification.SET, IAbapgitrepositoriesPackage.REPOSITORY__CREATED_AT, oldCreatedAt, this.createdAt));
	}
}
 
源代码27 项目: ADT_Frontend   文件: RepositoryImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setDeserializedBy(String newDeserializedBy) {
	String oldDeserializedBy = this.deserializedBy;
	this.deserializedBy = newDeserializedBy;
	if (eNotificationRequired()) {
		eNotify(new ENotificationImpl(this, Notification.SET, IAbapgitrepositoriesPackage.REPOSITORY__DESERIALIZED_BY, oldDeserializedBy, this.deserializedBy));
	}
}
 
源代码28 项目: graphical-lsp   文件: PointImpl.java
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public void setX(double newX) {
	double oldX = x;
	x = newX;
	if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, WfnotationPackage.POINT__X, oldX, x));
}
 
源代码29 项目: graphical-lsp   文件: PointImpl.java
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * 
 * @generated
 */
@Override
public void setY(double newY) {
	double oldY = y;
	y = newY;
	if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, WfnotationPackage.POINT__Y, oldY, y));
}
 
源代码30 项目: graphical-lsp   文件: GEdgePlacementImpl.java
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void setOffset(Double newOffset) {
	Double oldOffset = offset;
	offset = newOffset;
	if (eNotificationRequired())
		eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GEDGE_PLACEMENT__OFFSET, oldOffset,
				offset));
}
 
 类所在包
 类方法
 同包方法