@ApplicationScoped public class DMNGraphSubIndex extends Object implements DMNSubIndex
Constructor and Description |
---|
DMNGraphSubIndex(DMNGraphUtils graphUtils,
javax.enterprise.event.Event<CanvasSelectionEvent> canvasSelectionEvent,
javax.enterprise.event.Event<CanvasFocusedShapeEvent> canvasFocusedSelectionEvent,
javax.enterprise.event.Event<CanvasClearSelectionEvent> canvasClearSelectionEventEvent,
javax.enterprise.event.Event<DomainObjectSelectionEvent> domainObjectSelectionEvent) |
Modifier and Type | Method and Description |
---|---|
List<DMNSearchableElement> |
getSearchableElements() |
void |
onNoResultsFound()
The
DMNEditorSearchIndex executes this method when the search result is empty,
and this sub-index is active. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onSearchClosed
@Inject public DMNGraphSubIndex(DMNGraphUtils graphUtils, javax.enterprise.event.Event<CanvasSelectionEvent> canvasSelectionEvent, javax.enterprise.event.Event<CanvasFocusedShapeEvent> canvasFocusedSelectionEvent, javax.enterprise.event.Event<CanvasClearSelectionEvent> canvasClearSelectionEventEvent, javax.enterprise.event.Event<DomainObjectSelectionEvent> domainObjectSelectionEvent)
public List<DMNSearchableElement> getSearchableElements()
getSearchableElements
in interface HasSearchableElements<DMNSearchableElement>
public void onNoResultsFound()
DMNSubIndex
DMNEditorSearchIndex
executes this method when the search result is empty,
and this sub-index is active.onNoResultsFound
in interface DMNSubIndex
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.