Package ghidra.framework.model
Interface DomainFolderChangeListener
- 
- All Known Implementing Classes:
- DomainFolderListenerAdapter
 
 public interface DomainFolderChangeListenerMethods for notifications when changes are made to a domain folder or a domain file.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddomainFileAdded(DomainFile file)Notification that a file is added to parent folder.voiddomainFileMoved(DomainFile file, DomainFolder oldParent, java.lang.String oldName)Notification that the domain file was moved.voiddomainFileObjectClosed(DomainFile file, DomainObject object)Notification that a domain file previously open for update is in the process of closing.voiddomainFileObjectOpenedForUpdate(DomainFile file, DomainObject object)Notification that a domain file has been opened for update.voiddomainFileObjectReplaced(DomainFile file, DomainObject oldObject)Notification that a new version of the domain object exists and the current one is no longer valid.voiddomainFileRemoved(DomainFolder parent, java.lang.String name, java.lang.String fileID)Notification that a file was removedvoiddomainFileRenamed(DomainFile file, java.lang.String oldName)Notification that the domain file was renamed.voiddomainFileStatusChanged(DomainFile file, boolean fileIDset)Notification that the status for a domain file has changed.voiddomainFolderAdded(DomainFolder folder)Notification that a folder is added to parent.voiddomainFolderMoved(DomainFolder folder, DomainFolder oldParent)Notification that the domain folder was moved.voiddomainFolderRemoved(DomainFolder parent, java.lang.String name)Notification that a domain folder is removed.voiddomainFolderRenamed(DomainFolder folder, java.lang.String oldName)Notify listeners when a domain folder is renamed.voiddomainFolderSetActive(DomainFolder folder)Notification that the setActive() method on the folder was called.
 
- 
- 
- 
Method Detail- 
domainFolderAddedvoid domainFolderAdded(DomainFolder folder) Notification that a folder is added to parent.- Parameters:
- folder- domain folder which was just added.
 
 - 
domainFileAddedvoid domainFileAdded(DomainFile file) Notification that a file is added to parent folder. You can get the parent from the file.- Parameters:
- file- domain file which was just added.
 
 - 
domainFolderRemovedvoid domainFolderRemoved(DomainFolder parent, java.lang.String name) Notification that a domain folder is removed.- Parameters:
- parent- domain folder which contained the folder that was just removed.
- name- the name of the folder that was removed.
 
 - 
domainFileRemovedvoid domainFileRemoved(DomainFolder parent, java.lang.String name, java.lang.String fileID) Notification that a file was removed- Parameters:
- parent- domain folder which contained the file that was just removed.
- name- the name of the file that was removed.
- fileID- file ID or null
 
 - 
domainFolderRenamedvoid domainFolderRenamed(DomainFolder folder, java.lang.String oldName) Notify listeners when a domain folder is renamed.- Parameters:
- folder- folder that was renamed
- oldName- old name of folder
 
 - 
domainFileRenamedvoid domainFileRenamed(DomainFile file, java.lang.String oldName) Notification that the domain file was renamed.- Parameters:
- file- file that was renamed
- oldName- old name of the file
 
 - 
domainFolderMovedvoid domainFolderMoved(DomainFolder folder, DomainFolder oldParent) Notification that the domain folder was moved.- Parameters:
- folder- the folder (after move)
- oldParent- original parent folder
 
 - 
domainFileMovedvoid domainFileMoved(DomainFile file, DomainFolder oldParent, java.lang.String oldName) Notification that the domain file was moved.- Parameters:
- file- the file (after move)
- oldParent- original parent folder
 
 - 
domainFolderSetActivevoid domainFolderSetActive(DomainFolder folder) Notification that the setActive() method on the folder was called.
 - 
domainFileStatusChangedvoid domainFileStatusChanged(DomainFile file, boolean fileIDset) Notification that the status for a domain file has changed.- Parameters:
- file- file whose status has changed.
- fileIDset- if true indicates that the previously missing fileID has been established for the specified file.
 
 - 
domainFileObjectReplacedvoid domainFileObjectReplaced(DomainFile file, DomainObject oldObject) Notification that a new version of the domain object exists and the current one is no longer valid. Existing consumers should be immediately released and no additional use of the oldObject is permitted once this method returns. This is only called for domain objects which were opened for update.- Parameters:
- file- file whose object was replaced
- oldObject- old object that was replaced
 
 - 
domainFileObjectOpenedForUpdatevoid domainFileObjectOpenedForUpdate(DomainFile file, DomainObject object) Notification that a domain file has been opened for update.- Parameters:
- file- domain file
- object- domain object open for update
 
 - 
domainFileObjectClosedvoid domainFileObjectClosed(DomainFile file, DomainObject object) Notification that a domain file previously open for update is in the process of closing.- Parameters:
- file- domain file
- object- domain object which was open for update
 
 
- 
 
-