Class DisplayerCoordinator


  • @Dependent
    public class DisplayerCoordinator
    extends Object
    The coordinator class holds a list of Displayer instances and it makes sure that the data shared among all of them is properly synced. This means every time a data display modification request comes from any of the displayer components the rest are updated to reflect those changes.
    • Constructor Detail

      • DisplayerCoordinator

        @Inject
        public DisplayerCoordinator​(RendererManager rendererManager)
    • Method Detail

      • addDisplayers

        public void addDisplayers​(Displayer... displayers)
      • addDisplayer

        public void addDisplayer​(Displayer displayer)
      • removeDisplayer

        public boolean removeDisplayer​(Displayer displayer)
      • drawAll

        public void drawAll()
      • redrawAll

        public void redrawAll()
      • drawAll

        public void drawAll​(org.uberfire.mvp.Command onSuccess,
                            org.uberfire.mvp.Command onFailure)
      • redrawAll

        public void redrawAll​(org.uberfire.mvp.Command onSuccess,
                              org.uberfire.mvp.Command onFailure)
      • closeAll

        public void closeAll()
      • clear

        public void clear()
      • addNotificationVeto

        public void addNotificationVeto​(Displayer target,
                                        List<Displayer> vetoedDisplayers)
      • addNotificationVeto

        public void addNotificationVeto​(List<Displayer> vetoedDisplayers)
      • isNotificationVetoed

        public boolean isNotificationVetoed​(Displayer from,
                                            Displayer to)