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

Examples of org.tuba.spatschorke.diploma.repository.mock.ModelController


      return ((TreeObject) parent).hasChildren();
    return false;
  }

  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

TOP

Related Classes of org.tuba.spatschorke.diploma.repository.mock.ModelController

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.