Package ghidra.graph.viewer.actions
Class VgVertexContext<V extends VisualVertex>
java.lang.Object
docking.DefaultActionContext
ghidra.graph.viewer.actions.VgActionContext
ghidra.graph.viewer.actions.VgVertexContext<V>
- Type Parameters:
V
- the vertex type
- All Implemented Interfaces:
ActionContext
,VisualGraphActionContext
,VisualGraphVertexActionContext<V>
public class VgVertexContext<V extends VisualVertex>
extends VgActionContext
implements VisualGraphVertexActionContext<V>
Context for a
VisualGraph
when a vertex is selected-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true actions that manipulate the satellite viewer should be enabled for this contextMethods inherited from class docking.DefaultActionContext
getComponentProvider, getContextObject, getEventClickModifiers, getMouseEvent, getSourceComponent, getSourceObject, hasAnyEventClickModifiers, setContextObject, setEventClickModifiers, setMouseEvent, setSourceComponent, setSourceObject, toString
-
Constructor Details
-
VgVertexContext
-
-
Method Details
-
getVertex
- Specified by:
getVertex
in interfaceVisualGraphVertexActionContext<V extends VisualVertex>
-
shouldShowSatelliteActions
public boolean shouldShowSatelliteActions()Description copied from class:VgActionContext
Returns true actions that manipulate the satellite viewer should be enabled for this context- Specified by:
shouldShowSatelliteActions
in interfaceVisualGraphActionContext
- Specified by:
shouldShowSatelliteActions
in interfaceVisualGraphVertexActionContext<V extends VisualVertex>
- Overrides:
shouldShowSatelliteActions
in classVgActionContext
- Returns:
- true actions that manipulate the satellite viewer should be enabled for this context
-