Examples of StructuralTypeDefinition


Examples of eu.admire.dispel.types.StructuralTypeDefinition

        if (result == null) result = caseCommentable(domainTypeDefinition);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case TypesPackage.STRUCTURAL_TYPE_DEFINITION: {
        StructuralTypeDefinition structuralTypeDefinition = (StructuralTypeDefinition)theEObject;
        T result = caseStructuralTypeDefinition(structuralTypeDefinition);
        if (result == null) result = caseDispelType(structuralTypeDefinition);
        if (result == null) result = caseNamespaceAwareElement(structuralTypeDefinition);
        if (result == null) result = caseArrayTypeable(structuralTypeDefinition);
        if (result == null) result = caseNamedElement(structuralTypeDefinition);
View Full Code Here

Examples of eu.admire.dispel.types.StructuralTypeDefinition

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public NotificationChain basicSetTypeDefinition(StructuralTypeDefinition newTypeDefinition, NotificationChain msgs) {
    StructuralTypeDefinition oldTypeDefinition = typeDefinition;
    typeDefinition = newTypeDefinition;
    if (eNotificationRequired()) {
      ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, StatementsPackage.STRUCTURAL_TYPE_DEFINITION_STATEMENT__TYPE_DEFINITION, oldTypeDefinition, newTypeDefinition);
      if (msgs == null) msgs = notification; else msgs.add(notification);
    }
View Full Code Here

Examples of eu.admire.dispel.types.StructuralTypeDefinition

              if (nPe.getName().equals(
                  fragments[fragments.length - 1])
                  && nPe.getNamespacesAsString().equals(
                      imp.getNamespacesAsString())) {

                StructuralTypeDefinition dtDef = (StructuralTypeDefinition) EcoreUtil
                    .copy(nPe);

                if (pck.getTypeDefinition(
                    dtDef.getNamespacesAsString(),
                    dtDef.getName()) == null) {

                  pck.getTypeDefinitions().add(
                      (StructuralTypeDefinition) dtDef);

                  peImp.setType(dtDef);
View Full Code Here

Examples of eu.admire.dispel.types.StructuralTypeDefinition

            domainTypes.add(dtDef);
          }

          if (eObject instanceof StructuralTypeDefinition) {
           
            StructuralTypeDefinition stDef = (StructuralTypeDefinition)eObject;

            eu.admire.dispel.containers.Package pck =  stDef.getContainingPackage();

            if (stDef.getNamespaces().size() == 0 && pck != null) {         
              stDef.getNamespaces().addAll(pck.getNamespaces());                             
            }

            structuralTypes.add(stDef);
          }
         
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.