@@ -0,0 +1,1791 @@
+package com.celements.structEditor.pagetypes;%0A%0Aimport javax.validation.constraints.NotNull;%0A%0Aimport org.xwiki.component.annotation.Component;%0Aimport org.xwiki.component.annotation.Requirement;%0Aimport org.xwiki.model.reference.SpaceReference;%0A%0Aimport com.celements.navigation.NavigationConfig;%0Aimport com.celements.navigation.NavigationConfig.Builder;%0Aimport com.celements.navigation.factories.JavaNavigationConfigurator;%0Aimport com.celements.pagetype.PageTypeReference;%0Aimport com.celements.pagetype.service.IPageTypeResolverRole;%0Aimport com.celements.web.service.IWebUtilsService;%0A%0A@Component(StructuredDataEditorNavigationConfigurator.CONFIGURATOR_NAME)%0Apublic class StructuredDataEditorNavigationConfigurator implements JavaNavigationConfigurator %7B%0A%0A  public static final String CONFIGURATOR_NAME = %22StructuredDataEditor%22;%0A%0A  private final static NavigationConfig defNavConfig;%0A  static %7B%0A    Builder b = new NavigationConfig.Builder();%0A    b.fromHierarchyLevel(1);%0A    b.toHierarchyLevel(1);%0A    b.cmCssClass(%22cel_cm_structured_data_editor%22);%0A    defNavConfig = b.build();%0A  %7D;%0A%0A  @Requirement%0A  IPageTypeResolverRole pageTypeResolver;%0A%0A  @Requirement%0A  IWebUtilsService webUtilsService;%0A%0A  @Override%0A  @NotNull%0A  public NavigationConfig getNavigationConfig(@NotNull PageTypeReference configReference) %7B%0A    String spaceName = pageTypeResolver.getPageTypeRefForCurrentDoc().getConfigName();%0A    SpaceReference editorConfigSpace = new SpaceReference(spaceName, webUtilsService.getWikiRef());%0A    Builder b = new NavigationConfig.Builder();%0A    b.nodeSpaceRef(editorConfigSpace);%0A    return defNavConfig.overlay(b.build());%0A  %7D%0A%0A  @Override%0A  public boolean handles(@NotNull PageTypeReference configReference) %7B%0A    return CONFIGURATOR_NAME.equals(configReference.getConfigName());%0A  %7D%0A%0A%7D%0A

add NavigationConfigurator