private boolean createPageForInput(@NotNull IEditorInput editorInput) {
        if (editorInput instanceof DatabaseLazyEditorInput input) {
            try {
                addPage(new ProgressEditorPart(this), input);
                setPageText(0, input.canLoadImmediately()
                    ? UINavigatorMessages.editors_entity_title_initializing
                    : UINavigatorMessages.editors_entity_title_uninitialized);
                setPageImage(0, DBeaverIcons.getImage(UIIcon.REFRESH));
                setActivePage(0);
            } catch (PartInitException e) {
                log.error(e);
            }

            return true;
        } else if (editorInput instanceof ErrorEditorInput input) {
            try {
                addPage(new ErrorEditorPartEx(input.getError()), input);
                setPageText(0, "Error");
                setPageImage(0, UIUtils.getShardImage(ISharedImages.IMG_OBJS_ERROR_TSK));
                setActivePage(0);
            } catch (PartInitException e) {
                log.error(e);
            }

            return true;
        }

        return false;
    }
Saves data in all nested editors
@param monitor progress monitor
plugins/org.jkiss.dbeaver.ui.navigator/src/org/jkiss/dbeaver/ui/editors/entity/EntityEditor.java