Class ToolBarModelSupport

java.lang.Object
it.tidalwave.role.ui.spi.ToolBarModelSupport
All Implemented Interfaces:
ToolBarModel, it.tidalwave.util.As
Direct Known Subclasses:
JavaFXToolBarModel

public abstract class ToolBarModelSupport extends Object implements ToolBarModel
A support implementation for ToolBarModel.
Author:
Fabrizio Giudici
  • Nested Class Summary

    Nested classes/interfaces inherited from interface it.tidalwave.util.As

    it.tidalwave.util.As.Type<T>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected Stream<? extends it.tidalwave.role.ui.UserAction>
    Finds the UserAction instances to be bound to toolbar buttons.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface it.tidalwave.util.As

    as, as, asMany, asMany, maybeAs, maybeAs

    Methods inherited from interface it.tidalwave.role.ui.ToolBarModel

    populate
  • Constructor Details

    • ToolBarModelSupport

      public ToolBarModelSupport()
  • Method Details

    • findToolBarUserActions

      @Nonnull protected Stream<? extends it.tidalwave.role.ui.UserAction> findToolBarUserActions()
      Finds the UserAction instances to be bound to toolbar buttons.
      Returns:
      the user actions