Package ghidra.framework.model
Class ToolAssociationInfo
- java.lang.Object
- 
- ghidra.framework.model.ToolAssociationInfo
 
- 
 public class ToolAssociationInfo extends java.lang.ObjectA class that describes a content types and the tool used to open it.
- 
- 
Constructor SummaryConstructors Constructor Description ToolAssociationInfo(ContentHandler contentHandler, java.lang.String associatedToolName, ToolTemplate currentToolTemplate, ToolTemplate defaultTemplate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAssociatedToolName()ContentHandlergetContentHandler()ToolTemplategetCurrentTemplate()Returns the currently assigned tool used to open the content type of this association.ToolTemplategetDefaultTemplate()booleanisDefault()voidrestoreDefaultAssociation()voidsetCurrentTool(ToolTemplate toolTemplate)Sets the tool name that should be used to open files for the content type represented by this tool association.java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
ToolAssociationInfopublic ToolAssociationInfo(ContentHandler contentHandler, java.lang.String associatedToolName, ToolTemplate currentToolTemplate, ToolTemplate defaultTemplate) 
 
- 
 - 
Method Detail- 
getContentHandlerpublic ContentHandler getContentHandler() 
 - 
getCurrentTemplatepublic ToolTemplate getCurrentTemplate() Returns the currently assigned tool used to open the content type of this association.
 - 
getDefaultTemplatepublic ToolTemplate getDefaultTemplate() 
 - 
getAssociatedToolNamepublic java.lang.String getAssociatedToolName() 
 - 
isDefaultpublic boolean isDefault() 
 - 
setCurrentToolpublic void setCurrentTool(ToolTemplate toolTemplate) Sets the tool name that should be used to open files for the content type represented by this tool association.
 - 
restoreDefaultAssociationpublic void restoreDefaultAssociation() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-