test_class.declarator: cacheEnabled
test_class.modifier: @Mock
test_class.original_string: @Mock ToggleSwitchEditor cacheEnabled;
test_class.type: ToggleSwitchEditor
test_class.var_name: cacheEnabled
test_class.declarator: cacheMaxRows
test_class.modifier: @Mock
test_class.original_string: @Mock ValueBoxEditor<Integer> cacheMaxRows;
test_class.type: ValueBoxEditor<Integer>
test_class.var_name: cacheMaxRows
test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock DataSetDefCacheAttributesEditorView view;
test_class.type: DataSetDefCacheAttributesEditorView
test_class.var_name: view
test_class.declarator: presenter
test_class.modifier: private
test_class.original_string: private DataSetDefBackendCacheAttributesEditor presenter;
test_class.type: DataSetDefBackendCacheAttributesEditor
test_class.var_name: presenter
test_class.file: dashbuilder-client/dashbuilder-widgets/src/test/java/org/dashbuilder/client/widgets/dataset/editor/attributes/DataSetDefBackendCacheAttributesEditorTest.java
test_class.identifier: DataSetDefBackendCacheAttributesEditorTest
test_case.body: @Test
      public void testInit() {
          presenter.init();
          verify(cacheMaxRows, times(1)).addHelpContent(anyString(), anyString(), any(Placement.class));
          verify(view, times(1)).init(any(DataSetDefCacheAttributesEditorView.ViewCallback.class));
          verify(view, times(1)).init(anyString(), anyString(), any(IsWidget.class), any(ValueBoxEditor.View.class));
          verify(view, times(0)).setRange(anyDouble(), anyDouble());
          verify(view, times(0)).setValue(anyDouble());
          verify(view, times(0)).setEnabled(anyBoolean());
      }
test_case.class_method_signature: DataSetDefBackendCacheAttributesEditorTest.testInit()
test_case.full_signature: @Test public void testInit()
test_case.identifier: testInit
test_case.invocations: init addHelpContent verify times anyString anyString any init verify times any init verify times anyString anyString any any setRange verify times anyDouble anyDouble setValue verify times anyDouble setEnabled verify times anyBoolean
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInit()
focal_class.declarator: cacheEnabled
focal_class.original_string: ToggleSwitchEditor cacheEnabled;
focal_class.type: ToggleSwitchEditor
focal_class.var_name: cacheEnabled
focal_class.declarator: cacheMaxRows
focal_class.original_string: ValueBoxEditor<Integer> cacheMaxRows;
focal_class.type: ValueBoxEditor<Integer>
focal_class.var_name: cacheMaxRows
focal_class.declarator: view
focal_class.modifier: public
focal_class.original_string: public DataSetDefCacheAttributesEditorView view;
focal_class.type: DataSetDefCacheAttributesEditorView
focal_class.var_name: view
focal_class.declarator: viewCallback = new DataSetDefCacheAttributesEditorView.ViewCallback() {
          @Override
          public void onValueChange(final Double value) {
              cacheMaxRows.setValue(value != null ? value.intValue() : 100);
          }
      }
focal_class.modifier: final
focal_class.original_string: final DataSetDefCacheAttributesEditorView.ViewCallback viewCallback = new DataSetDefCacheAttributesEditorView.ViewCallback() {
          @Override
          public void onValueChange(final Double value) {
              cacheMaxRows.setValue(value != null ? value.intValue() : 100);
          }
      };
focal_class.type: DataSetDefCacheAttributesEditorView.ViewCallback
focal_class.var_name: viewCallback
focal_class.file: dashbuilder-client/dashbuilder-widgets/src/main/java/org/dashbuilder/client/widgets/dataset/editor/attributes/DataSetDefBackendCacheAttributesEditor.java
focal_class.identifier: DataSetDefBackendCacheAttributesEditor
focal_class.interfaces: implements IsWidget,
                                                                 org.dashbuilder.dataset.client.editor.DataSetDefBackendCacheAttributesEditor
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.DataSetDefBackendCacheAttributesEditor(final ToggleSwitchEditor cacheEnabled,
                                                    final ValueBoxEditor<Integer> cacheMaxRows,
                                                    final DataSetDefCacheAttributesEditorView view)
focal_class.full_signature: @Inject public  DataSetDefBackendCacheAttributesEditor(final ToggleSwitchEditor cacheEnabled,
                                                    final ValueBoxEditor<Integer> cacheMaxRows,
                                                    final DataSetDefCacheAttributesEditorView view)
