Class ExtendedFieldDefinition
- java.lang.Object
-
- com._1c.g5.aef2.standard.definitions.AbstractDefinition
-
- com._1c.g5.aef2.standard.definitions.LabeledDefinition
-
- com._1c.g5.aef2.standard.definitions.FieldDefinition
-
- com._1c.g5.v8.dt.md.ui.extension.aef.definitions.ExtendedFieldDefinition
-
- All Implemented Interfaces:
IComponentFactory
,IDefinition
,IFieldDefinition
,IFieldDefinitionCustomization
,ILabeledDefinition
,IExtendedFieldDefinition
public class ExtendedFieldDefinition extends FieldDefinition implements IExtendedFieldDefinition
Extendeded fiend definition that shows extended label component instead of original simple label component.
-
-
Constructor Summary
Constructors Constructor Description ExtendedFieldDefinition(Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label, org.eclipse.emf.databinding.FeaturePath[] paths, IModelFactory modelFactory, IRuntimeVersionSupport runtimeVersionSupport, IMdPropertyTypeProvider mdPropertyTypeProvider)
Creates an instance ofExtendedFieldDefinition
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainerComponent<?,?>
createFieldComponent(String label, Object[] objects)
Create field container component.void
setComponentClass(Class<? extends IComponent<?>> componentClass)
Sets the class of the component.-
Methods inherited from class com._1c.g5.aef2.standard.definitions.FieldDefinition
getFeaturePaths, toString
-
Methods inherited from class com._1c.g5.aef2.standard.definitions.LabeledDefinition
getLabel, setLabel
-
Methods inherited from class com._1c.g5.aef2.standard.definitions.AbstractDefinition
createComponent, equals, getComponentClass, getConstructor, getId, getLayoutData, getParametrization, getParent, hashCode, setComponentFactory, setLayoutData, setModelFactory, setParameterization, setParent
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IComponentFactory
createComponent
-
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IDefinition
getComponentClass, getId, getLayoutData, getParametrization, getParent
-
Methods inherited from interface com._1c.g5.aef2.standard.definitions.IFieldDefinition
getFeaturePaths
-
Methods inherited from interface com._1c.g5.aef2.standard.definitions.ILabeledDefinition
getLabel
-
-
-
-
Constructor Detail
-
ExtendedFieldDefinition
public ExtendedFieldDefinition(Class<? extends IComponent<?>> componentClass, IParameterization parameterization, String label, org.eclipse.emf.databinding.FeaturePath[] paths, IModelFactory modelFactory, IRuntimeVersionSupport runtimeVersionSupport, IMdPropertyTypeProvider mdPropertyTypeProvider)
Creates an instance ofExtendedFieldDefinition
.- Parameters:
componentClass
- the class of field difenition value component, cannot benull
parameterization
- the value component parameterization, cannot benull
label
- the field label text, cannot benull
paths
- an array ofFeaturePath
of the editing property, cannot benull
modelFactory
- the instance ofIModelFactory
, cannot benull
runtimeVersionSupport
- the instance ofIRuntimeVersionSupport
, cannot benull
mdPropertyTypeProvider
- the instance ofIMdPropertyTypeProvider
, cannot benull
-
-
Method Detail
-
createFieldComponent
public ContainerComponent<?,?> createFieldComponent(String label, Object[] objects)
Description copied from interface:IFieldDefinitionCustomization
Create field container component.- Specified by:
createFieldComponent
in interfaceIFieldDefinitionCustomization
- Parameters:
label
- the label, cannot benull
objects
- the input objects, cannot benull
- Returns:
- the field container component, never
null
-
setComponentClass
public void setComponentClass(Class<? extends IComponent<?>> componentClass)
Description copied from class:AbstractDefinition
Sets the class of the component.Note that if a direct component factory is
set
, the class set by this method will be ignored during component creation.- Overrides:
setComponentClass
in classAbstractDefinition
- Parameters:
componentClass
- the class of the component.
-
-