@Test public void testMakeCanvasSelectionEvent() { final CanvasHandler canvasHandler = mock(CanvasHandler.class); final String uuid = "uuid"; final CanvasSelectionEvent event = factory.makeCanvasSelectionEvent(canvasHandler, uuid); assertEquals(canvasHandler, event.getCanvasHandler()); assertEquals(uuid, event.getIdentifiers().iterator().next()); }
CanvasSelectionEvent makeCanvasSelectionEvent(final CanvasHandler canvas, final String uuid) { return new CanvasSelectionEvent(canvas, uuid); }
DecisionNavigatorNestedItemFactory { CanvasSelectionEvent makeCanvasSelectionEvent(final CanvasHandler canvas, final String uuid) { return new CanvasSelectionEvent(canvas, uuid); } }
DecisionNavigatorNestedItemFactory { CanvasSelectionEvent makeCanvasSelectionEvent(final CanvasHandler canvas, final String uuid) { return new CanvasSelectionEvent(canvas, uuid); } @Inject  DecisionNavigatorNestedItemFactory(final SessionManager sessionManager,
                                              final Event<EditExpressionEvent> editExpressionEvent,
                                              final DMNGraphUtils dmnGraphUtils,
                                              final @DMNEditor Supplier<ExpressionEditorDefinitions> expressionEditorDefinitionsSupplier,
                                              final Event<CanvasSelectionEvent> canvasSelectionEvent,
                                              final BoxedExpressionHelper helper); }
DecisionNavigatorNestedItemFactory { CanvasSelectionEvent makeCanvasSelectionEvent(final CanvasHandler canvas, final String uuid) { return new CanvasSelectionEvent(canvas, uuid); } @Inject  DecisionNavigatorNestedItemFactory(final SessionManager sessionManager,
                                              final Event<EditExpressionEvent> editExpressionEvent,
                                              final DMNGraphUtils dmnGraphUtils,
                                              final @DMNEditor Supplier<ExpressionEditorDefinitions> expressionEditorDefinitionsSupplier,
                                              final Event<CanvasSelectionEvent> canvasSelectionEvent,
                                              final BoxedExpressionHelper helper); DecisionNavigatorItem makeItem(final Node<View, Edge> node); boolean hasNestedElement(final Node<View, Edge> node); }
DecisionNavigatorNestedItemFactory { CanvasSelectionEvent makeCanvasSelectionEvent(final CanvasHandler canvas, final String uuid) { return new CanvasSelectionEvent(canvas, uuid); } @Inject  DecisionNavigatorNestedItemFactory(final SessionManager sessionManager,
                                              final Event<EditExpressionEvent> editExpressionEvent,
                                              final DMNGraphUtils dmnGraphUtils,
                                              final @DMNEditor Supplier<ExpressionEditorDefinitions> expressionEditorDefinitionsSupplier,
                                              final Event<CanvasSelectionEvent> canvasSelectionEvent,
                                              final BoxedExpressionHelper helper); DecisionNavigatorItem makeItem(final Node<View, Edge> node); boolean hasNestedElement(final Node<View, Edge> node);  }