Class TreeParameterization
- java.lang.Object
-
- com._1c.g5.aef2.standard.parameterization.StructuredParameterization
-
- com._1c.g5.aef2.standard.parameterization.TreeParameterization
-
- All Implemented Interfaces:
IParameterization
,IActiveContextParameterization
,IStructuredParameterization
,ITreeParameterization
public class TreeParameterization extends StructuredParameterization implements ITreeParameterization
ITreeParameterization
implementation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TreeParameterization.TreeParameterizationBuilder<T extends TreeParameterization.TreeParameterizationBuilder<T>>
Builder of tree parameterization.-
Nested classes/interfaces inherited from class com._1c.g5.aef2.standard.parameterization.StructuredParameterization
StructuredParameterization.StructuredParameterizationBuilder<T extends StructuredParameterization.StructuredParameterizationBuilder<T>>
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.aef2.components.IParameterization
VOID
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
TreeParameterization(TreeParameterization.TreeParameterizationBuilder<?> builder)
Creates a new instance with the given parameters.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TreeParameterization.TreeParameterizationBuilder<?>
builder()
Creates a new builder of tree parameterization.int
getExpandLevel()
Return the expand level.boolean
isRefreshOnScriptVariantChange()
Checks if needs refresh a component when a project script variant is changed.boolean
isSubtreeMulti()
Returns the value indicating whether to allow selection more than one element in subtree node.-
Methods inherited from class com._1c.g5.aef2.standard.parameterization.StructuredParameterization
getActiveContext, getComparator, isEmptyChoiceAllowed, isMulti, isSearchBoxVisible, isShowCheckboxes, isShowImages
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.standard.parameterization.IActiveContextParameterization
getActiveContext
-
Methods inherited from interface com._1c.g5.aef2.standard.parameterization.IStructuredParameterization
getComparator, isEmptyChoiceAllowed, isMulti, isSearchBoxVisible, isShowCheckboxes, isShowImages
-
-
-
-
Constructor Detail
-
TreeParameterization
protected TreeParameterization(TreeParameterization.TreeParameterizationBuilder<?> builder)
Creates a new instance with the given parameters.- Parameters:
builder
- the builder cannot benull
-
-
Method Detail
-
builder
public static TreeParameterization.TreeParameterizationBuilder<?> builder()
Creates a new builder of tree parameterization. The default values are:- Expand level is '-1' (ALL_LEVELS in jface)
- Refresh is not performed on script variant change
- Multi selection in subtree enable
- Returns:
- New builder of tree parameterization
- See Also:
StructuredParameterization.builder()
-
getExpandLevel
public int getExpandLevel()
Description copied from interface:ITreeParameterization
Return the expand level.- Specified by:
getExpandLevel
in interfaceITreeParameterization
- Returns:
- the expand level
-
isSubtreeMulti
public boolean isSubtreeMulti()
Description copied from interface:ITreeParameterization
Returns the value indicating whether to allow selection more than one element in subtree node.- Specified by:
isSubtreeMulti
in interfaceITreeParameterization
- Returns:
- the value indicating whether to allow selection more than one element in subtree node
-
isRefreshOnScriptVariantChange
public boolean isRefreshOnScriptVariantChange()
Description copied from interface:ITreeParameterization
Checks if needs refresh a component when a project script variant is changed.- Specified by:
isRefreshOnScriptVariantChange
in interfaceITreeParameterization
- Returns:
true
if needs refresh a component
-
-