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
This action is used by
GhidraTables 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:
-
Field Summary
Fields inherited from class AbstractSelectionNavigationAction
tableFields inherited from interface DockingActionIf
DESCRIPTION_PROPERTY, ENABLEMENT_PROPERTY, GLOBALCONTEXT_PROPERTY, KEYBINDING_DATA_PROPERTY, MENUBAR_DATA_PROPERTY, POPUP_MENU_DATA_PROPERTY, TOOLBAR_DATA_PROPERTYFields inherited from interface ToggleDockingActionIf
SELECTED_STATE_PROPERTY -
Constructor Summary
ConstructorsConstructorDescriptionSelectionNavigationAction(Plugin plugin, GhidraTable table) Constructor that relies on an instance ofGhidraTableto do the work of navigation.SelectionNavigationAction(String owner, GhidraTable table) Constructor that relies on an instance ofGhidraTableto do the work of navigation. -
Method Summary
Modifier and TypeMethodDescriptionvoidnavigate()Users of this class will implement this method to know when to use their table to perform navigation tasks in their own way.protected voidtoggleSelectionListening(boolean listen) Methods inherited from class AbstractSelectionNavigationAction
restoreState, saveState, setEnabled, setSelectedMethods inherited from class ToggleDockingAction
actionPerformed, doCreateButton, doCreateMenuItem, isSelectedMethods inherited from class DockingAction
addPropertyChangeListener, addToWindowWhen, createButton, createMenuItem, dispose, enabledWhen, firePropertyChanged, getContextClass, getDefaultKeyBindingData, getDescription, getFullName, getHelpInfo, getHelpLocation, getHelpObject, getInceptionFromTheFirstClassThatIsNotUsOrABuilder, getInceptionInformation, getKeyBinding, getKeyBindingData, getKeyBindingType, getMenuBarData, getName, getOwner, getPopupMenuData, getPreferredKeyBindingType, getToolBarData, isAddToPopup, isEnabled, isEnabledForContext, isValidContext, markHelpUnnecessary, popupWhen, removePropertyChangeListener, setAddToAllWindows, setContextClass, setDefaultKeyBindingData, setDescription, setHelpLocation, setKeyBindingData, setMenuBarData, setPopupMenuData, setToolBarData, setUnvalidatedKeyBindingData, shouldAddToWindow, supportsDefaultContext, toString, validContextWhenMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface DockingActionIf
addPropertyChangeListener, createButton, createMenuComponent, createMenuItem, dispose, getContextClass, getDefaultKeyBindingData, getDescription, getFullName, getInceptionInformation, getKeyBinding, getKeyBindingData, getKeyBindingType, getMenuBarData, getName, getOwner, getOwnerDescription, getPopupMenuData, getToolBarData, isAddToPopup, isEnabled, isEnabledForContext, isValidContext, removePropertyChangeListener, setContextClass, setKeyBindingData, setUnvalidatedKeyBindingData, shouldAddToWindow, supportsDefaultContextMethods inherited from interface HelpDescriptor
getHelpInfo, getHelpObject
-
Constructor Details
-
SelectionNavigationAction
Constructor that relies on an instance ofGhidraTableto do the work of navigation. Clients that haveJTables that are not instances ofGhidraTablecan use the super class action and define itsnavigate()callback method.- Parameters:
plugin- The owner plugintable- TheGhidraTablewhich this action works with- See Also:
-
SelectionNavigationAction
Constructor that relies on an instance ofGhidraTableto do the work of navigation. Clients that haveJTables that are not instances ofGhidraTablecan use the super class action and define itsnavigate()callback method.- Parameters:
owner- The owner nametable- TheGhidraTablewhich this action works with- See Also:
-
-
Method Details
-
toggleSelectionListening
protected void toggleSelectionListening(boolean listen) - Overrides:
toggleSelectionListeningin classAbstractSelectionNavigationAction
-