Search in sources :

Example 6 with TypeDeclaration

use of org.eclipse.xtext.ide.tests.testlanguage.testLanguage.TypeDeclaration in project xtext-core by eclipse.

the class TypeDeclarationImpl method setSuperType.

/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public void setSuperType(TypeDeclaration newSuperType) {
    TypeDeclaration oldSuperType = superType;
    superType = newSuperType;
    if (eNotificationRequired())
        eNotify(new ENotificationImpl(this, Notification.SET, TestLanguagePackage.TYPE_DECLARATION__SUPER_TYPE, oldSuperType, superType));
}
Also used : ENotificationImpl(org.eclipse.emf.ecore.impl.ENotificationImpl) TypeDeclaration(org.eclipse.xtext.ide.tests.testlanguage.testLanguage.TypeDeclaration)

Aggregations

TypeDeclaration (org.eclipse.xtext.ide.tests.testlanguage.testLanguage.TypeDeclaration)6 StringConcatenation (org.eclipse.xtend2.lib.StringConcatenation)3 EList (org.eclipse.emf.common.util.EList)2 ENotificationImpl (org.eclipse.emf.ecore.impl.ENotificationImpl)2 Model (org.eclipse.xtext.ide.tests.testlanguage.testLanguage.Model)2 PrimitiveType (org.eclipse.xtext.ide.tests.testlanguage.testLanguage.PrimitiveType)2 Property (org.eclipse.xtext.ide.tests.testlanguage.testLanguage.Property)2 Comparator (java.util.Comparator)1 EPackage (org.eclipse.emf.ecore.EPackage)1 Resource (org.eclipse.emf.ecore.resource.Resource)1 Command (org.eclipse.lsp4j.Command)1 WorkspaceEdit (org.eclipse.lsp4j.WorkspaceEdit)1 Action (org.eclipse.xtext.Action)1 Parameter (org.eclipse.xtext.Parameter)1 ParserRule (org.eclipse.xtext.ParserRule)1 IChangeSerializer (org.eclipse.xtext.ide.serializer.IChangeSerializer)1 Member (org.eclipse.xtext.ide.tests.testlanguage.testLanguage.Member)1 Operation (org.eclipse.xtext.ide.tests.testlanguage.testLanguage.Operation)1 OperationCall (org.eclipse.xtext.ide.tests.testlanguage.testLanguage.OperationCall)1 Parameter (org.eclipse.xtext.ide.tests.testlanguage.testLanguage.Parameter)1