Class FormItemTypeInformationService
- java.lang.Object
-
- com._1c.g5.v8.dt.form.service.item.impl.FormItemTypeInformationService
-
- All Implemented Interfaces:
IFormItemTypeInformationService
public class FormItemTypeInformationService extends Object implements IFormItemTypeInformationService
The default implementation ofIFormItemTypeInformationService
-
-
Constructor Summary
Constructors Constructor Description FormItemTypeInformationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<ManagedFormAdditionType>
getAvailableAdditionTypes(FormItemContainer context)
Gets available addition types in current context.Set<ManagedFormButtonType>
getAvailableButtonTypes(FormItemContainer context)
Gets available button types in current context.Set<ManagedFormDecorationType>
getAvailableDecorationTypes(FormItemContainer context)
Gets available decoration types in current context.Set<ManagedFormFieldType>
getAvailableFieldTypes(TypeDescription decription, FormItemContainer context)
Gets available field types in current context.Set<ManagedFormGroupType>
getAvailableGroupTypes(FormGroup group, FormItemContainer context)
Gets available group types in current context.ManagedFormAdditionType
getDefaultAdditionType(FormItemContainer context)
Method gets default addition type for current context.ManagedFormButtonType
getDefaultButtonType(FormItemContainer context)
Method gets default button type for current context.ManagedFormDecorationType
getDefaultDecorationType(FormItemContainer context)
Method gets default decoration type for current context.ManagedFormFieldType
getDefaultFieldType(TypeDescription decription, FormItemContainer context)
Method gets default field type for current context.ManagedFormGroupType
getDefaultGroupType(FormGroup group, FormItemContainer context)
Method gets default group type for current context.
-
-
-
Method Detail
-
getDefaultFieldType
public ManagedFormFieldType getDefaultFieldType(TypeDescription decription, FormItemContainer context)
Method gets default field type for current context.- Specified by:
getDefaultFieldType
in interfaceIFormItemTypeInformationService
- Parameters:
decription
- the type description, can benull
.context
- the context for field, not used.- Returns:
- return default type, never
null
.
-
getAvailableFieldTypes
public Set<ManagedFormFieldType> getAvailableFieldTypes(TypeDescription decription, FormItemContainer context)
Gets available field types in current context.- Specified by:
getAvailableFieldTypes
in interfaceIFormItemTypeInformationService
- Parameters:
decription
- , can benull
.context
- the context for field, can benull
.- Returns:
- return available types, never
null
.
-
getDefaultButtonType
public ManagedFormButtonType getDefaultButtonType(FormItemContainer context)
Method gets default button type for current context.- Specified by:
getDefaultButtonType
in interfaceIFormItemTypeInformationService
- Parameters:
context
- the context for button, can benull
.- Returns:
- return default type, can be
null
.
-
getAvailableButtonTypes
public Set<ManagedFormButtonType> getAvailableButtonTypes(FormItemContainer context)
Gets available button types in current context.- Specified by:
getAvailableButtonTypes
in interfaceIFormItemTypeInformationService
- Parameters:
context
- the context for button, can benull
.- Returns:
- return available types, never
null
.
-
getDefaultGroupType
public ManagedFormGroupType getDefaultGroupType(FormGroup group, FormItemContainer context)
Method gets default group type for current context.- Specified by:
getDefaultGroupType
in interfaceIFormItemTypeInformationService
- Parameters:
group
- the group, can not benull
.context
- the context for group, can benull
.- Returns:
- return default type, never
null
.
-
getAvailableGroupTypes
public Set<ManagedFormGroupType> getAvailableGroupTypes(FormGroup group, FormItemContainer context)
Gets available group types in current context.- Specified by:
getAvailableGroupTypes
in interfaceIFormItemTypeInformationService
- Parameters:
group
- the group, can not benull
.context
- the context for group, can benull
.- Returns:
- return available types, never
null
.
-
getDefaultAdditionType
public ManagedFormAdditionType getDefaultAdditionType(FormItemContainer context)
Method gets default addition type for current context.- Specified by:
getDefaultAdditionType
in interfaceIFormItemTypeInformationService
- Parameters:
context
- the context for addition, can benull
.- Returns:
- return default type, can be
null
.
-
getAvailableAdditionTypes
public Set<ManagedFormAdditionType> getAvailableAdditionTypes(FormItemContainer context)
Gets available addition types in current context.- Specified by:
getAvailableAdditionTypes
in interfaceIFormItemTypeInformationService
- Parameters:
context
- the context for addition, can benull
.- Returns:
- return available types, never
null
.
-
getDefaultDecorationType
public ManagedFormDecorationType getDefaultDecorationType(FormItemContainer context)
Method gets default decoration type for current context.- Specified by:
getDefaultDecorationType
in interfaceIFormItemTypeInformationService
- Parameters:
context
- the context for decoration, can benull
.- Returns:
- return default type, can be
null
.
-
getAvailableDecorationTypes
public Set<ManagedFormDecorationType> getAvailableDecorationTypes(FormItemContainer context)
Gets available decoration types in current context.- Specified by:
getAvailableDecorationTypes
in interfaceIFormItemTypeInformationService
- Parameters:
context
- the context for decoration, can benull
.- Returns:
- return available types, never
null
.
-
-