Interface IInfobaseChangeListener

All Known Subinterfaces:
IInfobaseSettingsChangeListener
All Known Implementing Classes:
DevelopmentView, InfobaseApplicationProvisionDelegate, InfobaseEditor, InfobasesView

public interface IInfobaseChangeListener
Provides event notification for infobases references changes events.

Need to add listener to IInfobaseManager for notifications tracking, and remove it, when no longer needed.

Clients may implement also IInfobaseSettingsChangeListener to track recent infobases changes.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called when list of registered infobases has been reloaded.
    void
    Notification that new section was added and persisted.
  • Method Details

    • infobasesReloaded

      void infobasesReloaded(List<Section> newInput)
      Called when list of registered infobases has been reloaded.

      This could happen not only when registered infobases list is explicitly reloaded by user or there are changes made outside of EDT (for example, using 1C Starter) but also when infobases are added or deleted by user using EDT or automatically by EDT itself. Moreover, the method could be called when there are no actual changes but infobases list has been reloaded (triggered manually by user or automatically).

      Parameters:
      newInput - a new input (tree of sections), cannot be null
    • sectionAdded

      void sectionAdded(Section section)
      Notification that new section was added and persisted.
      Parameters:
      section - the added section, cannot be null