public class ImporterUtil
extends java.lang.Object
Constructor and Description |
---|
ImporterUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
addUniqueGenPackages(java.util.List<GenPackage> genPackages,
java.util.List<GenPackage> genPackagesToAdd)
Removes any GenPackage from genPackages that has the same NSURI of a
genPackage in genPackagesToAdd.
|
static java.lang.String |
validPluginID(java.lang.String base)
Deprecated.
Moved to
CodeGenUtil.validPluginID(String) in EMF 2.5. |
@Deprecated public static java.lang.String validPluginID(java.lang.String base)
CodeGenUtil.validPluginID(String)
in EMF 2.5.public static void addUniqueGenPackages(java.util.List<GenPackage> genPackages, java.util.List<GenPackage> genPackagesToAdd)
Removes any GenPackage from genPackages that has the same NSURI of a genPackage in genPackagesToAdd.
After dealing with the NSURI, this method calls genPackages.addAll() which is expected to perform a "contains" check to ensure the uniqueness of the list's elements.
genPackages
- genPackagesToAdd
-