org.eclipse.emf.ecore.impl.ENotificationImpl Java Examples
The following examples show how to use
org.eclipse.emf.ecore.impl.ENotificationImpl.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: GNodeImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #2
Source File: GButtonImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #3
Source File: ShapeImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #4
Source File: ShapeImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #5
Source File: DiagramElementImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #6
Source File: GCompartmentImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #7
Source File: GButtonImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #8
Source File: GCompartmentImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #9
Source File: GModelRootImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #10
Source File: GLabelImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #11
Source File: GLabelImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #12
Source File: GCompartmentImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #13
Source File: Lane.java From nebula with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #14
Source File: GNodeImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #15
Source File: Cursor.java From nebula with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #16
Source File: GCompartmentImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #17
Source File: GAlignableImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #18
Source File: GPreRenderedElementImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #19
Source File: GLabelImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #20
Source File: Track.java From nebula with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #21
Source File: GIssueMarkerImpl.java From graphical-lsp with Eclipse Public License 2.0 | 6 votes |
/** * <!-- 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)); }
Example #22
Source File: GDimensionImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setWidth(double newWidth) { double oldWidth = width; width = newWidth; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GDIMENSION__WIDTH, oldWidth, width)); }
Example #23
Source File: CommitterImpl.java From ADT_Frontend with MIT License | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setName(String newName) { String oldName = name; name = newName; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, IAbapgitstagingPackage.COMMITTER__NAME, oldName, name)); }
Example #24
Source File: GCompartmentImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setTrace(String newTrace) { String oldTrace = trace; trace = newTrace; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GCOMPARTMENT__TRACE, oldTrace, trace)); }
Example #25
Source File: GBoundsImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- 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, GraphPackage.GBOUNDS__X, oldX, x)); }
Example #26
Source File: RepositoryImpl.java From ADT_Frontend with MIT License | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setUrl(String newUrl) { String oldUrl = this.url; this.url = newUrl; if (eNotificationRequired()) { eNotify(new ENotificationImpl(this, Notification.SET, IAbapgitrepositoriesPackage.REPOSITORY__URL, oldUrl, this.url)); } }
Example #27
Source File: GPortImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setId(String newId) { String oldId = id; id = newId; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GPORT__ID, oldId, id)); }
Example #28
Source File: GEdgePlacementImpl.java From graphical-lsp with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public void setSide(String newSide) { String oldSide = side; side = newSide; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, GraphPackage.GEDGE_PLACEMENT__SIDE, oldSide, side)); }
Example #29
Source File: BranchImpl.java From ADT_Frontend with MIT License | 5 votes |
/** * <!-- 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)); } }
Example #30
Source File: TimelineEvent.java From nebula with Eclipse Public License 2.0 | 5 votes |
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ @Override public void setStartTimestamp(long newStartTimestamp) { long oldStartTimestamp = startTimestamp; startTimestamp = newStartTimestamp; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, ITimelinePackage.TIMELINE_EVENT__START_TIMESTAMP, oldStartTimestamp, startTimestamp)); }