Package ghidra.app.util.viewer.field
Class CommentFieldMouseHandler
java.lang.Object
ghidra.app.util.viewer.field.CommentFieldMouseHandler
- All Implemented Interfaces:
FieldMouseHandler
,FieldMouseHandlerExtension
,ExtensionPoint
- Direct Known Subclasses:
FunctionRepeatableCommentFieldMouseHandler
,VariableCommentFieldMouseHandler
A handler to process
CommentFieldLocation
clicks.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkWord
(String wordString, ServiceProvider serviceProvider, Navigatable sourceNavigatable) boolean
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.
-
Constructor Details
-
CommentFieldMouseHandler
public CommentFieldMouseHandler()
-
-
Method Details
-
getSupportedProgramLocations
Description copied from interface:FieldMouseHandler
Returns an array of types that this handler wishes to handle.- Specified by:
getSupportedProgramLocations
in interfaceFieldMouseHandler
- Returns:
- an array of types that this handler wishes to handle.
-
getCommentRow
-
getCommentColumn
-
getComment
-