@Test public void testMakeSeparator() { final String drds = "DRDs"; final DecisionNavigatorItem drdSeparator = factory.makeSeparator(drds); assertEquals(drds, drdSeparator.getLabel()); assertEquals(SEPARATOR, drdSeparator.getType()); assertNotNull(drdSeparator.getUUID()); assertNull(drdSeparator.getParentUUID()); }
public DecisionNavigatorItem makeSeparator(final String label) { return navigatorItemBuilder() .withUUID(UUID.uuid()) .withLabel(label) .withType(SEPARATOR) .build(); }
DecisionNavigatorItemFactory { public DecisionNavigatorItem makeSeparator(final String label) { return navigatorItemBuilder() .withUUID(UUID.uuid()) .withLabel(label) .withType(SEPARATOR) .build(); } }
DecisionNavigatorItemFactory { public DecisionNavigatorItem makeSeparator(final String label) { return navigatorItemBuilder() .withUUID(UUID.uuid()) .withLabel(label) .withType(SEPARATOR) .build(); } @Inject  DecisionNavigatorItemFactory(final DecisionNavigatorBaseItemFactory baseItemFactory,
                                        final Event<DMNDiagramSelected> selectedEvent,
                                        final DMNDiagramsSession dmnDiagramsSession); }
DecisionNavigatorItemFactory { public DecisionNavigatorItem makeSeparator(final String label) { return navigatorItemBuilder() .withUUID(UUID.uuid()) .withLabel(label) .withType(SEPARATOR) .build(); } @Inject  DecisionNavigatorItemFactory(final DecisionNavigatorBaseItemFactory baseItemFactory,
                                        final Event<DMNDiagramSelected> selectedEvent,
                                        final DMNDiagramsSession dmnDiagramsSession); DecisionNavigatorItem makeItem(final Node<View, Edge> node); DecisionNavigatorItem makeRoot(final DMNDiagramTuple diagramTuple); DecisionNavigatorItem makeSeparator(final String label); }
DecisionNavigatorItemFactory { public DecisionNavigatorItem makeSeparator(final String label) { return navigatorItemBuilder() .withUUID(UUID.uuid()) .withLabel(label) .withType(SEPARATOR) .build(); } @Inject  DecisionNavigatorItemFactory(final DecisionNavigatorBaseItemFactory baseItemFactory,
                                        final Event<DMNDiagramSelected> selectedEvent,
                                        final DMNDiagramsSession dmnDiagramsSession); DecisionNavigatorItem makeItem(final Node<View, Edge> node); DecisionNavigatorItem makeRoot(final DMNDiagramTuple diagramTuple); DecisionNavigatorItem makeSeparator(final String label);  }