org.eclipse.cdt.managedbuilder.projectconverter
Class UpdateManagedProjectManager

java.lang.Object
  extended by org.eclipse.cdt.managedbuilder.projectconverter.UpdateManagedProjectManager

public class UpdateManagedProjectManager
extends java.lang.Object


Method Summary
static void backupSettingsFile(org.eclipse.core.resources.IFile settingsFile, java.lang.String suffix, org.eclipse.core.runtime.IProgressMonitor monitor, org.eclipse.core.resources.IProject project)
           
static ManagedBuildInfo getConvertedManagedBuildInfo(org.eclipse.core.resources.IProject project)
          returns ManagedBuildInfo for the current project if converter is currently running
static boolean isCompatibleProject(IManagedBuildInfo info)
           
static void openInformation(java.lang.String title, java.lang.String message)
           
static void setBackupFileOverwriteQuery(org.eclipse.ui.dialogs.IOverwriteQuery backupFileOverwriteQuery)
           
static void setUpdateProjectQuery(org.eclipse.ui.dialogs.IOverwriteQuery updateProjectQuery)
           
static void updateProject(org.eclipse.core.resources.IProject project, ManagedBuildInfo info)
          updates the managed project
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setBackupFileOverwriteQuery

public static void setBackupFileOverwriteQuery(org.eclipse.ui.dialogs.IOverwriteQuery backupFileOverwriteQuery)

setUpdateProjectQuery

public static void setUpdateProjectQuery(org.eclipse.ui.dialogs.IOverwriteQuery updateProjectQuery)

isCompatibleProject

public static boolean isCompatibleProject(IManagedBuildInfo info)

backupSettingsFile

public static void backupSettingsFile(org.eclipse.core.resources.IFile settingsFile,
                                      java.lang.String suffix,
                                      org.eclipse.core.runtime.IProgressMonitor monitor,
                                      org.eclipse.core.resources.IProject project)

openInformation

public static void openInformation(java.lang.String title,
                                   java.lang.String message)

getConvertedManagedBuildInfo

public static ManagedBuildInfo getConvertedManagedBuildInfo(org.eclipse.core.resources.IProject project)
returns ManagedBuildInfo for the current project if converter is currently running

Parameters:
project - project for which ManagedBuildInfo is needed
Returns:
the pointer to the project ManagedBuildInfo or null if converter is no running

updateProject

public static void updateProject(org.eclipse.core.resources.IProject project,
                                 ManagedBuildInfo info)
                          throws org.eclipse.core.runtime.CoreException
updates the managed project

Parameters:
project - the project to be updated
info - the ManagedBuildInfo for the current project
Throws:
org.eclipse.core.runtime.CoreException - if conversion failed