Interface IInfobaseAssociationListener


  • public interface IInfobaseAssociationListener
    Provides event notification for infobases association changes events.

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

    • Method Detail

      • infobaseAssociated

        void infobaseAssociated​(org.eclipse.core.resources.IProject project,
                                InfobaseReference infobase,
                                InfobaseAssociationSettings settings)
        Notifies that the provided project and the provided infobase was associated.
        Parameters:
        project - the project, that was associated with provided infobase, cannot be null
        infobase - the infobase, that was associated with project, cannot be null
        settings - the infobase association settings, cannot be null
        See Also:
        InfobaseAssociationSettings
      • infobaseDissociated

        void infobaseDissociated​(org.eclipse.core.resources.IProject project,
                                 InfobaseReference infobase,
                                 InfobaseAssociationContext context)
        Notifies that provided project and provided infobase was dissociated.
        Parameters:
        project - the project, that was associated with provided infobase, cannot be null
        infobase - the infobase, that was associated with project, cannot be null
        context - the infobase association context, cannot be null
        See Also:
        InfobaseAssociationContext