public abstract class CustomFoldingProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<CustomFoldingProvider> |
EP_NAME |
Constructor and Description |
---|
CustomFoldingProvider() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<CustomFoldingProvider> |
getAllProviders() |
abstract java.lang.String |
getDescription() |
abstract java.lang.String |
getEndString()
Called from new folding generation procedure.
|
abstract java.lang.String |
getPlaceholderText(java.lang.String elementText) |
abstract java.lang.String |
getStartString()
Called from new folding generation procedure.
|
boolean |
isCollapsedByDefault(java.lang.String text) |
abstract boolean |
isCustomRegionEnd(java.lang.String elementText) |
abstract boolean |
isCustomRegionStart(java.lang.String elementText) |
boolean |
isSupportedBy(FoldingBuilder foldingBuilder) |
boolean |
wrapStartEndMarkerTextInLanguageSpecificComment()
If the method returns `false`, the inheritance class need:
1.
|
public static final ExtensionPointName<CustomFoldingProvider> EP_NAME
public static java.util.List<CustomFoldingProvider> getAllProviders()
public abstract boolean isCustomRegionStart(java.lang.String elementText)
public abstract boolean isCustomRegionEnd(java.lang.String elementText)
public abstract java.lang.String getPlaceholderText(java.lang.String elementText)
public abstract java.lang.String getDescription()
public boolean wrapStartEndMarkerTextInLanguageSpecificComment()
public boolean isSupportedBy(FoldingBuilder foldingBuilder)
foldingBuilder
- public abstract java.lang.String getStartString()
public abstract java.lang.String getEndString()
public boolean isCollapsedByDefault(java.lang.String text)