Search in sources :

Example 1 with StructuredFormatContraints

use of org.eclipse.wst.sse.core.internal.format.StructuredFormatContraints in project webtools.sourceediting by eclipse.

the class NodeFormatter method getFormatContraints.

public IStructuredFormatContraints getFormatContraints() {
    if (fFormatContraints == null) {
        fFormatContraints = new StructuredFormatContraints();
        fFormatContraints.setClearAllBlankLines(getFormatPreferences().getClearAllBlankLines());
    }
    return fFormatContraints;
}
Also used : IStructuredFormatContraints(org.eclipse.wst.sse.core.internal.format.IStructuredFormatContraints) StructuredFormatContraints(org.eclipse.wst.sse.core.internal.format.StructuredFormatContraints)

Aggregations

IStructuredFormatContraints (org.eclipse.wst.sse.core.internal.format.IStructuredFormatContraints)1 StructuredFormatContraints (org.eclipse.wst.sse.core.internal.format.StructuredFormatContraints)1