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 aVisualGraphwhen 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 VgetVertex()booleanshouldShowSatelliteActions()Returns true actions that manipulate the satellite viewer should be enabled for this context-
Methods inherited from class docking.ActionContext
getComponentProvider, getContextObject, getMouseEvent, getSourceComponent, getSourceObject, setContextObject, setMouseEvent, setSourceObject, toString
-
-
-
-
Constructor Detail
-
VgVertexContext
public VgVertexContext(ComponentProvider provider, V v)
-
-
Method Detail
-
getVertex
public V 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
-
-