@Test public void testTitle() { assertEquals(TARGET_NODE_ID, tested.getTitleDefinitionId(canvasHandler, NODE_UUID)); tested.getTitle(canvasHandler, NODE_UUID); verify(translationService, times(1)).getValue(eq(CreateNodeToolboxAction.KEY_TITLE)); }
@Override protected String getTitleDefinitionId(final AbstractCanvasHandler canvasHandler, final String uuid) { return nodeId; }
CreateNodeToolboxAction extends AbstractToolboxAction implements IsToolboxActionDraggable<AbstractCanvasHandler> { @Override protected String getTitleDefinitionId(final AbstractCanvasHandler canvasHandler, final String uuid) { return nodeId; } }
CreateNodeToolboxAction extends AbstractToolboxAction implements IsToolboxActionDraggable<AbstractCanvasHandler> { @Override protected String getTitleDefinitionId(final AbstractCanvasHandler canvasHandler, final String uuid) { return nodeId; } @Inject  CreateNodeToolboxAction(final @Any ManagedInstance<GeneralCreateNodeAction> createNodeActions,
                                   final DefinitionUtils definitionUtils,
                                   final ClientTranslationService translationService,
                                   final ClientFactoryManager clientFactoryManager,
                                   final NodeProxy nodeProxy); }
CreateNodeToolboxAction extends AbstractToolboxAction implements IsToolboxActionDraggable<AbstractCanvasHandler> { @Override protected String getTitleDefinitionId(final AbstractCanvasHandler canvasHandler, final String uuid) { return nodeId; } @Inject  CreateNodeToolboxAction(final @Any ManagedInstance<GeneralCreateNodeAction> createNodeActions,
                                   final DefinitionUtils definitionUtils,
                                   final ClientTranslationService translationService,
                                   final ClientFactoryManager clientFactoryManager,
                                   final NodeProxy nodeProxy); String getNodeId(); CreateNodeToolboxAction setNodeId(final String nodeId); CreateNodeToolboxAction setEdgeId(final String edgeId); @Override @SuppressWarnings("unchecked") ToolboxAction<AbstractCanvasHandler> onMouseClick(final AbstractCanvasHandler canvasHandler,
                                                             final String uuid,
                                                             final MouseClickEvent event); @Override @SuppressWarnings("unchecked") ToolboxAction<AbstractCanvasHandler> onMoveStart(final AbstractCanvasHandler canvasHandler,
                                                            final String uuid,
                                                            final MouseMoveEvent event); @PreDestroy void destroy(); @Override int hashCode(); @Override boolean equals(final Object o); }
CreateNodeToolboxAction extends AbstractToolboxAction implements IsToolboxActionDraggable<AbstractCanvasHandler> { @Override protected String getTitleDefinitionId(final AbstractCanvasHandler canvasHandler, final String uuid) { return nodeId; } @Inject  CreateNodeToolboxAction(final @Any ManagedInstance<GeneralCreateNodeAction> createNodeActions,
                                   final DefinitionUtils definitionUtils,
                                   final ClientTranslationService translationService,
                                   final ClientFactoryManager clientFactoryManager,
                                   final NodeProxy nodeProxy); String getNodeId(); CreateNodeToolboxAction setNodeId(final String nodeId); CreateNodeToolboxAction setEdgeId(final String edgeId); @Override @SuppressWarnings("unchecked") ToolboxAction<AbstractCanvasHandler> onMouseClick(final AbstractCanvasHandler canvasHandler,
                                                             final String uuid,
                                                             final MouseClickEvent event); @Override @SuppressWarnings("unchecked") ToolboxAction<AbstractCanvasHandler> onMoveStart(final AbstractCanvasHandler canvasHandler,
                                                            final String uuid,
                                                            final MouseMoveEvent event); @PreDestroy void destroy(); @Override int hashCode(); @Override boolean equals(final Object o);  }