Package ghidra.service.graph
Interface GraphDisplayListener
- All Known Implementing Classes:
DummyGraphDisplayListener
public interface GraphDisplayListener
Interface for being notified when the user interacts with a visual graph display
-
Method Summary
Modifier and TypeMethodDescriptioncloneWith
(GraphDisplay graphDisplay) Makes a new GraphDisplayListener of the same type as the specific instance of this GraphDisplayListenervoid
dispose()
Tells the listener that it is no longer needed and it can release any listeners/resources.void
locationFocusChanged
(AttributedVertex vertex) Notification that the "focused" (active) vertex has changedvoid
selectionChanged
(Set<AttributedVertex> vertices) Notification that the set of selected vertices has changed
-
Method Details
-
selectionChanged
Notification that the set of selected vertices has changed- Parameters:
vertices
- the set of currently selected vertices
-
locationFocusChanged
Notification that the "focused" (active) vertex has changed- Parameters:
vertex
- the vertex that is currently "focused"
-
cloneWith
Makes a new GraphDisplayListener of the same type as the specific instance of this GraphDisplayListener- Parameters:
graphDisplay
- the newGraphDisplay
the new listener will support- Returns:
- A new instance of a GraphDisplayListener that is the same type as as the instance on which it is called
-
dispose
void dispose()Tells the listener that it is no longer needed and it can release any listeners/resources. This will be called when aGraphDisplay
is disposed or if this listener is replaced.
-