use of org.eclipse.elk.alg.graphviz.dot.dot.Node in project elk by eclipse.
the class EdgeStatementImpl method basicSetSourceNode.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetSourceNode(Node newSourceNode, NotificationChain msgs) {
Node oldSourceNode = sourceNode;
sourceNode = newSourceNode;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DotPackage.EDGE_STATEMENT__SOURCE_NODE, oldSourceNode, newSourceNode);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.elk.alg.graphviz.dot.dot.Node in project elk by eclipse.
the class EdgeTargetImpl method basicSetTargetnode.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetTargetnode(Node newTargetnode, NotificationChain msgs) {
Node oldTargetnode = targetnode;
targetnode = newTargetnode;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DotPackage.EDGE_TARGET__TARGETNODE, oldTargetnode, newTargetnode);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.elk.alg.graphviz.dot.dot.Node in project elk by eclipse.
the class NodeStatementImpl method basicSetNode.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetNode(Node newNode, NotificationChain msgs) {
Node oldNode = node;
node = newNode;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, DotPackage.NODE_STATEMENT__NODE, oldNode, newNode);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations