Class TabbedModeLayoutLoaderConfig

java.lang.Object
io.jmix.tabbedmode.xml.layout.TabbedModeLayoutLoaderConfig
All Implemented Interfaces:
LoaderConfig

@Order(900) @Component("tabmod_TabbedModeLayoutLoaderConfig") public class TabbedModeLayoutLoaderConfig extends Object implements LoaderConfig
  • Constructor Details

    • TabbedModeLayoutLoaderConfig

      public TabbedModeLayoutLoaderConfig()
  • Method Details

    • supports

      public boolean supports(org.dom4j.Element element)
      Description copied from interface: LoaderConfig
      Checks whether the config contains a loader that supports the given element.
      Specified by:
      supports in interface LoaderConfig
      Parameters:
      element - element
      Returns:
      true if the config contains suitable loader, of false otherwise
    • getLoader

      public Class<? extends ComponentLoader> getLoader(org.dom4j.Element element)
      Specified by:
      getLoader in interface LoaderConfig
      Parameters:
      element - element to load
      Returns:
      ComponentLoader instance
    • getViewLoader

      @Nullable public Class<? extends ComponentLoader> getViewLoader(org.dom4j.Element root)
      Specified by:
      getViewLoader in interface LoaderConfig
      Parameters:
      root - view's root element
      Returns:
      loader class for view or null if config does not support given root