test_class.declarator: byDepartment = DisplayerSettingsFactory.newPieChartSettings()
              .dataset(EXPENSES)
              .group(COLUMN_DEPARTMENT)
              .column(COLUMN_DEPARTMENT)
              .column(COLUMN_AMOUNT, SUM)
              .sort(COLUMN_DEPARTMENT, SortOrder.ASCENDING)
              .filterOn(false, true, true)
              .buildSettings()
test_class.original_string: DisplayerSettings byDepartment = DisplayerSettingsFactory.newPieChartSettings()
              .dataset(EXPENSES)
              .group(COLUMN_DEPARTMENT)
              .column(COLUMN_DEPARTMENT)
              .column(COLUMN_AMOUNT, SUM)
              .sort(COLUMN_DEPARTMENT, SortOrder.ASCENDING)
              .filterOn(false, true, true)
              .buildSettings();
test_class.type: DisplayerSettings
test_class.var_name: byDepartment
test_class.declarator: byDepartmentSelector = DisplayerSettingsFactory.newSelectorSettings()
              .dataset(EXPENSES)
              .group(COLUMN_DEPARTMENT)
              .column(COLUMN_DEPARTMENT)
              .column(COLUMN_AMOUNT, SUM)
              .sort(COLUMN_DEPARTMENT, SortOrder.ASCENDING)
              .filterOn(false, true, false)
              .buildSettings()
test_class.original_string: DisplayerSettings byDepartmentSelector = DisplayerSettingsFactory.newSelectorSettings()
              .dataset(EXPENSES)
              .group(COLUMN_DEPARTMENT)
              .column(COLUMN_DEPARTMENT)
              .column(COLUMN_AMOUNT, SUM)
              .sort(COLUMN_DEPARTMENT, SortOrder.ASCENDING)
              .filterOn(false, true, false)
              .buildSettings();
test_class.type: DisplayerSettings
test_class.var_name: byDepartmentSelector
test_class.declarator: byYear = DisplayerSettingsFactory.newBarChartSettings()
              .dataset(EXPENSES)
              .group(COLUMN_DATE).dynamic(DateIntervalType.YEAR, true)
              .column(COLUMN_DATE)
              .column(COLUMN_AMOUNT, SUM)
              .filterOn(false, true, true)
              .sort(COLUMN_DATE, SortOrder.ASCENDING)
              .buildSettings()
test_class.original_string: DisplayerSettings byYear = DisplayerSettingsFactory.newBarChartSettings()
              .dataset(EXPENSES)
              .group(COLUMN_DATE).dynamic(DateIntervalType.YEAR, true)
              .column(COLUMN_DATE)
              .column(COLUMN_AMOUNT, SUM)
              .filterOn(false, true, true)
              .sort(COLUMN_DATE, SortOrder.ASCENDING)
              .buildSettings();
test_class.type: DisplayerSettings
test_class.var_name: byYear
test_class.declarator: byQuarter = DisplayerSettingsFactory.newBarChartSettings()
              .dataset(EXPENSES)
              .filter(COLUMN_ID, FilterFactory.equalsTo(1))
              .group(COLUMN_DATE).fixed(DateIntervalType.QUARTER, false)
              .column(COLUMN_DATE)
              .column(COLUMN_AMOUNT, SUM)
              .filterOn(false, true, true)
              .sort(COLUMN_DATE, SortOrder.ASCENDING)
              .buildSettings()
test_class.original_string: DisplayerSettings byQuarter = DisplayerSettingsFactory.newBarChartSettings()
              .dataset(EXPENSES)
              .filter(COLUMN_ID, FilterFactory.equalsTo(1))
              .group(COLUMN_DATE).fixed(DateIntervalType.QUARTER, false)
              .column(COLUMN_DATE)
              .column(COLUMN_AMOUNT, SUM)
              .filterOn(false, true, true)
              .sort(COLUMN_DATE, SortOrder.ASCENDING)
              .buildSettings();
test_class.type: DisplayerSettings
test_class.var_name: byQuarter
test_class.declarator: allRows = DisplayerSettingsFactory.newTableSettings()
              .dataset(EXPENSES)
              .column(COLUMN_DEPARTMENT)
              .column(COLUMN_CITY)
              .column(COLUMN_EMPLOYEE)
              .column(COLUMN_AMOUNT)
              .column(COLUMN_DATE)
              .filterOn(true, false, true)
              .buildSettings()
test_class.original_string: DisplayerSettings allRows = DisplayerSettingsFactory.newTableSettings()
              .dataset(EXPENSES)
              .column(COLUMN_DEPARTMENT)
              .column(COLUMN_CITY)
              .column(COLUMN_EMPLOYEE)
              .column(COLUMN_AMOUNT)
              .column(COLUMN_DATE)
              .filterOn(true, false, true)
              .buildSettings();
