Package ghidra.util.table
Class SelectionNavigationAction
- java.lang.Object
-
- docking.action.DockingAction
-
- docking.action.ToggleDockingAction
-
- ghidra.util.table.AbstractSelectionNavigationAction
-
- ghidra.util.table.SelectionNavigationAction
-
- All Implemented Interfaces:
DockingActionIf
,ToggleDockingActionIf
,HelpDescriptor
public class SelectionNavigationAction extends AbstractSelectionNavigationAction
This action is used byGhidraTable
s to allow the user to trigger navigation when selections are made.This class will save the state of the action when the tool is saved.
- See Also:
AbstractSelectionNavigationAction
-
-
Field Summary
-
Fields inherited from class ghidra.util.table.AbstractSelectionNavigationAction
table
-
Fields inherited from interface docking.action.DockingActionIf
DESCRIPTION_PROPERTY, ENABLEMENT_PROPERTY, GLOBALCONTEXT_PROPERTY, KEYBINDING_DATA_PROPERTY, MENUBAR_DATA_PROPERTY, POPUP_MENU_DATA_PROPERTY, TOOLBAR_DATA_PROPERTY
-
Fields inherited from interface docking.action.ToggleDockingActionIf
SELECTED_STATE_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description SelectionNavigationAction(Plugin plugin, GhidraTable table)
Constructor that relies on an instance ofGhidraTable
to do the work of navigation.SelectionNavigationAction(java.lang.String owner, GhidraTable table)
Constructor that relies on an instance ofGhidraTable
to do the work of navigation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
navigate()
Users of this class will implement this method to know when to use their table to perform navigation tasks in their own way.protected void
toggleSelectionListening(boolean listen)
-
Methods inherited from class ghidra.util.table.AbstractSelectionNavigationAction
restoreState, saveState, setEnabled, setSelected
-
Methods inherited from class docking.action.ToggleDockingAction
actionPerformed, doCreateButton, doCreateMenuItem, isSelected
-
Methods inherited from class docking.action.DockingAction
addPropertyChangeListener, createButton, createMenuItem, dispose, firePropertyChanged, getDefaultKeyBindingData, getDescription, getFullName, getHelpInfo, getHelpObject, getInceptionFromTheFirstClassThatIsNotUs, getInceptionInformation, getKeyBinding, getKeyBindingData, getKeyBindingType, getMenuBarData, getName, getOwner, getPopupMenuData, getPreferredKeyBindingType, getToolBarData, isAddToPopup, isEnabled, isEnabledForContext, isValidContext, isValidGlobalContext, markHelpUnnecessary, removePropertyChangeListener, setDescription, setHelpLocation, setKeyBindingData, setMenuBarData, setPopupMenuData, setToolBarData, setUnvalidatedKeyBindingData, shouldAddToWindow, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface docking.action.DockingActionIf
addPropertyChangeListener, createButton, createMenuItem, dispose, getDefaultKeyBindingData, getDescription, getFullName, getInceptionInformation, getKeyBinding, getKeyBindingData, getKeyBindingType, getMenuBarData, getName, getOwner, getOwnerDescription, getPopupMenuData, getToolBarData, isAddToPopup, isEnabled, isEnabledForContext, isValidContext, isValidGlobalContext, removePropertyChangeListener, setKeyBindingData, setUnvalidatedKeyBindingData, shouldAddToWindow
-
Methods inherited from interface docking.help.HelpDescriptor
getHelpInfo, getHelpObject
-
-
-
-
Constructor Detail
-
SelectionNavigationAction
public SelectionNavigationAction(Plugin plugin, GhidraTable table)
Constructor that relies on an instance ofGhidraTable
to do the work of navigation. Clients that haveJTable
s that are not instances ofGhidraTable
can use the super class action and define itsnavigate()
callback method.- Parameters:
plugin
- The owner plugintable
- TheGhidraTable
which this action works with- See Also:
AbstractSelectionNavigationAction
-
SelectionNavigationAction
public SelectionNavigationAction(java.lang.String owner, GhidraTable table)
Constructor that relies on an instance ofGhidraTable
to do the work of navigation. Clients that haveJTable
s that are not instances ofGhidraTable
can use the super class action and define itsnavigate()
callback method.- Parameters:
owner
- The owner nametable
- TheGhidraTable
which this action works with- See Also:
AbstractSelectionNavigationAction
-
-
Method Detail
-
toggleSelectionListening
protected void toggleSelectionListening(boolean listen)
- Overrides:
toggleSelectionListening
in classAbstractSelectionNavigationAction
-
navigate
public void navigate()
Description copied from class:AbstractSelectionNavigationAction
Users of this class will implement this method to know when to use their table to perform navigation tasks in their own way.- Specified by:
navigate
in classAbstractSelectionNavigationAction
-
-