Interface Header

  • All Superinterfaces:
    org.jboss.errai.common.client.api.IsElement, org.jboss.errai.ui.client.local.api.IsElement, Orderable

    public interface Header
    extends org.jboss.errai.ui.client.local.api.IsElement, Orderable
    CDI beans that implement Header are automatically discovered and added to the top of the Workbench screen. They stick to the top of the viewport even when the main content area is scrolled up and down.

    To disable a particular header, you can use a BeanActivator. The bean activator would have to report that the bean is disabled very early in the workbench startup process, before ApplicationReadyEvent is fired. If you need to do an asynchronous check in your activator, use Workbench.addStartupBlocker(Class) to block startup until your activator obtains the data it needs. (The blocker could be registered in your entry point's @PostConstruct method).

    • Method Summary

      • Methods inherited from interface org.jboss.errai.ui.client.local.api.IsElement

        getElement