Class WebclientPlugin

    • Constructor Detail

      • WebclientPlugin

        public WebclientPlugin()
    • Method Detail

      • preCreateTopicType

        public void preCreateTopicType​(TopicTypeModel model)
        Add a default view config to the type in case no one is set.

        Note: the default view config needs a workspace assignment. The default view config must be added *before* the assignment can take place. Workspace assignment for a type (including its components like the view config) is performed by the type-introduction hook of the Workspaces module. Here we use the pre-create-type hook (instead of type-introduction too) as the pre-create-type hook is guaranteed to be invoked *before* type-introduction. On the other hand the order of type-introduction invocations is not deterministic accross plugins.

        Specified by:
        preCreateTopicType in interface PreCreateTopicType
      • preCreateAssocType

        public void preCreateAssocType​(AssocTypeModel model)
        Add a default view config to the type in case no one is set.

        Note: the default view config needs a workspace assignment. The default view config must be added *before* the assignment can take place. Workspace assignment for a type (including its components like the view config) is performed by the type-introduction hook of the Workspaces module. Here we use the pre-create-type hook (instead of type-introduction too) as the pre-create-type hook is guaranteed to be invoked *before* type-introduction. On the other hand the order of type-introduction invocations is not deterministic accross plugins.

        Specified by:
        preCreateAssocType in interface PreCreateAssocType
      • preCreateRoleType

        public void preCreateRoleType​(RoleTypeModel model)
        Add a default view config to the role type in case no one is set.

        Note: the default view config needs a workspace assignment. The default view config must be added *before* the assignment can take place. Workspace assignment for a role type (including its view config) is performed by the type-introduction hook of the Workspaces module. Here we use the pre-create-role-type hook (instead of type- introduction too) as the pre-create-role-type hook is guaranteed to be invoked *before* type-introduction. On the other hand the order of type-introduction invocations is not deterministic accross plugins.

        Specified by:
        preCreateRoleType in interface PreCreateRoleType