Package ghidra.service.graph
Class DummyGraphDisplayListener
java.lang.Object
ghidra.service.graph.DummyGraphDisplayListener
- All Implemented Interfaces:
GraphDisplayListener
-
Constructor Summary
-
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
-
Constructor Details
-
DummyGraphDisplayListener
public DummyGraphDisplayListener()
-
-
Method Details
-
cloneWith
Description copied from interface:GraphDisplayListener
Makes a new GraphDisplayListener of the same type as the specific instance of this GraphDisplayListener- Specified by:
cloneWith
in interfaceGraphDisplayListener
- 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
-
selectionChanged
Description copied from interface:GraphDisplayListener
Notification that the set of selected vertices has changed- Specified by:
selectionChanged
in interfaceGraphDisplayListener
- Parameters:
vertices
- the set of currently selected vertices
-
locationFocusChanged
Description copied from interface:GraphDisplayListener
Notification that the "focused" (active) vertex has changed- Specified by:
locationFocusChanged
in interfaceGraphDisplayListener
- Parameters:
vertex
- the vertex that is currently "focused"
-
dispose
public void dispose()Description copied from interface:GraphDisplayListener
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.- Specified by:
dispose
in interfaceGraphDisplayListener
-