Class PreferenceUtils

java.lang.Object
com._1c.g5.v8.dt.common.PreferenceUtils

public final class PreferenceUtils extends Object
Shortcuts for accessing Eclipse preferences.
Since:
6.2.0
  • Method Details

    • getLineSeparator

      public static String getLineSeparator(org.eclipse.core.resources.IProject project)
      Gets line separator preference set for the specified project. If the preference is not set for the project then the canonical lookup order is used (instance, configuration, default).
      Parameters:
      project - The project. May not be null.
      Returns:
      the line separator preference. Never null.