public static class AlignmentStrategy.AlignmentPerTypeStrategy extends AlignmentStrategy
AlignmentStrategy.AlignmentPerTypeStrategy| Modifier and Type | Method and Description |
|---|---|
Alignment |
getAlignment(IElementType parentType,
IElementType childType)
Requests current strategy for alignment to use for the child of the given type assuming that parent node has the given type.
|
void |
renewAlignment(IElementType elementType) |
createAlignmentPerTypeStrategy, createAlignmentPerTypeStrategy, createAlignmentPerTypeStrategy, getAlignment, getNullStrategy, wrap, wrappublic Alignment getAlignment(IElementType parentType, IElementType childType)
AlignmentStrategygetAlignment in class AlignmentStrategyparentType - parent type to use for filtering (if not null)childType - child type to use for filtering (if not null)public void renewAlignment(IElementType elementType)