org.eclipse.m2m.atl.adt.perspective.compatibility
Class CompatibilityUtils
java.lang.Object
org.eclipse.m2m.atl.adt.perspective.compatibility.CompatibilityUtils
public class CompatibilityUtils
- extends java.lang.Object
An utility class for old ATL projects conversion.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
oldNatureId
public static final java.lang.String oldNatureId
- See Also:
- Constant Field Values
newNatureId
public static final java.lang.String newNatureId
- See Also:
- Constant Field Values
oldBuilderId
public static final java.lang.String oldBuilderId
- See Also:
- Constant Field Values
newBuilderId
public static final java.lang.String newBuilderId
- See Also:
- Constant Field Values
oldConfigId
public static final java.lang.String oldConfigId
- See Also:
- Constant Field Values
newConfigId
public static final java.lang.String newConfigId
- See Also:
- Constant Field Values
CompatibilityUtils
public CompatibilityUtils()
getProjects
public static org.eclipse.core.resources.IProject[] getProjects()
throws org.eclipse.core.runtime.CoreException
- Returns:
- the list of the old projects
- Throws:
org.eclipse.core.runtime.CoreException
getConfigurations
public static org.eclipse.debug.core.ILaunchConfiguration[] getConfigurations()
throws org.eclipse.core.runtime.CoreException
- Returns:
- the list of the old configurations
- Throws:
org.eclipse.core.runtime.CoreException
convertProjects
public static void convertProjects(java.lang.Object[] projects)
throws java.lang.Exception
- Parameters:
projects - the projects to convert
- Throws:
org.eclipse.core.runtime.CoreException
java.lang.Exception
convertConfigurations
public static boolean convertConfigurations(java.lang.Object[] configurations)
throws java.lang.Exception
- Parameters:
configurations - the configurations to convert
- Returns:
- true if Eclipse needs to be restarted
- Throws:
java.lang.Exception