Class EditorsPagesRegistry
- java.lang.Object
-
- com._1c.g5.v8.dt.md.ui.editor.base.EditorsPagesRegistry
-
- All Implemented Interfaces:
IEditorPagesRegistry
public class EditorsPagesRegistry extends Object implements IEditorPagesRegistry
Implementation ofIEditorsPagesRegistry
.
-
-
Field Summary
-
Fields inherited from interface com._1c.g5.v8.dt.md.ui.editor.base.IEditorPagesRegistry
INSTANCE
-
-
Constructor Summary
Constructors Constructor Description EditorsPagesRegistry()
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Method Detail
-
getEditorPages
public List<EditorPageDescriptor> getEditorPages(String editorId, org.eclipse.emf.ecore.EObject object)
Description copied from interface:IEditorPagesRegistry
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.- Specified by:
getEditorPages
in interfaceIEditorPagesRegistry
- 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
public EditorPageDescriptor getPage(String pageId)
Description copied from interface:IEditorPagesRegistry
Returns the DT granular editor page by its id from the registry.- Specified by:
getPage
in interfaceIEditorPagesRegistry
- Parameters:
pageId
- the page id, cannot benull
- Returns:
- the page or
null
if not founded
-
-