use of org.eclipse.xtext.linking.bug362902.Greeting in project xtext-core by eclipse.
the class Bug362902SemanticSequencer 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 == Bug362902Package.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case Bug362902Package.GREETING:
sequence_Greeting(context, (Greeting) semanticObject);
return;
case Bug362902Package.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
use of org.eclipse.xtext.linking.bug362902.Greeting in project xtext-core by eclipse.
the class ModelImpl method setFavourite.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setFavourite(Greeting newFavourite) {
Greeting oldFavourite = favourite;
favourite = newFavourite;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, Bug362902Package.MODEL__FAVOURITE, oldFavourite, favourite));
}
Aggregations