@Test public void testGetNoResultsFoundCallbackWhenExpressionEditorIsActive() { when(expressionEditor.isActive()).thenReturn(true); searchIndex.getNoResultsFoundCallback().execute(); verify(gridSubIndex).onNoResultsFound(); }
Command getNoResultsFoundCallback() { return () -> getSubIndex().onNoResultsFound(); }
DMNEditorSearchIndex extends BaseEditorSearchIndex<DMNSearchableElement> { Command getNoResultsFoundCallback() { return () -> getSubIndex().onNoResultsFound(); } }
DMNEditorSearchIndex extends BaseEditorSearchIndex<DMNSearchableElement> { Command getNoResultsFoundCallback() { return () -> getSubIndex().onNoResultsFound(); } @Inject  DMNEditorSearchIndex(final DMNGraphSubIndex graphSubIndex,
                                final DMNGridSubIndex gridSubIndex,
                                final DMNDataTypesSubIndex dataTypesSubIndex,
                                final SessionManager sessionManager,
                                final Event<SearchPerformedEvent> searchPerformedEvent); }
DMNEditorSearchIndex extends BaseEditorSearchIndex<DMNSearchableElement> { Command getNoResultsFoundCallback() { return () -> getSubIndex().onNoResultsFound(); } @Inject  DMNEditorSearchIndex(final DMNGraphSubIndex graphSubIndex,
                                final DMNGridSubIndex gridSubIndex,
                                final DMNDataTypesSubIndex dataTypesSubIndex,
                                final SessionManager sessionManager,
                                final Event<SearchPerformedEvent> searchPerformedEvent); @PostConstruct void init(); void setIsDataTypesTabActiveSupplier(final Supplier<Boolean> isDataTypesTabActiveSupplier); Supplier<Boolean> getIsDataTypesTabActiveSupplier(); }
DMNEditorSearchIndex extends BaseEditorSearchIndex<DMNSearchableElement> { Command getNoResultsFoundCallback() { return () -> getSubIndex().onNoResultsFound(); } @Inject  DMNEditorSearchIndex(final DMNGraphSubIndex graphSubIndex,
                                final DMNGridSubIndex gridSubIndex,
                                final DMNDataTypesSubIndex dataTypesSubIndex,
                                final SessionManager sessionManager,
                                final Event<SearchPerformedEvent> searchPerformedEvent); @PostConstruct void init(); void setIsDataTypesTabActiveSupplier(final Supplier<Boolean> isDataTypesTabActiveSupplier); Supplier<Boolean> getIsDataTypesTabActiveSupplier();  }