Interface IntroduceTopicType

  • All Superinterfaces:
    EventListener
    All Known Implementing Classes:
    WebclientPlugin, WorkspacesPlugin

    public interface IntroduceTopicType
    extends EventListener
    ### FIXDOC Allows a plugin to modify type definitions -- exisisting ones and future ones. Plugins get a opportunity to visit (and modify) each type definition extacly once.

    This hook is triggered in 2 situations:

    • for each type that exists already while a plugin clean install.
    • for types created (interactively by the user, or programmatically by a migration) after the plugin has been installed.
    This hook is typically used by plugins which provide cross-cutting concerns by affecting all type definitions of a DMX installation. Typically such a plugin adds new data fields to types or relates types with specific topics.

    Examples of plugins which use this hook:

    • The "DMX Workspaces" plugin adds a "Workspaces" field to all types.
    • The "DMX Time" plugin adds timestamp fields to all types.
    • The "DMX Access Control" plugin adds a "Creator" field to all types and relates them to a user.
    • Method Detail

      • introduceTopicType

        void introduceTopicType​(TopicType topicType)