Package ghidra.service.graph
Class DummyGraphDisplayListener
- java.lang.Object
-
- ghidra.service.graph.DummyGraphDisplayListener
-
- All Implemented Interfaces:
GraphDisplayListener
public class DummyGraphDisplayListener extends java.lang.Object implements GraphDisplayListener
-
-
Constructor Summary
Constructors Constructor Description DummyGraphDisplayListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphDisplayListenercloneWith(GraphDisplay graphDisplay)Makes a new GraphDisplayListener of the same type as the specific instance of this GraphDisplayListenervoiddispose()Tells the listener that it is no longer needed and it can release any listeners/resourcesvoidgraphClosed()Notification that the graph window has been closedvoidlocationFocusChanged(AttributedVertex vertex)Notification that the "focused" (active) vertex has changedvoidselectionChanged(java.util.Set<AttributedVertex> vertices)Notification that the set of selected vertices has changed
-
-
-
Method Detail
-
graphClosed
public void graphClosed()
Description copied from interface:GraphDisplayListenerNotification that the graph window has been closed- Specified by:
graphClosedin interfaceGraphDisplayListener
-
cloneWith
public GraphDisplayListener cloneWith(GraphDisplay graphDisplay)
Description copied from interface:GraphDisplayListenerMakes a new GraphDisplayListener of the same type as the specific instance of this GraphDisplayListener- Specified by:
cloneWithin interfaceGraphDisplayListener- Parameters:
graphDisplay- the newGraphDisplaythe 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
public void selectionChanged(java.util.Set<AttributedVertex> vertices)
Description copied from interface:GraphDisplayListenerNotification that the set of selected vertices has changed- Specified by:
selectionChangedin interfaceGraphDisplayListener- Parameters:
vertices- the set of currently selected vertices
-
locationFocusChanged
public void locationFocusChanged(AttributedVertex vertex)
Description copied from interface:GraphDisplayListenerNotification that the "focused" (active) vertex has changed- Specified by:
locationFocusChangedin interfaceGraphDisplayListener- Parameters:
vertex- the vertex that is currently "focused"
-
dispose
public void dispose()
Description copied from interface:GraphDisplayListenerTells the listener that it is no longer needed and it can release any listeners/resources- Specified by:
disposein interfaceGraphDisplayListener
-
-