Class TextFSBFileHandler
java.lang.Object
ghidra.plugins.fsbrowser.filehandlers.TextFSBFileHandler
- All Implemented Interfaces:
FSBFileHandler
,ExtensionPoint
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a list ofDockingAction
s that should beadded
to theFSBComponentProvider
tree as local actions.boolean
fileDefaultAction
(FSBFileNode fileNode) Called when a file node is the target of a 'default action' initiated by the user, such as a double click, etc.void
init
(FSBFileHandlerContext context) Called once after creation of each instance to provide useful infoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ghidra.plugins.fsbrowser.FSBFileHandler
fileFocused, getPopupProviderActions
-
Field Details
-
FSB_VIEW_AS_TEXT
- See Also:
-
-
Constructor Details
-
TextFSBFileHandler
public TextFSBFileHandler()
-
-
Method Details
-
init
Description copied from interface:FSBFileHandler
Called once after creation of each instance to provide useful info- Specified by:
init
in interfaceFSBFileHandler
- Parameters:
context
- references to useful objects and services
-
fileDefaultAction
Description copied from interface:FSBFileHandler
Called when a file node is the target of a 'default action' initiated by the user, such as a double click, etc.- Specified by:
fileDefaultAction
in interfaceFSBFileHandler
- Parameters:
fileNode
-FSBFileNode
that was acted upon- Returns:
- boolean true if action was taken, false if no action was taken
-
createActions
Description copied from interface:FSBFileHandler
Returns a list ofDockingAction
s that should beadded
to theFSBComponentProvider
tree as local actions.- Specified by:
createActions
in interfaceFSBFileHandler
- Returns:
- list of
DockingAction
s
-