use of org.eclipse.xtext.testlanguages.noJdt.noJdt.Greeting in project xtext-core by eclipse.
the class NoJdtTestLanguageSemanticSequencer 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 == NoJdtPackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case NoJdtPackage.GREETING:
sequence_Greeting(context, (Greeting) semanticObject);
return;
case NoJdtPackage.MODEL:
sequence_Model(context, (Model) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
use of org.eclipse.xtext.testlanguages.noJdt.noJdt.Greeting in project xtext-core by eclipse.
the class GreetingImpl method setOther.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setOther(Greeting newOther) {
Greeting oldOther = other;
other = newOther;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, NoJdtPackage.GREETING__OTHER, oldOther, other));
}
Aggregations