org.eclipse.emf.emfstore.internal.server.core.helper
Class EPackageHelper

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.server.core.helper.EPackageHelper

public final class EPackageHelper
extends Object

The EPackageHelper provides additional methods for handling EPackages.

Author:
Tobias Verhoeven

Method Summary
static List<org.eclipse.emf.ecore.EPackage> getAllSubPackages(org.eclipse.emf.ecore.EPackage ePackage)
          Gets the all sub packages.
static void removeSubPackages(org.eclipse.emf.ecore.EPackage ePackage, Set<org.eclipse.emf.ecore.EPackage> subPackagesRm)
          Removes subpackages from an EPackage .
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAllSubPackages

public static List<org.eclipse.emf.ecore.EPackage> getAllSubPackages(org.eclipse.emf.ecore.EPackage ePackage)
Gets the all sub packages.

Parameters:
ePackage - the e package
Returns:
the all sub packages

removeSubPackages

public static void removeSubPackages(org.eclipse.emf.ecore.EPackage ePackage,
                                     Set<org.eclipse.emf.ecore.EPackage> subPackagesRm)
Removes subpackages from an EPackage .

Parameters:
ePackage - the EPackage
subPackagesRm - the subpackages to be removed.


Copyright © 2015. All Rights Reserved.