Class PerspectiveCoordinator


  • @ApplicationScoped
    public class PerspectiveCoordinator
    extends Object
    It holds the set of Displayer instances being displayed on the current perspective.

    It also makes sure those instances are properly synced to reflect the data set manipulation requests issued by any Displayer on the dashboard.

    • Constructor Detail

      • PerspectiveCoordinator

        public PerspectiveCoordinator()
      • PerspectiveCoordinator

        @Inject
        public PerspectiveCoordinator​(org.dashbuilder.displayer.client.DisplayerCoordinator coordinator)
    • Method Detail

      • addDisplayer

        public void addDisplayer​(org.dashbuilder.displayer.client.Displayer displayer)
        Adds a Displayer instance to the current perspective context.
      • removeDisplayer

        public boolean removeDisplayer​(org.dashbuilder.displayer.client.Displayer displayer)
        Removes a Displayer instance from the current perspective context.
      • getDisplayerList

        public List<org.dashbuilder.displayer.client.Displayer> getDisplayerList()
        Returns:
        the current list of displayers
      • editOn

        public void editOn()
        Turn on the edition of the perspective
      • editOff

        public void editOff()
        Turn off the edition of the perspective