Interface SmartEventSupport


  • @OpenApi
    public interface SmartEventSupport
    Defines an interface form registering smart listeners.
    • Method Detail

      • register

        @OpenApi
        default void register​(Registration registration)
        Registers smart listener configurations to the specified type objects. Creates smart listeners for all existing model elements of the specified type.
        Parameters:
        registration - registration object.
      • unregister

        @OpenApi
        default void unregister​(Registration registration)
        Unregisters smart listener configurations from the specified type of objects.
        Parameters:
        registration - registration.
      • registerConfig

        @OpenApi
        @Deprecated(since="2022x Refresh1",
                    forRemoval=true)
        void registerConfig​(java.lang.Class<? extends Element> aClass,
                            java.util.Collection<SmartListenerConfig> configs,
                            java.beans.PropertyChangeListener listener)
        Deprecated, for removal: This API element is subject to removal in a future version.
        register(Registration) method should be used instead of this method.
        Registers smart listener configurations to the specified type objects. Creates smart listeners for all existing model elements of the specified type.
        Parameters:
        aClass - type of objects to that the smart listener configurations must be registered.
        configs - smart listener configurations.
        listener - property change listener that will receive property change events according to specified smart listener configurations.
      • unregisterConfig

        @OpenApi
        @Deprecated(since="2022x Refresh1",
                    forRemoval=true)
        void unregisterConfig​(java.lang.Class<? extends Element> aClass,
                              java.util.Collection<SmartListenerConfig> configs,
                              java.beans.PropertyChangeListener listener)
        Deprecated, for removal: This API element is subject to removal in a future version.
        unregister(Registration) method should be used instead of this method.
        Unregisters smart listener configurations from the specified type of objects.
        Parameters:
        aClass - type of object.
        configs - smart listener configurations.
        listener - property change listener.