org.eclipse.emf.importer.util
Class ImporterUtil
java.lang.Object
org.eclipse.emf.importer.util.ImporterUtil
- public class ImporterUtil
- extends Object
Utility methods and classes. This class cannot import UI code because it is used on headless
scenarios.
- Since:
- 2.1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImporterUtil
public ImporterUtil()
validPluginID
public static String validPluginID(String base)
addUniqueGenPackages
public static void addUniqueGenPackages(List genPackages,
List 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.
- Parameters:
genPackages
- genPackagesToAdd
-