Package ghidra.framework.model
Class ToolAssociationInfo
java.lang.Object
ghidra.framework.model.ToolAssociationInfo
A class that describes a content types and the tool used to open it.
-
Constructor Summary
ConstructorDescriptionToolAssociationInfo
(ContentHandler contentHandler, String associatedToolName, ToolTemplate currentToolTemplate, ToolTemplate defaultTemplate) -
Method Summary
Modifier and TypeMethodDescriptionReturns the currently assigned tool used to open the content type of this association.boolean
void
void
setCurrentTool
(ToolTemplate toolTemplate) Sets the tool name that should be used to open files for the content type represented by this tool association.toString()
-
Constructor Details
-
ToolAssociationInfo
public ToolAssociationInfo(ContentHandler contentHandler, String associatedToolName, ToolTemplate currentToolTemplate, ToolTemplate defaultTemplate)
-
-
Method Details
-
getContentHandler
-
getCurrentTemplate
Returns the currently assigned tool used to open the content type of this association. -
getDefaultTemplate
-
getAssociatedToolName
-
isDefault
public boolean isDefault() -
setCurrentTool
Sets the tool name that should be used to open files for the content type represented by this tool association. -
restoreDefaultAssociation
public void restoreDefaultAssociation() -
toString
-