Class DuallyNamedSectionParameterization
- java.lang.Object
-
- com._1c.g5.aef2.standard.parameterization.LabeledParameterization
-
- com._1c.g5.aef2.standard.parameterization.SectionParametrization
-
- com._1c.g5.aef2.standard.definitions.parameterization.SectionDefinitionParameterization
-
- com._1c.g5.v8.dt.ui.aef.parameterization.DuallyNamedSectionParameterization
-
- All Implemented Interfaces:
IParameterization
,ISectionDefinitionParameterization
,ILabeledParametrization
,ISectionParameterization
public class DuallyNamedSectionParameterization extends SectionDefinitionParameterization
TheSectionDefinitionParameterization
with an opportunity to use feature names as labels for elements.
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.aef2.standard.parameterization.ILabeledParametrization
NULL_LABEL
-
Fields inherited from interface com._1c.g5.aef2.components.IParameterization
VOID
-
-
Constructor Summary
Constructors Constructor Description DuallyNamedSectionParameterization(String label)
Creates a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDefinitionLabel(ILabeledDefinition definition)
Returns label ofILabeledDefinition
.static void
setUseFeatureNameAsLabel(boolean value)
Sets the value indicating to use feature name as label for element instead of default value.-
Methods inherited from class com._1c.g5.aef2.standard.definitions.parameterization.SectionDefinitionParameterization
getToolbarId, setToolbarId
-
Methods inherited from class com._1c.g5.aef2.standard.parameterization.SectionParametrization
isCollapsible
-
Methods inherited from class com._1c.g5.aef2.standard.parameterization.LabeledParameterization
getLabel
-
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.ILabeledParametrization
getLabel
-
Methods inherited from interface com._1c.g5.aef2.standard.parameterization.ISectionParameterization
isCollapsible
-
-
-
-
Constructor Detail
-
DuallyNamedSectionParameterization
public DuallyNamedSectionParameterization(String label)
Creates a new instance.- Parameters:
label
- the label.
-
-
Method Detail
-
getDefinitionLabel
public String getDefinitionLabel(ILabeledDefinition definition)
Description copied from interface:ISectionDefinitionParameterization
Returns label ofILabeledDefinition
.- Specified by:
getDefinitionLabel
in interfaceISectionDefinitionParameterization
- Overrides:
getDefinitionLabel
in classSectionDefinitionParameterization
- Parameters:
definition
- the definition.- Returns:
- the definition.
-
setUseFeatureNameAsLabel
public static void setUseFeatureNameAsLabel(boolean value)
Sets the value indicating to use feature name as label for element instead of default value.- Parameters:
value
- the value.
-
-