@Test public void testGlyph() { assertEquals(EDGE_ID, tested.getGlyphId(canvasHandler, NODE_UUID)); tested.getGlyph(canvasHandler, NODE_UUID); verify(shapeFactory).getGlyph(EDGE_ID, AbstractToolboxAction.ToolboxGlyphConsumer.class); }
@Override protected String getGlyphId(final AbstractCanvasHandler canvasHandler, final String uuid) { return edgeId; }
CreateConnectorToolboxAction extends AbstractToolboxAction implements IsToolboxActionDraggable<AbstractCanvasHandler> { @Override protected String getGlyphId(final AbstractCanvasHandler canvasHandler, final String uuid) { return edgeId; } }
CreateConnectorToolboxAction extends AbstractToolboxAction implements IsToolboxActionDraggable<AbstractCanvasHandler> { @Override protected String getGlyphId(final AbstractCanvasHandler canvasHandler, final String uuid) { return edgeId; } @Inject  CreateConnectorToolboxAction(final DefinitionUtils definitionUtils,
                                        final ClientFactoryManager clientFactoryManager,
                                        final ClientTranslationService translationService,
                                        final ConnectorProxy connectorProxy); }
CreateConnectorToolboxAction extends AbstractToolboxAction implements IsToolboxActionDraggable<AbstractCanvasHandler> { @Override protected String getGlyphId(final AbstractCanvasHandler canvasHandler, final String uuid) { return edgeId; } @Inject  CreateConnectorToolboxAction(final DefinitionUtils definitionUtils,
                                        final ClientFactoryManager clientFactoryManager,
                                        final ClientTranslationService translationService,
                                        final ConnectorProxy connectorProxy); CreateConnectorToolboxAction setEdgeId(final String edgeId); String getEdgeId(); @Override ToolboxAction<AbstractCanvasHandler> onMouseClick(final AbstractCanvasHandler canvasHandler,
                                                             final String uuid,
                                                             final MouseClickEvent event); @Override ToolboxAction<AbstractCanvasHandler> onMoveStart(final AbstractCanvasHandler canvasHandler,
                                                            final String uuid,
                                                            final MouseMoveEvent event); @PreDestroy void destroy(); @Override int hashCode(); @Override boolean equals(final Object o); }
CreateConnectorToolboxAction extends AbstractToolboxAction implements IsToolboxActionDraggable<AbstractCanvasHandler> { @Override protected String getGlyphId(final AbstractCanvasHandler canvasHandler, final String uuid) { return edgeId; } @Inject  CreateConnectorToolboxAction(final DefinitionUtils definitionUtils,
                                        final ClientFactoryManager clientFactoryManager,
                                        final ClientTranslationService translationService,
                                        final ConnectorProxy connectorProxy); CreateConnectorToolboxAction setEdgeId(final String edgeId); String getEdgeId(); @Override ToolboxAction<AbstractCanvasHandler> onMouseClick(final AbstractCanvasHandler canvasHandler,
                                                             final String uuid,
                                                             final MouseClickEvent event); @Override ToolboxAction<AbstractCanvasHandler> onMoveStart(final AbstractCanvasHandler canvasHandler,
                                                            final String uuid,
                                                            final MouseMoveEvent event); @PreDestroy void destroy(); @Override int hashCode(); @Override boolean equals(final Object o);  }