test_class.type: DisplayerSettings
test_class.var_name: allRows
test_class.declarator: displayerCoordinator
test_class.original_string: DisplayerCoordinator displayerCoordinator;
test_class.type: DisplayerCoordinator
test_class.var_name: displayerCoordinator
test_class.declarator: allRowsTable
test_class.original_string: AbstractDisplayer allRowsTable;
test_class.type: AbstractDisplayer
test_class.var_name: allRowsTable
test_class.declarator: deptPieChart
test_class.original_string: AbstractDisplayer deptPieChart;
test_class.type: AbstractDisplayer
test_class.var_name: deptPieChart
test_class.declarator: deptSelector
test_class.original_string: AbstractDisplayer deptSelector;
test_class.type: AbstractDisplayer
test_class.var_name: deptSelector
test_class.declarator: yearBarChart
test_class.original_string: AbstractDisplayer yearBarChart;
test_class.type: AbstractDisplayer
test_class.var_name: yearBarChart
test_class.declarator: quarterPieChart
test_class.original_string: AbstractDisplayer quarterPieChart;
test_class.type: AbstractDisplayer
test_class.var_name: quarterPieChart
test_class.declarator: listener
test_class.modifier: @Mock
test_class.original_string: @Mock
      DisplayerListener listener;
test_class.type: DisplayerListener
test_class.var_name: listener
test_class.file: dashbuilder-client/dashbuilder-displayer-client/src/test/java/org/dashbuilder/displayer/client/DisplayerCoordinatorTest.java
test_class.identifier: DisplayerCoordinatorTest
test_class.superclass: extends AbstractDisplayerTest
test_case.body: @Test
      public void testFilterPropagations() {
          displayerCoordinator.drawAll();
  
          // Click on the "Engineering" slice
          reset(listener);
          deptPieChart.filterUpdate(COLUMN_DEPARTMENT, 0);
  
          // Check the allRowsTable receives the filter request
          DataSet dataSet = allRowsTable.getDataSetHandler().getLastDataSet();
          assertEquals(dataSet.getRowCount(), 19);
          verify(listener).onDataLookup(allRowsTable);
          verify(listener).onRedraw(allRowsTable);
      }
