Class FormItemsMapping
- java.lang.Object
-
- com._1c.g5.v8.dt.form.mapping.core.Mapping<FormMapping,Form>
-
- com._1c.g5.v8.dt.form.mapping.item.FormItemsMapping
-
public class FormItemsMapping extends Mapping<FormMapping,Form>
The mapping for form items
-
-
Constructor Summary
Constructors Constructor Description FormItemsMapping(Supplier<Form> inputSupplier)
FormItemsMapping(Supplier<Form> inputSupplier, IDataSourceInfoAssociationService associationService, IModelObjectFactory modelObjectFactory, IFormItemTypeManagementService typeManagedService, IRuntimeVersionSupport versionSupport, ICommandNameService commandNameService)
-
Method Summary
-
Methods inherited from class com._1c.g5.v8.dt.form.mapping.core.Mapping
addRelation, buildRootModel, clearAllRelation, createComparer, dispose, fullUpdate, get, getCompletedRoot, getRelatedModel, getRootClass, getRootModel, isDisposed, pushEvent, removeRelation, removeRelation, setController
-
-
-
-
Constructor Detail
-
FormItemsMapping
public FormItemsMapping(Supplier<Form> inputSupplier, IDataSourceInfoAssociationService associationService, IModelObjectFactory modelObjectFactory, IFormItemTypeManagementService typeManagedService, IRuntimeVersionSupport versionSupport, ICommandNameService commandNameService)
-
-
Method Detail
-
createRoot
protected FormMapping createRoot()
Description copied from class:Mapping
The method creates a new root projection model.- Specified by:
createRoot
in classMapping<FormMapping,Form>
- Returns:
- the root model of mapping, never
null
-
clearRoot
protected void clearRoot(FormMapping model)
Description copied from class:Mapping
The method clear root mapping model.- Specified by:
clearRoot
in classMapping<FormMapping,Form>
- Parameters:
model
- the root mapping model, can't benull
-
fillModel
protected void fillModel(FormMapping mapping, Form input)
Description copied from class:Mapping
Methods fill projection model.- Specified by:
fillModel
in classMapping<FormMapping,Form>
- Parameters:
mapping
- the root projection model for filling, can't benull
input
- the root domain model, can't benull
-
handleEvent
public void handleEvent(AbstractEvent event)
Description copied from class:Mapping
The event processing. To the help of this method there is an evolution of a projection model.- Specified by:
handleEvent
in classMapping<FormMapping,Form>
- Parameters:
event
- the event for processing, can't benull
-
_mapForm
protected FormMapping _mapForm(Object other, FormMapping mapping)
-
_mapForm
protected FormMapping _mapForm(Form form, FormMapping mapping)
-
_mapItem
protected Item _mapItem(Decoration item)
-
_mapItem
protected Item _mapItem(ExtendedTooltip item)
-
_mapItem
protected Item _mapItem(ContextMenu menu)
-
_mapItem
protected Item _mapItem(AutoCommandBar bar)
-
_processed
protected Object _processed(AbstractEvent event)
-
_processed
protected Object _processed(UpdateEObjectEvent event)
-
_processed
protected Object _processed(AddEObjectEvent event)
-
_processed
protected Object _processed(DeleteEObjectEvent event)
-
_processed
protected Object _processed(MoveEObjectEvent event)
-
deleteItem
public void deleteItem(ItemsHolder<?> mapping, FormItem formItem)
-
addItem
public void addItem(ItemsHolder<?> mapping, FormItem item)
-
addItem
public void addItem(ItemsHolder<?> mapping, FormItem item, int index)
-
addItems
public void addItems(ItemsHolder<?> mapping, Collection<FormItem> items)
-
addItems
public void addItems(ItemsHolder<?> mapping, Collection<FormItem> items, int index)
-
deleteItems
public void deleteItems(ItemsHolder<?> mapping, Collection<FormItem> formItem)
-
calculateCommandBarState
public void calculateCommandBarState(FormMapping mapping, List<Item> items)
-
calculateCommandBarState
public void calculateCommandBarState(ItemContainer mapping, List<Item> items)
-
calculateContextMenuState
public void calculateContextMenuState(ItemContainer mapping, List<Item> items)
-
calculateTooltipState
public void calculateTooltipState(ItemContainer mapping, List<Item> items)
-
calculateSearchStringAdditionState
public void calculateSearchStringAdditionState(ItemContainer mapping, List<Item> items)
-
calculateSearchControlAdditionState
public void calculateSearchControlAdditionState(ItemContainer mapping, List<Item> items)
-
calculateViewStatusAdditionState
public void calculateViewStatusAdditionState(ItemContainer mapping, List<Item> items)
-
addTableElementItems
public void addTableElementItems(ItemContainer mapping, Table table)
-
removeTableElemenItems
public void removeTableElemenItems(ItemContainer mapping, Table table)
-
mapForm
public FormMapping mapForm(Object form, FormMapping mapping)
-
processed
public Object processed(AbstractEvent event)
-
-