@Test public void checkReadGetsTextFromNameProperty() { provider.getText(element); verify(definition).getNameHolder(); verify(nameHolder).getValue(); }
@Override public String getText(final Element<? extends Definition> element) { final DRGElement drgElement = (DRGElement) DefinitionUtils.getElementDefinition(element); return drgElement.getNameHolder().getValue().getValue(); }
DRGElementTextPropertyProviderImpl implements TextPropertyProvider { @Override public String getText(final Element<? extends Definition> element) { final DRGElement drgElement = (DRGElement) DefinitionUtils.getElementDefinition(element); return drgElement.getNameHolder().getValue().getValue(); } }
DRGElementTextPropertyProviderImpl implements TextPropertyProvider { @Override public String getText(final Element<? extends Definition> element) { final DRGElement drgElement = (DRGElement) DefinitionUtils.getElementDefinition(element); return drgElement.getNameHolder().getValue().getValue(); } DRGElementTextPropertyProviderImpl(); @Inject  DRGElementTextPropertyProviderImpl(final @DMNEditor DefaultCanvasCommandFactory canvasCommandFactory,
                                              final DefinitionUtils definitionUtils); }
DRGElementTextPropertyProviderImpl implements TextPropertyProvider { @Override public String getText(final Element<? extends Definition> element) { final DRGElement drgElement = (DRGElement) DefinitionUtils.getElementDefinition(element); return drgElement.getNameHolder().getValue().getValue(); } DRGElementTextPropertyProviderImpl(); @Inject  DRGElementTextPropertyProviderImpl(final @DMNEditor DefaultCanvasCommandFactory canvasCommandFactory,
                                              final DefinitionUtils definitionUtils); @Override int getPriority(); @Override boolean supports(final Element<? extends Definition> element); @Override String getText(final Element<? extends Definition> element); @Override void setText(final AbstractCanvasHandler canvasHandler,
                        final CanvasCommandManager<AbstractCanvasHandler> commandManager,
                        final Element<? extends Definition> element,
                        final String text); }
DRGElementTextPropertyProviderImpl implements TextPropertyProvider { @Override public String getText(final Element<? extends Definition> element) { final DRGElement drgElement = (DRGElement) DefinitionUtils.getElementDefinition(element); return drgElement.getNameHolder().getValue().getValue(); } DRGElementTextPropertyProviderImpl(); @Inject  DRGElementTextPropertyProviderImpl(final @DMNEditor DefaultCanvasCommandFactory canvasCommandFactory,
                                              final DefinitionUtils definitionUtils); @Override int getPriority(); @Override boolean supports(final Element<? extends Definition> element); @Override String getText(final Element<? extends Definition> element); @Override void setText(final AbstractCanvasHandler canvasHandler,
                        final CanvasCommandManager<AbstractCanvasHandler> commandManager,
                        final Element<? extends Definition> element,
                        final String text);  }