Package com._1c.g5.v8.dt.common
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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getLineSeparator(org.eclipse.core.resources.IProject project)
Gets line separator preference set for the specified project.
-
-
-
Method Detail
-
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 benull
.- Returns:
- the line separator preference. Never
null
.
-
-