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
ITreeParameterizationimplementation.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTreeParameterization.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 protectedTreeParameterization(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.intgetExpandLevel()Return the expand level.booleanisRefreshOnScriptVariantChange()Checks if needs refresh a component when a project script variant is changed.booleanisSubtreeMulti()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:ITreeParameterizationReturn the expand level.- Specified by:
getExpandLevelin interfaceITreeParameterization- Returns:
- the expand level
-
isSubtreeMulti
public boolean isSubtreeMulti()
Description copied from interface:ITreeParameterizationReturns the value indicating whether to allow selection more than one element in subtree node.- Specified by:
isSubtreeMultiin interfaceITreeParameterization- Returns:
- the value indicating whether to allow selection more than one element in subtree node
-
isRefreshOnScriptVariantChange
public boolean isRefreshOnScriptVariantChange()
Description copied from interface:ITreeParameterizationChecks if needs refresh a component when a project script variant is changed.- Specified by:
isRefreshOnScriptVariantChangein interfaceITreeParameterization- Returns:
trueif needs refresh a component
-
-