Class DMNGraphSubIndex
- java.lang.Object
-
- org.kie.workbench.common.dmn.client.editors.search.DMNGraphSubIndex
-
- All Implemented Interfaces:
DMNSubIndex,org.kie.workbench.common.widgets.client.search.common.HasSearchableElements<DMNSearchableElement>
@ApplicationScoped public class DMNGraphSubIndex extends Object implements DMNSubIndex
-
-
Constructor Summary
Constructors Constructor Description DMNGraphSubIndex(DMNGraphUtils graphUtils, javax.enterprise.event.Event<org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasSelectionEvent> canvasSelectionEvent, javax.enterprise.event.Event<org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasFocusedShapeEvent> canvasFocusedSelectionEvent, javax.enterprise.event.Event<org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasClearSelectionEvent> canvasClearSelectionEventEvent, javax.enterprise.event.Event<org.kie.workbench.common.stunner.core.client.canvas.event.selection.DomainObjectSelectionEvent> domainObjectSelectionEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<DMNSearchableElement>getSearchableElements()voidonNoResultsFound()TheDMNEditorSearchIndexexecutes this method when the search result is empty, and this sub-index is active.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.kie.workbench.common.dmn.client.editors.search.DMNSubIndex
onSearchClosed
-
-
-
-
Constructor Detail
-
DMNGraphSubIndex
@Inject public DMNGraphSubIndex(DMNGraphUtils graphUtils, javax.enterprise.event.Event<org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasSelectionEvent> canvasSelectionEvent, javax.enterprise.event.Event<org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasFocusedShapeEvent> canvasFocusedSelectionEvent, javax.enterprise.event.Event<org.kie.workbench.common.stunner.core.client.canvas.event.selection.CanvasClearSelectionEvent> canvasClearSelectionEventEvent, javax.enterprise.event.Event<org.kie.workbench.common.stunner.core.client.canvas.event.selection.DomainObjectSelectionEvent> domainObjectSelectionEvent)
-
-
Method Detail
-
getSearchableElements
public List<DMNSearchableElement> getSearchableElements()
- Specified by:
getSearchableElementsin interfaceorg.kie.workbench.common.widgets.client.search.common.HasSearchableElements<DMNSearchableElement>
-
onNoResultsFound
public void onNoResultsFound()
Description copied from interface:DMNSubIndexTheDMNEditorSearchIndexexecutes this method when the search result is empty, and this sub-index is active.- Specified by:
onNoResultsFoundin interfaceDMNSubIndex
-
-