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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns 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:
getVertexin interfaceVisualGraphVertexActionContext<V extends VisualVertex>
-
shouldShowSatelliteActions
public boolean shouldShowSatelliteActions()Description copied from class:VgActionContextReturns true actions that manipulate the satellite viewer should be enabled for this context- Specified by:
shouldShowSatelliteActionsin interfaceVisualGraphActionContext- Specified by:
shouldShowSatelliteActionsin interfaceVisualGraphVertexActionContext<V extends VisualVertex>- Overrides:
shouldShowSatelliteActionsin classVgActionContext- Returns:
- true actions that manipulate the satellite viewer should be enabled for this context
-