Package ghidra.app.util.viewer.field
Class FunctionRepeatableCommentFieldMouseHandler
java.lang.Object
ghidra.app.util.viewer.field.CommentFieldMouseHandler
ghidra.app.util.viewer.field.FunctionRepeatableCommentFieldMouseHandler
- All Implemented Interfaces:
FieldMouseHandler
,FieldMouseHandlerExtension
,ExtensionPoint
A handler to process
FunctionRepeatableCommentFieldLocation
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
fieldElementClicked
(Object clickedObject, Navigatable sourceNavigatable, ProgramLocation location, MouseEvent mouseEvent, ServiceProvider serviceProvider) Called when a fieldField
has been clicked.protected String[]
getComment
(ProgramLocation programLocation) protected int
getCommentColumn
(ProgramLocation programLocation) protected int
getCommentRow
(ProgramLocation programLocation) Class<?>[]
Returns an array of types that this handler wishes to handle.Methods inherited from class ghidra.app.util.viewer.field.CommentFieldMouseHandler
checkWord
-
Constructor Details
-
FunctionRepeatableCommentFieldMouseHandler
public FunctionRepeatableCommentFieldMouseHandler()
-
-
Method Details
-
getCommentRow
- Overrides:
getCommentRow
in classCommentFieldMouseHandler
-
getCommentColumn
- Overrides:
getCommentColumn
in classCommentFieldMouseHandler
-
getComment
- Overrides:
getComment
in classCommentFieldMouseHandler
-
getSupportedProgramLocations
Description copied from interface:FieldMouseHandler
Returns an array of types that this handler wishes to handle.- Specified by:
getSupportedProgramLocations
in interfaceFieldMouseHandler
- Overrides:
getSupportedProgramLocations
in classCommentFieldMouseHandler
- Returns:
- an array of types that this handler wishes to handle.