Interface IComponentsProvider


@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface IComponentsProvider
The components provider interface.
Since:
27

*********************************
EXPERIMENTAL - Subject to change
********************************

Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.

  • Method Details

    • getAllComponents

      List<IComponentInfo> getAllComponents(URL editorUrl)
      Get all components from the editor of the specified URL.
      Parameters:
      editorUrl - The editor URL.
      Returns:
      The list of components. Might be null if the editor is not opened for editing in TEXT page.
    • getAllNamespaces

      List<INamespaceInfo> getAllNamespaces(URL editorUrl)
      Get all namespaces from the editor of the specified URL.
      Parameters:
      editorUrl - The editor URL.
      Returns:
      The list of namespaces. Might be null if the editor is not opened for editing in TEXT page.