Package fr.tm.elibel.smartqvt.qvt.qvtoperational

Examples of fr.tm.elibel.smartqvt.qvt.qvtoperational.Library


        && pack == null;) {
      Object obj = iter.next();
      if (obj instanceof Package)
        pack = (Package) obj;
    }
    Library lib = null;
    for (Iterator iter = qvtStdLib.getRoots().iterator(); iter.hasNext()
        && lib == null;) {
      Object obj = iter.next();
      if (obj instanceof Library)
        lib = (Library) obj;
    }
    List<Type> types = new ArrayList<Type>();
    types.addAll(pack.getOwnedType());
    types.addAll(lib.getOwnedType());
    return types;
  }
View Full Code Here


  }
 
  public static String stringOfType(Type type){
    String text = type.getName();
    if (type.eContainer() instanceof Library) {
      Library lib = (Library) type.eContainer();
      if (lib.getName() != null) {
        text += " : " + lib.getName();
        if (lib.getUri() != null)
          text += "<br>( " + lib.getUri() + " )";
      }
    } else if (type.eContainer() instanceof Package) {
      Package pack = (Package) type.eContainer();
      if (pack.getName() != null) {
        text += " : " + pack.getName();
View Full Code Here

TOP

Related Classes of fr.tm.elibel.smartqvt.qvt.qvtoperational.Library

Copyright © 2018 www.massapicom. 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.