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 ClassesModifier and TypeClassDescriptionstatic 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
ConstructorsModifierConstructorDescriptionprotectedCreates a new instance with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a new builder of tree parameterization.intReturn the expand level.booleanChecks if needs refresh a component when a project script variant is changed.booleanReturns 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, isShowImagesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com._1c.g5.aef2.standard.parameterization.IActiveContextParameterization
getActiveContextMethods inherited from interface com._1c.g5.aef2.standard.parameterization.IStructuredParameterization
getComparator, isEmptyChoiceAllowed, isMulti, isSearchBoxVisible, isShowCheckboxes, isShowImages
-
Constructor Details
-
TreeParameterization
Creates a new instance with the given parameters.- Parameters:
builder- the builder cannot benull
-
-
Method Details
-
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:
-
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
-