public class Parameters extends StringParameters implements IEditorDescriptionProvider
| Modifier and Type | Field and Description |
|---|---|
static int |
KEEPCODE_REMOVECONTENT |
static int |
REMOVECODE_KEEPCONTENT |
static int |
REMOVECODE_REMOVECONTENT |
bufferpath| Constructor and Description |
|---|
Parameters() |
| Modifier and Type | Method and Description |
|---|---|
EditorDescription |
createEditorDescription(ParametersDescription paramDesc) |
boolean |
getIncludeNonTranslatable() |
int |
getMode() |
ParametersDescription |
getParametersDescription()
Gets the description of the parameters.
|
boolean |
getReplaceWithSpace() |
boolean |
getStripSource() |
boolean |
getStripTarget() |
void |
reset()
Reset this parameters object to its default values.
|
void |
setIncludeNonTranslatable(boolean includeNonTranslatable) |
void |
setMode(int mode) |
void |
setReplaceWithSpace(boolean replaceWithSpace) |
void |
setStripSource(boolean stripSource) |
void |
setStripTarget(boolean stripTarget) |
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toStringpublic static final int REMOVECODE_KEEPCONTENT
public static final int KEEPCODE_REMOVECONTENT
public static final int REMOVECODE_REMOVECONTENT
public boolean getStripSource()
public void setStripSource(boolean stripSource)
public boolean getStripTarget()
public void setStripTarget(boolean stripTarget)
public int getMode()
public void setMode(int mode)
public boolean getIncludeNonTranslatable()
public void setIncludeNonTranslatable(boolean includeNonTranslatable)
public boolean getReplaceWithSpace()
public void setReplaceWithSpace(boolean replaceWithSpace)
public 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 ParametersDescription getParametersDescription()
IParametersgetParametersDescription in interface IParametersgetParametersDescription in class BaseParameterspublic EditorDescription createEditorDescription(ParametersDescription paramDesc)
createEditorDescription in interface IEditorDescriptionProviderCopyright © 2021. All rights reserved.