Class TextFSBFileHandler
java.lang.Object
ghidra.plugins.fsbrowser.filehandlers.TextFSBFileHandler
- All Implemented Interfaces:
FSBFileHandler,ExtensionPoint
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list ofDockingActions that should beaddedto theFSBComponentProvidertree as local actions.booleanfileDefaultAction(FSBFileNode fileNode) Called when a file node is the target of a 'default action' initiated by the user, such as a double click, etc.voidinit(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, waitMethods 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:FSBFileHandlerCalled once after creation of each instance to provide useful info- Specified by:
initin interfaceFSBFileHandler- Parameters:
context- references to useful objects and services
-
fileDefaultAction
Description copied from interface:FSBFileHandlerCalled when a file node is the target of a 'default action' initiated by the user, such as a double click, etc.- Specified by:
fileDefaultActionin interfaceFSBFileHandler- Parameters:
fileNode-FSBFileNodethat was acted upon- Returns:
- boolean true if action was taken, false if no action was taken
-
createActions
Description copied from interface:FSBFileHandlerReturns a list ofDockingActions that should beaddedto theFSBComponentProvidertree as local actions.- Specified by:
createActionsin interfaceFSBFileHandler- Returns:
- list of
DockingActions
-