Class ProgramLinkContentHandler

java.lang.Object
ghidra.framework.data.LinkHandler<ProgramDB>
ghidra.program.database.ProgramLinkContentHandler
All Implemented Interfaces:
ContentHandler<ProgramDB>, ExtensionPoint

public class ProgramLinkContentHandler extends LinkHandler<ProgramDB>
  • Field Details

  • Constructor Details

    • ProgramLinkContentHandler

      public ProgramLinkContentHandler()
  • Method Details

    • getContentType

      public String getContentType()
      Description copied from interface: ContentHandler
      Returns a unique content-type identifier
      Returns:
      content type identifier for associated domain object(s).
    • getContentTypeDisplayString

      public String getContentTypeDisplayString()
      Description copied from interface: ContentHandler
      A string that is meant to be presented to the user.
      Returns:
      user friendly content type for associated domain object(s).
    • getDomainObjectClass

      public Class<ProgramDB> getDomainObjectClass()
      Description copied from interface: ContentHandler
      Returns domain object implementation class supported.
      Returns:
      implementation class for the associated DomainObjectAdapter implementation.
    • getIcon

      public Icon getIcon()
      Description copied from class: LinkHandler
      Get the base icon for this link-file which does not include the link overlay icon.
      Specified by:
      getIcon in interface ContentHandler<ProgramDB>
      Specified by:
      getIcon in class LinkHandler<ProgramDB>
      Returns:
      base icon to be used for a DomainFile with the associated content type.
    • getDefaultToolName

      public String getDefaultToolName()
      Description copied from interface: ContentHandler
      Returns the name of the default tool/template that should be used to open this content type.
      Returns:
      associated default tool name for this content type