Interface IEditorPagesRegistry
-
- All Known Implementing Classes:
EditorsPagesRegistry
public interface IEditorPagesRegistry
The DT granular editor pages registry.
-
-
Field Summary
Fields Modifier and Type Field Description static EditorsPagesRegistry
INSTANCE
The shared instance of pages registry.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<EditorPageDescriptor>
getEditorPages(String editorId, org.eclipse.emf.ecore.EObject object)
Returns the DT granular editor pages by the editor id from the registry.EditorPageDescriptor
getPage(String pageId)
Returns the DT granular editor page by its id from the registry.
-
-
-
Field Detail
-
INSTANCE
static final EditorsPagesRegistry INSTANCE
The shared instance of 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 benull
object
- the editor model object, cannot benull
- 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 benull
- Returns:
- the page or
null
if not founded
-
-