|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.importer.util.ImporterUtil
public class ImporterUtil
Utility methods and classes. This class cannot import UI code because it is used on headless scenarios.
Constructor Summary | |
---|---|
ImporterUtil()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImporterUtil()
Method Detail |
---|
@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
-
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |