Class VariableCommentFieldMouseHandler
java.lang.Object
ghidra.app.util.viewer.field.CommentFieldMouseHandler
ghidra.app.util.viewer.field.VariableCommentFieldMouseHandler
- All Implemented Interfaces:
FieldMouseHandler, FieldMouseHandlerExtension, ExtensionPoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfieldElementClicked(Object clickedObject, Navigatable sourceNavigatable, ProgramLocation location, MouseEvent mouseEvent, ServiceProvider serviceProvider) Called when a fieldFieldhas been clicked.protected String[]getComment(ProgramLocation programLocation) protected intgetCommentColumn(ProgramLocation programLocation) protected intgetCommentRow(ProgramLocation programLocation) Class<?>[]Returns an array of types that this handler wishes to handle.Methods inherited from class CommentFieldMouseHandler
checkWord
-
Constructor Details
-
VariableCommentFieldMouseHandler
public VariableCommentFieldMouseHandler()
-
-
Method Details
-
getCommentRow
- Overrides:
getCommentRowin classCommentFieldMouseHandler
-
getCommentColumn
- Overrides:
getCommentColumnin classCommentFieldMouseHandler
-
getComment
- Overrides:
getCommentin classCommentFieldMouseHandler
-
getSupportedProgramLocations
Description copied from interface:FieldMouseHandlerReturns an array of types that this handler wishes to handle.- Specified by:
getSupportedProgramLocationsin interfaceFieldMouseHandler- Overrides:
getSupportedProgramLocationsin classCommentFieldMouseHandler- Returns:
- an array of types that this handler wishes to handle.