Package ghidra.program.database
Class DataTypeArchiveLinkContentHandler
java.lang.Object
ghidra.framework.data.DBContentHandler<DataTypeArchiveDB>
ghidra.framework.data.LinkHandler<DataTypeArchiveDB>
ghidra.program.database.DataTypeArchiveLinkContentHandler
- All Implemented Interfaces:
- ContentHandler<DataTypeArchiveDB>,- ExtensionPoint
- 
Field SummaryFieldsFields inherited from class ghidra.framework.data.LinkHandlerLINK_ICON, URL_METADATA_KEYFields inherited from interface ghidra.framework.data.ContentHandlerMISSING_CONTENT, UNKNOWN_CONTENT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongcreateFile(FileSystem fs, FileSystem userfs, String path, String name, DomainObject obj, TaskMonitor monitor) Creates a new folder item within a specified file-system.Returns a unique content-type identifierA string that is meant to be presented to the user.Returns the name of the default tool/template that should be used to open this content type.Returns domain object implementation class supported.getIcon()Get the base icon for this link-file which does not include the link overlay icon.Methods inherited from class ghidra.framework.data.LinkHandlercreateLink, getChangeSet, getDomainObject, getImmutableObject, getMergeManager, getReadOnlyObject, getURL, isPrivateContentTypeMethods inherited from class ghidra.framework.data.DBContentHandlerabortCreate, createFileMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.framework.data.ContentHandlercanResetDBSourceFile, getLinkHandler, resetDBSourceFile
- 
Field Details- 
ARCHIVE_LINK_CONTENT_TYPE- See Also:
 
 
- 
- 
Constructor Details- 
DataTypeArchiveLinkContentHandlerpublic DataTypeArchiveLinkContentHandler()
 
- 
- 
Method Details- 
createFilepublic long createFile(FileSystem fs, FileSystem userfs, String path, String name, DomainObject obj, TaskMonitor monitor) throws IOException, InvalidNameException, CancelledException Description copied from interface:ContentHandlerCreates a new folder item within a specified file-system. If fs is versioned, the resulting item is marked as checked-out within the versioned file-system. The specified domainObj will become associated with the newly created database.- Parameters:
- fs- the file system in which to create the folder item
- userfs- file system which contains associated user data
- path- the path of the folder item
- name- the name of the new folder item
- obj- the domain object to store in the newly created folder item
- monitor- the monitor that allows the user to cancel
- Returns:
- checkout ID for new item
- Throws:
- IOException- if an IO error occurs or an unsupported- domainObjectimplementation is specified.
- InvalidNameException- if the specified name contains invalid characters
- CancelledException- if the user cancels
 
- 
getContentTypeDescription copied from interface:ContentHandlerReturns a unique content-type identifier- Returns:
- content type identifier for associated domain object(s).
 
- 
getContentTypeDisplayStringDescription copied from interface:ContentHandlerA string that is meant to be presented to the user.- Returns:
- user friendly content type for associated domain object(s).
 
- 
getDomainObjectClassDescription copied from interface:ContentHandlerReturns domain object implementation class supported.- Returns:
- implementation class for the associated DomainObjectAdapterimplementation.
 
- 
getIconDescription copied from class:LinkHandlerGet the base icon for this link-file which does not include the link overlay icon.- Specified by:
- getIconin interface- ContentHandler<DataTypeArchiveDB>
- Specified by:
- getIconin class- LinkHandler<DataTypeArchiveDB>
- Returns:
- base icon to be used for a DomainFilewith the associated content type.
 
- 
getDefaultToolNameDescription copied from interface:ContentHandlerReturns 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
 
 
-