public class Options extends StringParameters implements IEditorDescriptionProvider
bufferpath| Constructor and Description |
|---|
Options() |
| Modifier and Type | Method and Description |
|---|---|
EditorDescription |
createEditorDescription(ParametersDescription paramsDesc) |
void |
fromString(String data)
Reset this parameters object to its default values and then load
additional parameters from the provided data.
|
boolean |
getCopySource() |
boolean |
getEscapeGT() |
boolean |
getIncludeAltTrans() |
boolean |
getIncludeCodeAttrs() |
boolean |
getIncludeIts() |
boolean |
getIncludeNoTranslate() |
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
boolean |
getPlaceholderMode() |
boolean |
getSetApprovedAsNoTranslate() |
void |
reset()
Reset this parameters object to its default values.
|
void |
setCopySource(boolean copySource) |
void |
setEscapeGT(boolean escapeGT) |
void |
setIncludeAltTrans(boolean includeAltTrans) |
void |
setIncludeCodeAttrs(boolean includeCodeAttrs) |
void |
setIncludeIts(boolean includeIts) |
void |
setIncludeNoTranslate(boolean includeNoTranslate) |
void |
setPlaceholderMode(boolean placeholderMode) |
void |
setSetApprovedAsNoTranslate(boolean setApprovedAsNoTranslate) |
fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringpublic void reset()
StringParameters
Subclasses should override this method to set any initial
values and instantiate any objects that require allocation. It
is recommended that subclasses also call super.reset()
in the override to ensure that the buffer is empty.
reset in interface IParametersreset in class StringParameterspublic void fromString(String data)
StringParameters
Subclasses should not normally need to override this method unless
they are maintaining complex values (eg, InlineCodeFinder)
that require extra initialization as part of their parameter state.
fromString in interface IParametersfromString in class StringParametersdata - the string holding the parameters. It must be formatted as
the string generated by toString(). Line-breaks must be normalized to '\n'.
It can also be null or empty, in such case the parameters are left with
their current values. Use reset() to reset the parameters to their defaults.public boolean getPlaceholderMode()
public void setPlaceholderMode(boolean placeholderMode)
public boolean getIncludeNoTranslate()
public void setIncludeNoTranslate(boolean includeNoTranslate)
public boolean getSetApprovedAsNoTranslate()
public void setSetApprovedAsNoTranslate(boolean setApprovedAsNoTranslate)
public boolean getCopySource()
public void setCopySource(boolean copySource)
public boolean getIncludeAltTrans()
public void setIncludeAltTrans(boolean includeAltTrans)
public boolean getIncludeCodeAttrs()
public void setIncludeCodeAttrs(boolean includeCodeAttrs)
public boolean getIncludeIts()
public void setIncludeIts(boolean includeIts)
public boolean getEscapeGT()
public void setEscapeGT(boolean escapeGT)
public ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParameterspublic EditorDescription createEditorDescription(ParametersDescription paramsDesc)
createEditorDescription in interface IEditorDescriptionProviderCopyright © 2021. All rights reserved.