Class ExternalProjectUtils

java.lang.Object
com.e1c.langtool.v8.dt.ui.projecteditor.ExternalProjectUtils

public final class ExternalProjectUtils extends Object
  • Method Details

    • regroupProjects

      public static void regroupProjects(ISettingsEditingContext context)
      Regroups all external projects in place.
    • moveHtmlFiles

      public static void moveHtmlFiles(org.eclipse.core.resources.IProject sourceProject, org.eclipse.core.resources.IProject targetProject, Collection<V8TranslateLanguage> languages, org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
      Moves HTML files from sourceProject to targetProject. Only files whose language (derived from filename) is in the languages list are moved. The full folder structure is preserved.
      Parameters:
      sourceProject - the source project, cannot be null
      targetProject - the target project, cannot be null
      languages - collection of languages (used to filter by language code), cannot be null
      monitor - progress monitor, may be null
      Throws:
      org.eclipse.core.runtime.CoreException - if an error occurs while accessing resources