test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock
      DisplayerHtmlEditor.View view;
test_class.type: DisplayerHtmlEditor.View
test_class.var_name: view
test_class.declarator: codeEditor
test_class.modifier: @Mock
test_class.original_string: @Mock
      SourceCodeEditor codeEditor;
test_class.type: SourceCodeEditor
test_class.var_name: codeEditor
test_class.declarator: constraints
test_class.modifier: @Mock
test_class.original_string: @Mock
      DisplayerConstraints constraints;
test_class.type: DisplayerConstraints
test_class.var_name: constraints
test_class.declarator: displayer
test_class.modifier: @Mock
test_class.original_string: @Mock
      Displayer displayer;
test_class.type: Displayer
test_class.var_name: displayer
test_class.declarator: presenter
test_class.original_string: DisplayerHtmlEditor presenter;
test_class.type: DisplayerHtmlEditor
test_class.var_name: presenter
test_class.file: dashbuilder-client/dashbuilder-displayer-client/src/test/java/org/dashbuilder/displayer/client/widgets/DisplayerHtmlEditorTest.java
test_class.identifier: DisplayerHtmlEditorTest
test_case.body: @Test
      public void testInit() {
          verify(view).showDisplayer(displayer);
          verify(codeEditor, never()).init(any(), any(), any(), any());
      }
test_case.class_method_signature: DisplayerHtmlEditorTest.testInit()
test_case.full_signature: @Test public void testInit()
test_case.identifier: testInit
test_case.invocations: showDisplayer verify init verify never any any any any
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInit()
focal_class.declarator: displayer
focal_class.original_string: Displayer displayer;
focal_class.type: Displayer
focal_class.var_name: displayer
focal_class.declarator: view
focal_class.original_string: View view;
focal_class.type: View
focal_class.var_name: view
focal_class.declarator: sourceCodeEditor
focal_class.original_string: SourceCodeEditor sourceCodeEditor;
focal_class.type: SourceCodeEditor
focal_class.var_name: sourceCodeEditor
focal_class.declarator: sourceCodeItems = new HashSet<>()
focal_class.original_string: Set<SourceCodeItem> sourceCodeItems = new HashSet<>();
focal_class.type: Set<SourceCodeItem>
focal_class.var_name: sourceCodeItems
focal_class.declarator: selectedSourceCodeItem = null
focal_class.original_string: SourceCodeItem selectedSourceCodeItem = null;
focal_class.type: SourceCodeItem
focal_class.var_name: selectedSourceCodeItem
focal_class.declarator: showingDisplayer = true
focal_class.original_string: boolean showingDisplayer = true;
focal_class.type: boolean
focal_class.var_name: showingDisplayer
focal_class.file: dashbuilder-client/dashbuilder-displayer-client/src/main/java/org/dashbuilder/displayer/client/widgets/DisplayerHtmlEditor.java
focal_class.identifier: DisplayerHtmlEditor
focal_class.interfaces: implements IsWidget
focal_class.class_method_signature: DisplayerHtmlEditor.DisplayerHtmlEditor(View view, SourceCodeEditor sourceCodeEditor)
focal_class.full_signature: @Inject public  DisplayerHtmlEditor(View view, SourceCodeEditor sourceCodeEditor)
focal_class.identifier: DisplayerHtmlEditor
focal_class.modifiers: @Inject public
focal_class.parameters: (View view, SourceCodeEditor sourceCodeEditor)
focal_class.signature:  DisplayerHtmlEditor(View view, SourceCodeEditor sourceCodeEditor)
focal_class.class_method_signature: DisplayerHtmlEditor.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: DisplayerHtmlEditor.getDisplayer()
focal_class.full_signature: public Displayer getDisplayer()
focal_class.identifier: getDisplayer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Displayer
focal_class.signature: Displayer getDisplayer()
focal_class.class_method_signature: DisplayerHtmlEditor.setDisplayer(Displayer displayer)
focal_class.full_signature: public void setDisplayer(Displayer displayer)
focal_class.identifier: setDisplayer
focal_class.modifiers: public
focal_class.parameters: (Displayer displayer)
focal_class.return: void
focal_class.signature: void setDisplayer(Displayer displayer)
focal_class.class_method_signature: DisplayerHtmlEditor.showDisplayer()
focal_class.full_signature: public boolean showDisplayer()
focal_class.identifier: showDisplayer
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean showDisplayer()
focal_class.class_method_signature: DisplayerHtmlEditor.initSourceCodeItems()
focal_class.full_signature: public void initSourceCodeItems()
focal_class.identifier: initSourceCodeItems
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initSourceCodeItems()
focal_class.class_method_signature: DisplayerHtmlEditor.getSourceCodeItem(String name)
focal_class.full_signature: public SourceCodeItem getSourceCodeItem(String name)
focal_class.identifier: getSourceCodeItem
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: SourceCodeItem
focal_class.signature: SourceCodeItem getSourceCodeItem(String name)
focal_class.class_method_signature: DisplayerHtmlEditor.onSourceCodeItemSelected(String name)
focal_class.full_signature: public boolean onSourceCodeItemSelected(String name)
focal_class.identifier: onSourceCodeItemSelected
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.return: boolean
focal_class.signature: boolean onSourceCodeItemSelected(String name)
focal_class.class_method_signature: DisplayerHtmlEditor.onSourceCodeChanged()
focal_class.full_signature: public void onSourceCodeChanged()
focal_class.identifier: onSourceCodeChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onSourceCodeChanged()
focal_method.body: public boolean showDisplayer() {
          if (sourceCodeEditor.hasErrors()) {
              sourceCodeEditor.focus();
              return false;
          }
          view.showDisplayer(displayer);
          showingDisplayer = true;
          displayer.redraw();
          return true;
      }
focal_method.class_method_signature: DisplayerHtmlEditor.showDisplayer()
focal_method.full_signature: public boolean showDisplayer()
focal_method.identifier: showDisplayer
focal_method.invocations: hasErrors focus showDisplayer redraw
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean showDisplayer()