test_class.declarator: presenter
test_class.original_string: NumberParameterEditor presenter;
test_class.type: NumberParameterEditor
test_class.var_name: presenter
test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock
      NumberParameterEditor.View view;
test_class.type: NumberParameterEditor.View
test_class.var_name: view
test_class.declarator: changedEvent
test_class.modifier: @Mock
test_class.original_string: @Mock
      Command changedEvent;
test_class.type: Command
test_class.var_name: changedEvent
test_class.file: dashbuilder-client/dashbuilder-displayer-client/src/test/java/org/dashbuilder/displayer/client/widgets/filter/NumberParameterEditorTest.java
test_class.identifier: NumberParameterEditorTest
test_case.body: @Test
      public void testShowValue() {
          presenter.setValue(10d);
          verify(view).setValue("10.0");
      }
test_case.class_method_signature: NumberParameterEditorTest.testShowValue()
test_case.full_signature: @Test public void testShowValue()
test_case.identifier: testShowValue
test_case.invocations: setValue setValue verify
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testShowValue()
focal_class.declarator: onChangeCommand = () -> {}
focal_class.original_string: Command onChangeCommand = () -> {};
focal_class.type: Command
focal_class.var_name: onChangeCommand
focal_class.declarator: value
focal_class.original_string: Number value;
focal_class.type: Number
focal_class.var_name: value
focal_class.declarator: view
focal_class.original_string: View view;
focal_class.type: View
focal_class.var_name: view
focal_class.file: dashbuilder-client/dashbuilder-displayer-client/src/main/java/org/dashbuilder/displayer/client/widgets/filter/NumberParameterEditor.java
focal_class.identifier: NumberParameterEditor
focal_class.interfaces: implements FunctionParameterEditor
focal_class.class_method_signature: NumberParameterEditor.NumberParameterEditor(View view)
focal_class.full_signature: @Inject public  NumberParameterEditor(View view)
focal_class.identifier: NumberParameterEditor
focal_class.modifiers: @Inject public
focal_class.parameters: (View view)
focal_class.signature:  NumberParameterEditor(View view)
focal_class.class_method_signature: NumberParameterEditor.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: NumberParameterEditor.setOnChangeCommand(Command onChangeCommand)
focal_class.full_signature: public void setOnChangeCommand(Command onChangeCommand)
focal_class.identifier: setOnChangeCommand
focal_class.modifiers: public
focal_class.parameters: (Command onChangeCommand)
focal_class.return: void
focal_class.signature: void setOnChangeCommand(Command onChangeCommand)
focal_class.class_method_signature: NumberParameterEditor.getValue()
focal_class.full_signature: public Number getValue()
focal_class.identifier: getValue
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Number
focal_class.signature: Number getValue()
focal_class.class_method_signature: NumberParameterEditor.setValue(Number input)
focal_class.full_signature: public void setValue(Number input)
focal_class.identifier: setValue
focal_class.modifiers: public
focal_class.parameters: (Number input)
focal_class.return: void
focal_class.signature: void setValue(Number input)
focal_class.class_method_signature: NumberParameterEditor.setWidth(int width)
focal_class.full_signature: public void setWidth(int width)
focal_class.identifier: setWidth
focal_class.modifiers: public
focal_class.parameters: (int width)
focal_class.return: void
focal_class.signature: void setWidth(int width)
focal_class.class_method_signature: NumberParameterEditor.setFocus(boolean focus)
focal_class.full_signature: @Override public void setFocus(boolean focus)
focal_class.identifier: setFocus
focal_class.modifiers: @Override public
focal_class.parameters: (boolean focus)
focal_class.return: void
focal_class.signature: void setFocus(boolean focus)
focal_class.class_method_signature: NumberParameterEditor.valueChanged()
focal_class.full_signature:  void valueChanged()
focal_class.identifier: valueChanged
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void valueChanged()
focal_class.class_method_signature: NumberParameterEditor.parse(String s)
focal_class.full_signature: public Number parse(String s)
focal_class.identifier: parse
focal_class.modifiers: public
focal_class.parameters: (String s)
focal_class.return: Number
focal_class.signature: Number parse(String s)
focal_class.class_method_signature: NumberParameterEditor.format(Number n)
focal_class.full_signature: public String format(Number n)
focal_class.identifier: format
focal_class.modifiers: public
focal_class.parameters: (Number n)
focal_class.return: String
focal_class.signature: String format(Number n)
focal_method.body: public void setValue(Number input) {
          Command backup = onChangeCommand;
          try {
              onChangeCommand = null;
              value = input;
              view.setValue(format(value));
          } finally {
              onChangeCommand = backup;
          }
      }
focal_method.class_method_signature: NumberParameterEditor.setValue(Number input)
focal_method.full_signature: public void setValue(Number input)
focal_method.identifier: setValue
focal_method.invocations: setValue format
focal_method.modifiers: public
focal_method.parameters: (Number input)
focal_method.return: void
focal_method.signature: void setValue(Number input)