Package org.tuba.spatschorke.diploma.repository.mock.views.data

Examples of org.tuba.spatschorke.diploma.repository.mock.views.data.TreeObject


  }

  private void initialize() {
    ModelController modelController = ModelController.getInstance();

    invisibleRoot = new TreeObject(""); //$NON-NLS-1$

    if (!checkModelPath(invisibleRoot))
      return;

    // TODO externalize
    TreeObject root = new TreeObject("Ecore Models"); //$NON-NLS-1$
    invisibleRoot.getChildren().add(root);

    for (String modelID : modelController.getModelMap().keySet()) {
      TreeObject modelTreeObject = new ModelTreeObject(modelID, modelID);
      root.getChildren().add(modelTreeObject);
    }
  }
View Full Code Here


    File dir = new File(ecoreModelsPath);
    if (!dir.exists()) {
      // TODO externalize
      String message = "model path \"" + ecoreModelsPath //$NON-NLS-1$
          + "\" is not existing"; //$NON-NLS-1$
      root.getChildren().add(new TreeObject(message));
      return false;
    }
    return true;
  }
View Full Code Here

TOP

Related Classes of org.tuba.spatschorke.diploma.repository.mock.views.data.TreeObject

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.