use of org.eclipse.xtext.linking.bug289059Test.UnassignedAction in project xtext-core by eclipse.
the class Bug289059TestLanguageSemanticSequencer method sequence.
@Override
public void sequence(ISerializationContext context, EObject semanticObject) {
EPackage epackage = semanticObject.eClass().getEPackage();
ParserRule rule = context.getParserRule();
Action action = context.getAssignedAction();
Set<Parameter> parameters = context.getEnabledBooleanParameters();
if (epackage == Bug289059TestPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case Bug289059TestPackage.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
case Bug289059TestPackage.UNASSIGNED_ACTION:
sequence_UnassignedAction(context, (UnassignedAction) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
use of org.eclipse.xtext.linking.bug289059Test.UnassignedAction in project xtext-core by eclipse.
the class ModelImpl method basicSetEnabled.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetEnabled(UnassignedAction newEnabled, NotificationChain msgs) {
UnassignedAction oldEnabled = enabled;
enabled = newEnabled;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Bug289059TestPackage.MODEL__ENABLED, oldEnabled, newEnabled);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
Aggregations