TLcySelectionEditorAddOn creates and shows the Object Properties panel for objects selected on the map.
The panel itself is an
ILcyApplicationPane while the panel content is an
ILcyCustomizerPanel for a
TLcyDomainObjectContext, or an array thereof if multiple objects are selected.
When the Object Properties panel is active, this add-on:
Listens to the selected objects on the map
Updates the content of the Object Properties
ILcyApplicationPaneeach time the map selection is updated, by:
TLcyDomainObjectContext, or an array in the case of multiple selected elements
ILcyCustomizerPanel.canSetObjectmethod to check if the current customizer panel can handle the new selection — the
TLcyDomainObjectContext. If it can, the current customizer panel is updated using the
If the current
ILcyCustomizerPanelcannot handle the new selection, or there is no customizer panel yet, the add-on loops over all registered
ILcyCustomizerPanelFactoryinstances at the back-end to find one that can create a customizer panel for the selection.
If there is such a factory, it is asked to create a customizer panel and that customizer panel is used as content for the
The add-on is responsible for creating the panel only.
The actual content of the panel is created by
When you are creating your own business data format using an
ALcyFormat, the most obvious way to do this is by implementing the
This is illustrated in the Adding support for custom editable data to a Lightspeed view
and the Adding support for custom (editable) data to a GXY view tutorials.