Class SectionManager<T>


  • @Dependent
    public class SectionManager<T>
    extends Object
    • Constructor Detail

      • SectionManager

        @Inject
        public SectionManager​(MenuItemsListPresenter<T> menuItemsListPresenter,
                              org.uberfire.client.promise.Promises promises,
                              org.jboss.errai.common.client.dom.elemental2.Elemental2DomUtil elemental2DomUtil)
    • Method Detail

      • init

        public void init​(List<Section<T>> sections,
                         elemental2.dom.HTMLElement menuItemsContainer,
                         elemental2.dom.HTMLElement contentContainer)
      • goTo

        public elemental2.promise.Promise<Void> goTo​(Section<T> section)
      • goToFirstAvailable

        public elemental2.promise.Promise<Void> goToFirstAvailable()
      • goToCurrentSection

        public elemental2.promise.Promise<Void> goToCurrentSection()
      • validateAll

        public elemental2.promise.Promise<Object> validateAll()
      • remove

        public void remove​(Section<T> section)
      • resetAllDirtyIndicators

        public elemental2.promise.Promise<Void> resetAllDirtyIndicators()
      • resetDirtyIndicator

        public void resetDirtyIndicator​(Section<T> section)
      • updateDirtyIndicator

        public void updateDirtyIndicator​(Section<T> section)
      • manages

        public boolean manages​(Section<T> section)
      • isEmpty

        public boolean isEmpty()
      • getCurrentSection

        public Section<T> getCurrentSection()
      • hasDirtySections

        public boolean hasDirtySections()