Package ghidra.graph.viewer.actions
Class VgVertexContext<V extends VisualVertex>
- java.lang.Object
-
- docking.ActionContext
-
- ghidra.graph.viewer.actions.VgActionContext
-
- ghidra.graph.viewer.actions.VgVertexContext<V>
-
- Type Parameters:
V
- the vertex type
- All Implemented Interfaces:
VisualGraphActionContext
,VisualGraphVertexActionContext<V>
public class VgVertexContext<V extends VisualVertex> extends VgActionContext implements VisualGraphVertexActionContext<V>
Context for aVisualGraph
when a vertex is selected
-
-
Constructor Summary
Constructors Constructor Description VgVertexContext(ComponentProvider provider, V v)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
getVertex()
boolean
shouldShowSatelliteActions()
Returns true actions that manipulate the satellite viewer should be enabled for this context-
Methods inherited from class docking.ActionContext
getComponentProvider, getContextObject, getGlobalContext, getMouseEvent, getSourceComponent, getSourceObject, setContextObject, setMouseEvent, setSourceObject, toString
-
-
-
-
Constructor Detail
-
VgVertexContext
public VgVertexContext(ComponentProvider provider, V v)
-
-
Method Detail
-
getVertex
public V 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
-
-