List of usage examples for org.eclipse.jdt.internal.eval EvaluationContext setLineSeparator
public void setLineSeparator(String lineSeparator)
From source file:org.eclipse.jdt.internal.core.JavaProject.java
License:Open Source License
/** * @see IJavaProject#newEvaluationContext() *//* w ww. ja v a 2 s .c o m*/ public IEvaluationContext newEvaluationContext() { EvaluationContext context = new EvaluationContext(); context.setLineSeparator(Util.getLineSeparator(null/*no existing source*/, this)); return new EvaluationContextWrapper(context, this); }