Package ghidra.framework.model
Interface DomainFolderChangeListener
- All Known Implementing Classes:
DomainFolderChangesDisplayPlugin
,DomainFolderListenerAdapter
,ProjectIndexService
public interface DomainFolderChangeListener
Methods for notifications when changes are made to a domain folder or
a domain file.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
domainFileAdded
(DomainFile file) Notification that a file is added to parent folder.default void
domainFileMoved
(DomainFile file, DomainFolder oldParent, String oldName) Notification that the domain file was moved.default void
domainFileObjectClosed
(DomainFile file, DomainObject object) Notification that a domain file previously open for update is in the process of closing.default void
domainFileObjectOpenedForUpdate
(DomainFile file, DomainObject object) Notification that a domain file has been opened for update.default void
domainFileRemoved
(DomainFolder parent, String name, String fileID) Notification that a file was removeddefault void
domainFileRenamed
(DomainFile file, String oldName) Notification that the domain file was renamed.default void
domainFileStatusChanged
(DomainFile file, boolean fileIDset) Notification that the status for a domain file has changed.default void
domainFolderAdded
(DomainFolder folder) Notification that a folder is added to parent.default void
domainFolderMoved
(DomainFolder folder, DomainFolder oldParent) Notification that the domain folder was moved.default void
domainFolderRemoved
(DomainFolder parent, String name) Notification that a domain folder is removed.default void
domainFolderRenamed
(DomainFolder folder, String oldName) Notify listeners when a domain folder is renamed.default void
domainFolderSetActive
(DomainFolder folder) Notification that the setActive() method on the folder was called.
-
Method Details
-
domainFolderAdded
Notification that a folder is added to parent.- Parameters:
folder
- domain folder which was just added.
-
domainFileAdded
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.
-
domainFolderRemoved
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.
-
domainFileRemoved
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
-
domainFolderRenamed
Notify listeners when a domain folder is renamed.- Parameters:
folder
- folder that was renamedoldName
- old name of folder
-
domainFileRenamed
Notification that the domain file was renamed.- Parameters:
file
- file that was renamedoldName
- old name of the file
-
domainFolderMoved
Notification that the domain folder was moved.- Parameters:
folder
- the folder (after move)oldParent
- original parent folder
-
domainFileMoved
Notification that the domain file was moved.- Parameters:
file
- the file (after move)oldParent
- original parent folderoldName
- file name prior to move
-
domainFolderSetActive
Notification that the setActive() method on the folder was called.- Parameters:
folder
- folder which was activated/visited
-
domainFileStatusChanged
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.
-
domainFileObjectOpenedForUpdate
Notification that a domain file has been opened for update.- Parameters:
file
- domain fileobject
- domain object open for update
-
domainFileObjectClosed
Notification that a domain file previously open for update is in the process of closing.- Parameters:
file
- domain fileobject
- domain object which was open for update
-