Interface IEditorPagesRegistry

  • All Known Implementing Classes:
    EditorsPagesRegistry

    public interface IEditorPagesRegistry
    The DT granular editor pages registry.
    • Method Detail

      • getEditorPages

        List<EditorPageDescriptor> getEditorPages​(String editorId,
                                                  org.eclipse.emf.ecore.EObject object)
        Returns the DT granular editor pages by the editor id from the registry. Method checks registered pages enablement state according to page extension enablement description for the provided model object and returns enabled pages only.
        Parameters:
        editorId - the editor id, cannot be null
        object - the editor model object, cannot be null
        Returns:
        the editor pages list, never null, may be empty
      • getPage

        EditorPageDescriptor getPage​(String pageId)
        Returns the DT granular editor page by its id from the registry.
        Parameters:
        pageId - the page id, cannot be null
        Returns:
        the page or null if not founded