use of org.eclipse.xtext.xbase.XExpression in project xtext-xtend by eclipse.
the class CreateExtensionInfoImpl method basicSetCreateExpression.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetCreateExpression(XExpression newCreateExpression, NotificationChain msgs) {
XExpression oldCreateExpression = createExpression;
createExpression = newCreateExpression;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XtendPackage.CREATE_EXTENSION_INFO__CREATE_EXPRESSION, oldCreateExpression, newCreateExpression);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.xbase.XExpression in project xtext-xtend by eclipse.
the class RichStringForLoopImpl method basicSetBefore.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetBefore(XExpression newBefore, NotificationChain msgs) {
XExpression oldBefore = before;
before = newBefore;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XtendPackage.RICH_STRING_FOR_LOOP__BEFORE, oldBefore, newBefore);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.xbase.XExpression in project xtext-xtend by eclipse.
the class RichStringForLoopImpl method basicSetSeparator.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetSeparator(XExpression newSeparator, NotificationChain msgs) {
XExpression oldSeparator = separator;
separator = newSeparator;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XtendPackage.RICH_STRING_FOR_LOOP__SEPARATOR, oldSeparator, newSeparator);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.xbase.XExpression in project xtext-xtend by eclipse.
the class RichStringForLoopImpl method basicSetAfter.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetAfter(XExpression newAfter, NotificationChain msgs) {
XExpression oldAfter = after;
after = newAfter;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XtendPackage.RICH_STRING_FOR_LOOP__AFTER, oldAfter, newAfter);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.xbase.XExpression in project xtext-xtend by eclipse.
the class RichStringElseIfImpl method basicSetIf.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetIf(XExpression newIf, NotificationChain msgs) {
XExpression oldIf = if_;
if_ = newIf;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, XtendPackage.RICH_STRING_ELSE_IF__IF, oldIf, newIf);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations