@Test public void testInit() { presenter.init(); verify(view, times(1)).init(presenter); verify(view, times(1)).initWidgets(any(ValueBoxEditor.View.class), any(ValueBoxEditor.View.class)); verify(uuidEditor, times(1)).addHelpContent(anyString(), anyString(), any(Placement.class)); verify(nameEditor, times(1)).addHelpContent(anyString(), anyString(), any(Placement.class)); }
@PostConstruct public void init() { view.init(this); view.initWidgets(uuidEditor.view, nameEditor.view); uuidEditor.addHelpContent(DataSetEditorConstants.INSTANCE.attributeUUID(), DataSetEditorConstants.INSTANCE.attributeUUID_description(), Placement.BOTTOM); nameEditor.addHelpContent(DataSetEditorConstants.INSTANCE.attributeName(), DataSetEditorConstants.INSTANCE.attributeName_description(), Placement.BOTTOM); }
DataSetDefBasicAttributesEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefBasicAttributesEditor { @PostConstruct public void init() { view.init(this); view.initWidgets(uuidEditor.view, nameEditor.view); uuidEditor.addHelpContent(DataSetEditorConstants.INSTANCE.attributeUUID(), DataSetEditorConstants.INSTANCE.attributeUUID_description(), Placement.BOTTOM); nameEditor.addHelpContent(DataSetEditorConstants.INSTANCE.attributeName(), DataSetEditorConstants.INSTANCE.attributeName_description(), Placement.BOTTOM); } }
DataSetDefBasicAttributesEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefBasicAttributesEditor { @PostConstruct public void init() { view.init(this); view.initWidgets(uuidEditor.view, nameEditor.view); uuidEditor.addHelpContent(DataSetEditorConstants.INSTANCE.attributeUUID(), DataSetEditorConstants.INSTANCE.attributeUUID_description(), Placement.BOTTOM); nameEditor.addHelpContent(DataSetEditorConstants.INSTANCE.attributeName(), DataSetEditorConstants.INSTANCE.attributeName_description(), Placement.BOTTOM); } @Inject  DataSetDefBasicAttributesEditor(final ValueBoxEditor<String> uuidEditor,
                                           final ValueBoxEditor<String> nameEditor,
                                           final View view); }
DataSetDefBasicAttributesEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefBasicAttributesEditor { @PostConstruct public void init() { view.init(this); view.initWidgets(uuidEditor.view, nameEditor.view); uuidEditor.addHelpContent(DataSetEditorConstants.INSTANCE.attributeUUID(), DataSetEditorConstants.INSTANCE.attributeUUID_description(), Placement.BOTTOM); nameEditor.addHelpContent(DataSetEditorConstants.INSTANCE.attributeName(), DataSetEditorConstants.INSTANCE.attributeName_description(), Placement.BOTTOM); } @Inject  DataSetDefBasicAttributesEditor(final ValueBoxEditor<String> uuidEditor,
                                           final ValueBoxEditor<String> nameEditor,
                                           final View view); @PostConstruct void init(); @Override Widget asWidget(); @Override ValueBoxEditor<String> UUID(); @Override ValueBoxEditor<String> name(); }
DataSetDefBasicAttributesEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefBasicAttributesEditor { @PostConstruct public void init() { view.init(this); view.initWidgets(uuidEditor.view, nameEditor.view); uuidEditor.addHelpContent(DataSetEditorConstants.INSTANCE.attributeUUID(), DataSetEditorConstants.INSTANCE.attributeUUID_description(), Placement.BOTTOM); nameEditor.addHelpContent(DataSetEditorConstants.INSTANCE.attributeName(), DataSetEditorConstants.INSTANCE.attributeName_description(), Placement.BOTTOM); } @Inject  DataSetDefBasicAttributesEditor(final ValueBoxEditor<String> uuidEditor,
                                           final ValueBoxEditor<String> nameEditor,
                                           final View view); @PostConstruct void init(); @Override Widget asWidget(); @Override ValueBoxEditor<String> UUID(); @Override ValueBoxEditor<String> name(); public View view; }