Java Code Examples for org.eclipse.emf.ecore.EPackage.getEClassifiers()

The following are Jave code examples for showing how to use getEClassifiers() of the org.eclipse.emf.ecore.EPackage class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: Tarski   File: LoadItem.java   View Source Code Vote up 5 votes
private void loadEClasses(EPackage packageee) {
  for (EClassifier classifier : packageee.getEClassifiers()) {
    allEClasses.put(classifier.getName(), (EClass) classifier);
  }
  for (EPackage subPackage : packageee.getESubpackages()) {
    loadEClasses(subPackage);
  }
}