test_class.file: dashbuilder-client/dashbuilder-renderers/dashbuilder-renderer-default/src/test/java/org/dashbuilder/renderer/client/selector/SelectorDisplayerTest.java
test_class.identifier: SelectorDisplayerTest
test_class.superclass: extends AbstractDisplayerTest
test_case.body: @Test
      public void testDraw() {
          DisplayerSettings departmentList = DisplayerSettingsFactory.newSelectorSettings()
                  .dataset(EXPENSES)
                  .group(COLUMN_DEPARTMENT)
                  .column(COLUMN_DEPARTMENT)
                  .column(COLUMN_ID, AggregateFunctionType.COUNT)
                  .filterOn(false, true, false)
                  .buildSettings();
  
          SelectorDisplayer presenter = createSelectorDisplayer(departmentList);
          SelectorDisplayer.View view = presenter.getView();
          presenter.draw();
  
          verify(view).setFilterEnabled(true);
          verify(view).clearItems();
          verify(view).showSelectHint(COLUMN_DEPARTMENT);
          verify(view, times(5)).addItem(anyString(), anyString(), eq(false));
          verify(view, never()).showResetHint(anyString());
      }
test_case.class_method_signature: SelectorDisplayerTest.testDraw()
test_case.full_signature: @Test public void testDraw()
test_case.identifier: testDraw
test_case.invocations: buildSettings filterOn column column group dataset newSelectorSettings createSelectorDisplayer getView draw setFilterEnabled verify clearItems verify showSelectHint verify addItem verify times anyString anyString eq showResetHint verify never anyString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDraw()
focal_class.declarator: view
focal_class.modifier: protected
focal_class.original_string: protected View view;
focal_class.type: View
focal_class.var_name: view
focal_class.declarator: filterOn = false
focal_class.modifier: protected
focal_class.original_string: protected boolean filterOn = false;
focal_class.type: boolean
focal_class.var_name: filterOn
focal_class.file: dashbuilder-client/dashbuilder-renderers/dashbuilder-renderer-default/src/main/java/org/dashbuilder/renderer/client/selector/SelectorDisplayer.java
focal_class.identifier: SelectorDisplayer
focal_class.class_method_signature: SelectorDisplayer.SelectorDisplayer()
focal_class.full_signature: public  SelectorDisplayer()
focal_class.identifier: SelectorDisplayer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  SelectorDisplayer()
focal_class.class_method_signature: SelectorDisplayer.SelectorDisplayer(View view)
focal_class.full_signature: @Inject public  SelectorDisplayer(View view)
focal_class.identifier: SelectorDisplayer
focal_class.modifiers: @Inject public
focal_class.parameters: (View view)
focal_class.signature:  SelectorDisplayer(View view)
focal_class.class_method_signature: SelectorDisplayer.getView()
focal_class.full_signature: @Override public View getView()
focal_class.identifier: getView
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: View
focal_class.signature: View getView()
focal_class.class_method_signature: SelectorDisplayer.createDisplayerConstraints()
focal_class.full_signature: @Override public DisplayerConstraints createDisplayerConstraints()
focal_class.identifier: createDisplayerConstraints
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: DisplayerConstraints
focal_class.signature: DisplayerConstraints createDisplayerConstraints()
focal_class.class_method_signature: SelectorDisplayer.createVisualization()
focal_class.full_signature: @Override protected void createVisualization()
focal_class.identifier: createVisualization
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void createVisualization()
focal_class.class_method_signature: SelectorDisplayer.updateVisualization()
focal_class.full_signature: @Override protected void updateVisualization()
focal_class.identifier: updateVisualization
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void updateVisualization()
focal_class.class_method_signature: SelectorDisplayer.onItemSelected()
focal_class.full_signature: public void onItemSelected()
focal_class.identifier: onItemSelected
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onItemSelected()
focal_class.class_method_signature: SelectorDisplayer.onFilterEnabled(Displayer displayer, DataSetGroup groupOp)
focal_class.full_signature: @Override public void onFilterEnabled(Displayer displayer, DataSetGroup groupOp)
focal_class.identifier: onFilterEnabled
focal_class.modifiers: @Override public
focal_class.parameters: (Displayer displayer, DataSetGroup groupOp)
focal_class.return: void
focal_class.signature: void onFilterEnabled(Displayer displayer, DataSetGroup groupOp)
focal_class.class_method_signature: SelectorDisplayer.onFilterReset(Displayer displayer, List<DataSetGroup> groupOps)
focal_class.full_signature: @Override public void onFilterReset(Displayer displayer, List<DataSetGroup> groupOps)
focal_class.identifier: onFilterReset
focal_class.modifiers: @Override public
focal_class.parameters: (Displayer displayer, List<DataSetGroup> groupOps)
focal_class.return: void
focal_class.signature: void onFilterReset(Displayer displayer, List<DataSetGroup> groupOps)
focal_class.superclass: extends AbstractGwtDisplayer<SelectorDisplayer.View>
focal_method.body: @Override
      public View getView() {
          return view;
      }
focal_method.class_method_signature: SelectorDisplayer.getView()
focal_method.full_signature: @Override public View getView()
focal_method.identifier: getView
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: View
focal_method.signature: View getView()