test_case.class_method_signature: DisplayerCoordinatorTest.testFilterPropagations()
test_case.full_signature: @Test public void testFilterPropagations()
test_case.identifier: testFilterPropagations
test_case.invocations: drawAll reset filterUpdate getLastDataSet getDataSetHandler assertEquals getRowCount onDataLookup verify onRedraw verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFilterPropagations()
focal_class.declarator: displayerList = new ArrayList<>()
focal_class.modifier: protected
focal_class.original_string: protected List<Displayer> displayerList = new ArrayList<>();
focal_class.type: List<Displayer>
focal_class.var_name: displayerList
focal_class.declarator: listenerSet = new HashSet<>()
focal_class.modifier: protected
focal_class.original_string: protected Set<DisplayerListener> listenerSet = new HashSet<>();
focal_class.type: Set<DisplayerListener>
focal_class.var_name: listenerSet
focal_class.declarator: rendererMap = new HashMap<>()
focal_class.modifier: protected
focal_class.original_string: protected Map<RendererLibrary,List<Displayer>> rendererMap = new HashMap<>();
focal_class.type: Map<RendererLibrary,List<Displayer>>
focal_class.var_name: rendererMap
focal_class.declarator: coordinatorListener = new CoordinatorListener()
focal_class.modifier: protected
focal_class.original_string: protected CoordinatorListener coordinatorListener = new CoordinatorListener();
focal_class.type: CoordinatorListener
focal_class.var_name: coordinatorListener
focal_class.declarator: notificationVetoMap = new HashMap<>()
focal_class.modifier: protected
focal_class.original_string: protected Map<Displayer,List<Displayer>> notificationVetoMap = new HashMap<>();
focal_class.type: Map<Displayer,List<Displayer>>
focal_class.var_name: notificationVetoMap
focal_class.declarator: rendererManager
focal_class.modifier: protected
focal_class.original_string: protected RendererManager rendererManager;
focal_class.type: RendererManager
focal_class.var_name: rendererManager
focal_class.file: dashbuilder-client/dashbuilder-displayer-client/src/main/java/org/dashbuilder/displayer/client/DisplayerCoordinator.java
focal_class.identifier: DisplayerCoordinator
focal_class.class_method_signature: DisplayerCoordinator.DisplayerCoordinator(RendererManager rendererManager)
focal_class.full_signature: @Inject public  DisplayerCoordinator(RendererManager rendererManager)
focal_class.identifier: DisplayerCoordinator
focal_class.modifiers: @Inject public
focal_class.parameters: (RendererManager rendererManager)
focal_class.signature:  DisplayerCoordinator(RendererManager rendererManager)
focal_class.class_method_signature: DisplayerCoordinator.addListener(DisplayerListener... listeners)
focal_class.full_signature: public void addListener(DisplayerListener... listeners)
focal_class.identifier: addListener
focal_class.modifiers: public
focal_class.parameters: (DisplayerListener... listeners)
focal_class.return: void
focal_class.signature: void addListener(DisplayerListener... listeners)
focal_class.class_method_signature: DisplayerCoordinator.addDisplayers(Collection<Displayer> displayers)
focal_class.full_signature: public void addDisplayers(Collection<Displayer> displayers)
focal_class.identifier: addDisplayers
focal_class.modifiers: public
focal_class.parameters: (Collection<Displayer> displayers)
focal_class.return: void
focal_class.signature: void addDisplayers(Collection<Displayer> displayers)
focal_class.class_method_signature: DisplayerCoordinator.addDisplayers(Displayer... displayers)
focal_class.full_signature: public void addDisplayers(Displayer... displayers)
focal_class.identifier: addDisplayers
focal_class.modifiers: public
focal_class.parameters: (Displayer... displayers)
focal_class.return: void
focal_class.signature: void addDisplayers(Displayer... displayers)
focal_class.class_method_signature: DisplayerCoordinator.addDisplayer(Displayer displayer)
focal_class.full_signature: public void addDisplayer(Displayer displayer)
focal_class.identifier: addDisplayer
focal_class.modifiers: public
focal_class.parameters: (Displayer displayer)
focal_class.return: void
focal_class.signature: void addDisplayer(Displayer displayer)
focal_class.class_method_signature: DisplayerCoordinator.getDisplayerList()
focal_class.full_signature: public List<Displayer> getDisplayerList()
focal_class.identifier: getDisplayerList
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Displayer>
focal_class.signature: List<Displayer> getDisplayerList()
focal_class.class_method_signature: DisplayerCoordinator.removeDisplayer(Displayer displayer)
focal_class.full_signature: public boolean removeDisplayer(Displayer displayer)
focal_class.identifier: removeDisplayer
focal_class.modifiers: public
focal_class.parameters: (Displayer displayer)
focal_class.return: boolean
focal_class.signature: boolean removeDisplayer(Displayer displayer)
focal_class.class_method_signature: DisplayerCoordinator.drawAll()
focal_class.full_signature: public void drawAll()
focal_class.identifier: drawAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void drawAll()
focal_class.class_method_signature: DisplayerCoordinator.redrawAll()
focal_class.full_signature: public void redrawAll()
focal_class.identifier: redrawAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void redrawAll()
focal_class.class_method_signature: DisplayerCoordinator.drawAll(Command onSuccess, Command onFailure)
focal_class.full_signature: public void drawAll(Command onSuccess, Command onFailure)
focal_class.identifier: drawAll
focal_class.modifiers: public
focal_class.parameters: (Command onSuccess, Command onFailure)
focal_class.return: void
focal_class.signature: void drawAll(Command onSuccess, Command onFailure)
focal_class.class_method_signature: DisplayerCoordinator.redrawAll(Command onSuccess, Command onFailure)
focal_class.full_signature: public void redrawAll(Command onSuccess, Command onFailure)
focal_class.identifier: redrawAll
focal_class.modifiers: public
focal_class.parameters: (Command onSuccess, Command onFailure)
focal_class.return: void
focal_class.signature: void redrawAll(Command onSuccess, Command onFailure)
focal_class.class_method_signature: DisplayerCoordinator.closeAll()
focal_class.full_signature: public void closeAll()
focal_class.identifier: closeAll
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void closeAll()
focal_class.class_method_signature: DisplayerCoordinator.clear()
focal_class.full_signature: public void clear()
focal_class.identifier: clear
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: DisplayerCoordinator.addNotificationVeto(Displayer target, List<Displayer> vetoedDisplayers)
focal_class.full_signature: public void addNotificationVeto(Displayer target, List<Displayer> vetoedDisplayers)
focal_class.identifier: addNotificationVeto
focal_class.modifiers: public
focal_class.parameters: (Displayer target, List<Displayer> vetoedDisplayers)
focal_class.return: void
focal_class.signature: void addNotificationVeto(Displayer target, List<Displayer> vetoedDisplayers)
focal_class.class_method_signature: DisplayerCoordinator.addNotificationVeto(List<Displayer> vetoedDisplayers)
focal_class.full_signature: public void addNotificationVeto(List<Displayer> vetoedDisplayers)
focal_class.identifier: addNotificationVeto
focal_class.modifiers: public
focal_class.parameters: (List<Displayer> vetoedDisplayers)
focal_class.return: void
focal_class.signature: void addNotificationVeto(List<Displayer> vetoedDisplayers)
focal_class.class_method_signature: DisplayerCoordinator.isNotificationVetoed(Displayer from, Displayer to)
focal_class.full_signature: public boolean isNotificationVetoed(Displayer from, Displayer to)
focal_class.identifier: isNotificationVetoed
focal_class.modifiers: public
focal_class.parameters: (Displayer from, Displayer to)
focal_class.return: boolean
focal_class.signature: boolean isNotificationVetoed(Displayer from, Displayer to)
focal_method.body: public void drawAll() {
          drawAll(null, null);
      }
focal_method.class_method_signature: DisplayerCoordinator.drawAll()
focal_method.full_signature: public void drawAll()
focal_method.identifier: drawAll
focal_method.invocations: drawAll
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void drawAll()