Package SmartGen

Examples of SmartGen.Data


   * @generated
   */
  protected Object doSwitch(int classifierID, EObject theEObject) {
    switch (classifierID) {
      case SmartGenPackage.DATA: {
        Data data = (Data)theEObject;
        Object result = caseData(data);
        if (result == null) result = caseValue(data);
        if (result == null) result = caseConfigurableElement(data);
        if (result == null) result = defaultCase(theEObject);
        return result;
View Full Code Here


    //
    if (args.length == 0) {
      System.out.println("Enter a list of file paths or URIs that have content like this:");
      try {
        Resource resource = resourceSet.createResource(URI.createURI("http:///My.smartgen"));
        Data root = SmartGenFactory.eINSTANCE.createData();
        resource.getContents().add(root);
        resource.save(System.out, null);
      }
      catch (IOException exception) {
        exception.printStackTrace();
View Full Code Here

TOP

Related Classes of SmartGen.Data

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.