@Test public void checkReadGetsNameFromPropertyMetaData() { provider.getText(element); verify(definitionUtils).getName(eq(definition)); }
@Override public String getText(final Element<? extends Definition> element) { return definitionUtils.getName(element.getContent().getDefinition()); }
DefaultTextPropertyProviderImpl implements TextPropertyProvider { @Override public String getText(final Element<? extends Definition> element) { return definitionUtils.getName(element.getContent().getDefinition()); } }
DefaultTextPropertyProviderImpl implements TextPropertyProvider { @Override public String getText(final Element<? extends Definition> element) { return definitionUtils.getName(element.getContent().getDefinition()); } DefaultTextPropertyProviderImpl(); @Inject  DefaultTextPropertyProviderImpl(final DefinitionUtils definitionUtils,
                                           final CanvasCommandFactory<AbstractCanvasHandler> canvasCommandFactory); }
DefaultTextPropertyProviderImpl implements TextPropertyProvider { @Override public String getText(final Element<? extends Definition> element) { return definitionUtils.getName(element.getContent().getDefinition()); } DefaultTextPropertyProviderImpl(); @Inject  DefaultTextPropertyProviderImpl(final DefinitionUtils definitionUtils,
                                           final CanvasCommandFactory<AbstractCanvasHandler> canvasCommandFactory); @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); }
DefaultTextPropertyProviderImpl implements TextPropertyProvider { @Override public String getText(final Element<? extends Definition> element) { return definitionUtils.getName(element.getContent().getDefinition()); } DefaultTextPropertyProviderImpl(); @Inject  DefaultTextPropertyProviderImpl(final DefinitionUtils definitionUtils,
                                           final CanvasCommandFactory<AbstractCanvasHandler> canvasCommandFactory); @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);  }