use of org.eclipse.xtext.ide.tests.testlanguage.indentationAwareUiTestLanguage.ChildList in project xtext-core by eclipse.
the class OtherTreeNodeImpl method basicSetChildList.
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public NotificationChain basicSetChildList(ChildList newChildList, NotificationChain msgs) {
ChildList oldChildList = childList;
childList = newChildList;
if (eNotificationRequired()) {
ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, IndentationAwareUiTestLanguagePackage.OTHER_TREE_NODE__CHILD_LIST, oldChildList, newChildList);
if (msgs == null)
msgs = notification;
else
msgs.add(notification);
}
return msgs;
}
use of org.eclipse.xtext.ide.tests.testlanguage.indentationAwareUiTestLanguage.ChildList in project xtext-core by eclipse.
the class IndentationAwareUiTestLanguageSemanticSequencer 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 == IndentationAwareUiTestLanguagePackage.eINSTANCE)
switch(semanticObject.eClass().getClassifierID()) {
case IndentationAwareUiTestLanguagePackage.CHILD_LIST:
sequence_ChildList(context, (ChildList) semanticObject);
return;
case IndentationAwareUiTestLanguagePackage.OTHER_TREE_NODE:
sequence_OtherTreeNode(context, (OtherTreeNode) semanticObject);
return;
case IndentationAwareUiTestLanguagePackage.TREE:
sequence_Tree(context, (Tree) semanticObject);
return;
case IndentationAwareUiTestLanguagePackage.TREE_NODE:
sequence_TreeNode(context, (TreeNode) semanticObject);
return;
}
if (errorAcceptor != null)
errorAcceptor.accept(diagnosticProvider.createInvalidContextOrTypeDiagnostic(semanticObject, context));
}
Aggregations