@Test public void testFilteredItems() { ExpandedPaletteDefinitionBuilder delegate = tested.getPaletteDefinitionBuilder(); assertTrue(delegate.getItemFilter().test(getId(UserTask.class))); assertTrue(delegate.getItemFilter().test(getId(Lane.class))); assertTrue(delegate.getItemFilter().test(getId(StartNoneEvent.class))); assertTrue(delegate.getItemFilter().test(getId(EndSignalEvent.class))); assertTrue(delegate.getItemFilter().test(getId(TextAnnotation.class))); assertTrue(delegate.getItemFilter().test(getId(DirectionalAssociation.class))); assertTrue(delegate.getItemFilter().test(getId(NonDirectionalAssociation.class))); assertFalse(delegate.getItemFilter().test(getId(BPMNDiagramImpl.class))); assertFalse(delegate.getItemFilter().test(getId(SequenceFlow.class))); assertFalse(delegate.getItemFilter().test(getId(NoneTask.class))); }
ExpandedPaletteDefinitionBuilder getPaletteDefinitionBuilder() { return paletteDefinitionBuilder; }
BPMNPaletteDefinitionBuilder implements PaletteDefinitionBuilder<AbstractCanvasHandler, DefaultPaletteDefinition> { ExpandedPaletteDefinitionBuilder getPaletteDefinitionBuilder() { return paletteDefinitionBuilder; } }
BPMNPaletteDefinitionBuilder implements PaletteDefinitionBuilder<AbstractCanvasHandler, DefaultPaletteDefinition> { ExpandedPaletteDefinitionBuilder getPaletteDefinitionBuilder() { return paletteDefinitionBuilder; } protected  BPMNPaletteDefinitionBuilder(); @Inject  BPMNPaletteDefinitionBuilder(final DefinitionManager definitionManager,
                                        final ExpandedPaletteDefinitionBuilder paletteDefinitionBuilder,
                                        final StunnerTranslationService translationService,
                                        final ManagedInstance<WorkItemDefinitionRegistry> workItemDefinitionRegistry,
                                        final DefinitionUtils definitionUtils,
                                        final BPMNCategoryDefinitionProvider categoryDefinitionProvider);   BPMNPaletteDefinitionBuilder(final DefinitionManager definitionManager,
                                 final ExpandedPaletteDefinitionBuilder paletteDefinitionBuilder,
                                 final StunnerTranslationService translationService,
                                 final Supplier<WorkItemDefinitionRegistry> workItemDefinitionRegistry,
                                 final Function<WorkItemDefinition, CustomTask> customTaskBuilder,
                                 final DefinitionUtils definitionUtils,
                                 final BPMNCategoryDefinitionProvider categoryDefinitionProvider); }
BPMNPaletteDefinitionBuilder implements PaletteDefinitionBuilder<AbstractCanvasHandler, DefaultPaletteDefinition> { ExpandedPaletteDefinitionBuilder getPaletteDefinitionBuilder() { return paletteDefinitionBuilder; } protected  BPMNPaletteDefinitionBuilder(); @Inject  BPMNPaletteDefinitionBuilder(final DefinitionManager definitionManager,
                                        final ExpandedPaletteDefinitionBuilder paletteDefinitionBuilder,
                                        final StunnerTranslationService translationService,
                                        final ManagedInstance<WorkItemDefinitionRegistry> workItemDefinitionRegistry,
                                        final DefinitionUtils definitionUtils,
                                        final BPMNCategoryDefinitionProvider categoryDefinitionProvider);   BPMNPaletteDefinitionBuilder(final DefinitionManager definitionManager,
                                 final ExpandedPaletteDefinitionBuilder paletteDefinitionBuilder,
                                 final StunnerTranslationService translationService,
                                 final Supplier<WorkItemDefinitionRegistry> workItemDefinitionRegistry,
                                 final Function<WorkItemDefinition, CustomTask> customTaskBuilder,
                                 final DefinitionUtils definitionUtils,
                                 final BPMNCategoryDefinitionProvider categoryDefinitionProvider); @PostConstruct void init(); @Override void build(final AbstractCanvasHandler canvasHandler,
                      final Consumer<DefaultPaletteDefinition> paletteDefinitionConsumer); }
BPMNPaletteDefinitionBuilder implements PaletteDefinitionBuilder<AbstractCanvasHandler, DefaultPaletteDefinition> { ExpandedPaletteDefinitionBuilder getPaletteDefinitionBuilder() { return paletteDefinitionBuilder; } protected  BPMNPaletteDefinitionBuilder(); @Inject  BPMNPaletteDefinitionBuilder(final DefinitionManager definitionManager,
                                        final ExpandedPaletteDefinitionBuilder paletteDefinitionBuilder,
                                        final StunnerTranslationService translationService,
                                        final ManagedInstance<WorkItemDefinitionRegistry> workItemDefinitionRegistry,
                                        final DefinitionUtils definitionUtils,
                                        final BPMNCategoryDefinitionProvider categoryDefinitionProvider);   BPMNPaletteDefinitionBuilder(final DefinitionManager definitionManager,
                                 final ExpandedPaletteDefinitionBuilder paletteDefinitionBuilder,
                                 final StunnerTranslationService translationService,
                                 final Supplier<WorkItemDefinitionRegistry> workItemDefinitionRegistry,
                                 final Function<WorkItemDefinition, CustomTask> customTaskBuilder,
                                 final DefinitionUtils definitionUtils,
                                 final BPMNCategoryDefinitionProvider categoryDefinitionProvider); @PostConstruct void init(); @Override void build(final AbstractCanvasHandler canvasHandler,
                      final Consumer<DefaultPaletteDefinition> paletteDefinitionConsumer);  }