focal_class.identifier: DataSetDefBackendCacheAttributesEditor
focal_class.modifiers: @Inject public
focal_class.parameters: (final ToggleSwitchEditor cacheEnabled,
                                                    final ValueBoxEditor<Integer> cacheMaxRows,
                                                    final DataSetDefCacheAttributesEditorView view)
focal_class.signature:  DataSetDefBackendCacheAttributesEditor(final ToggleSwitchEditor cacheEnabled,
                                                    final ValueBoxEditor<Integer> cacheMaxRows,
                                                    final DataSetDefCacheAttributesEditorView view)
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.init()
focal_class.full_signature: @PostConstruct public void init()
focal_class.identifier: init
focal_class.modifiers: @PostConstruct public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.setRange(final Double min,
                           final Double max)
focal_class.full_signature: public void setRange(final Double min,
                           final Double max)
focal_class.identifier: setRange
focal_class.modifiers: public
focal_class.parameters: (final Double min,
                           final Double max)
focal_class.return: void
focal_class.signature: void setRange(final Double min,
                           final Double max)
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.asWidget()
focal_class.full_signature: @Override public Widget asWidget()
focal_class.identifier: asWidget
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Widget
focal_class.signature: Widget asWidget()
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.cacheEnabled()
focal_class.full_signature: @Override public ToggleSwitchEditor cacheEnabled()
focal_class.identifier: cacheEnabled
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ToggleSwitchEditor
focal_class.signature: ToggleSwitchEditor cacheEnabled()
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.cacheMaxRows()
focal_class.full_signature: @Override public ValueBoxEditor<Integer> cacheMaxRows()
focal_class.identifier: cacheMaxRows
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: ValueBoxEditor<Integer>
focal_class.signature: ValueBoxEditor<Integer> cacheMaxRows()
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.flush()
focal_class.full_signature: @Override public void flush()
focal_class.identifier: flush
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flush()
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.onPropertyChange(final String... paths)
focal_class.full_signature: @Override public void onPropertyChange(final String... paths)
focal_class.identifier: onPropertyChange
focal_class.modifiers: @Override public
focal_class.parameters: (final String... paths)
focal_class.return: void
focal_class.signature: void onPropertyChange(final String... paths)
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.setValue(final DataSetDef value)
focal_class.full_signature: @Override public void setValue(final DataSetDef value)
focal_class.identifier: setValue
focal_class.modifiers: @Override public
focal_class.parameters: (final DataSetDef value)
focal_class.return: void
focal_class.signature: void setValue(final DataSetDef value)
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.setDelegate(final EditorDelegate<DataSetDef> delegate)
focal_class.full_signature: @Override public void setDelegate(final EditorDelegate<DataSetDef> delegate)
focal_class.identifier: setDelegate
focal_class.modifiers: @Override public
focal_class.parameters: (final EditorDelegate<DataSetDef> delegate)
focal_class.return: void
focal_class.signature: void setDelegate(final EditorDelegate<DataSetDef> delegate)
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.enable()
focal_class.full_signature:  void enable()
focal_class.identifier: enable
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void enable()
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.disable()
focal_class.full_signature:  void disable()
focal_class.identifier: disable
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void disable()
focal_class.class_method_signature: DataSetDefBackendCacheAttributesEditor.onEnabledChangedEvent(@Observes ValueChangeEvent<Boolean> valueChangeEvent)
focal_class.full_signature:  void onEnabledChangedEvent(@Observes ValueChangeEvent<Boolean> valueChangeEvent)
focal_class.identifier: onEnabledChangedEvent
focal_class.parameters: (@Observes ValueChangeEvent<Boolean> valueChangeEvent)
focal_class.return: void
focal_class.signature: void onEnabledChangedEvent(@Observes ValueChangeEvent<Boolean> valueChangeEvent)
focal_method.body: @PostConstruct
      public void init() {
          view.init(viewCallback);
          view.init(DataSetEditorConstants.INSTANCE.backendCache(),
                    DataSetEditorConstants.INSTANCE.rows(),
                    cacheEnabled.asWidget(),
                    cacheMaxRows.view);
          cacheMaxRows.addHelpContent(DataSetEditorConstants.INSTANCE.attributeMaxRows(),
                                      DataSetEditorConstants.INSTANCE.attributeMaxRows_description(),
                                      Placement.BOTTOM);
      }
focal_method.class_method_signature: DataSetDefBackendCacheAttributesEditor.init()
focal_method.full_signature: @PostConstruct public void init()
focal_method.identifier: init
focal_method.invocations: init init backendCache rows asWidget addHelpContent attributeMaxRows attributeMaxRows_description
focal_method.modifiers: @PostConstruct public
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void init()