|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.intellij.formatting.FormattingModelProvider
public class FormattingModelProvider
Allows plugins to create an instance of the standard FormattingModel implementation.
FormattingModelBuilder.createModel(com.intellij.psi.PsiElement, com.intellij.psi.codeStyle.CodeStyleSettings)| Constructor Summary | |
|---|---|
FormattingModelProvider()
|
|
| Method Summary | |
|---|---|
static FormattingModel |
createFormattingModelForPsiFile(PsiFile file,
Block rootBlock,
CodeStyleSettings settings)
Creates an instance of the standard formatting model implementation for the specified file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormattingModelProvider()
| Method Detail |
|---|
public static FormattingModel createFormattingModelForPsiFile(PsiFile file,
Block rootBlock,
CodeStyleSettings settings)
file - the file containing the text to format.rootBlock - the root block of the formatting model.settings - the code style settings used for formatting.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||