Package ghidra.app.plugin.debug
Class DomainFolderChangesDisplayPlugin
java.lang.Object
ghidra.framework.plugintool.Plugin
ghidra.app.plugin.debug.DomainFolderChangesDisplayPlugin
- All Implemented Interfaces:
- ApplicationLevelOnlyPlugin,- ApplicationLevelPlugin,- DomainFolderChangeListener,- ProjectListener,- PluginEventListener,- ServiceListener,- ExtensionPoint
public class DomainFolderChangesDisplayPlugin
extends Plugin
implements ApplicationLevelOnlyPlugin, ProjectListener, DomainFolderChangeListener
- 
Field SummaryFields inherited from class ghidra.framework.plugintool.Pluginname, pluginDescription, tool
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voiddispose()Tells a plugin that it is no longer needed.voiddomainFileAdded(DomainFile file) Notification that a file is added to parent folder.voiddomainFileMoved(DomainFile file, DomainFolder oldParent, 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.voiddomainFileRemoved(DomainFolder parent, String folderName, String fileID) Notification that a file was removedvoiddomainFileRenamed(DomainFile file, 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, String folderName) Notification that a domain folder is removed.voiddomainFolderRenamed(DomainFolder folder, String oldName) Notify listeners when a domain folder is renamed.voiddomainFolderSetActive(DomainFolder folder) Notification that the setActive() method on the folder was called.protected voidinit()Initialization method; override to add initialization for this plugin.voidprojectClosed(Project project) Notification that the given project is closed.voidprojectOpened(Project project) Notification that the given project is open.voidserviceAdded(Class<?> interfaceClass, Object service) Notifies this plugin that a service has been added to the plugin tool.voidserviceRemoved(Class<?> interfaceClass, Object service) Notifies this plugin that service has been removed from the plugin tool.Methods inherited from class ghidra.framework.plugintool.Pluginaccept, acceptData, canClose, canCloseDomainObject, cleanup, close, dataStateRestoreCompleted, dependsUpon, deregisterService, equals, eventSent, firePluginEvent, getData, getMissingRequiredServices, getName, getPluginDescription, getServicesRequired, getSupportedDataTypes, getTool, getTransientState, getUndoRedoState, hashCode, hasMissingRequiredService, hasUnsaveData, internalRegisterEventConsumed, isDisposed, prepareToSave, processEvent, readConfigState, readDataState, registerDynamicServiceProvided, registerServiceProvided, restoreTransientState, restoreUndoRedoState, saveData, writeConfigState, writeDataState
- 
Constructor Details- 
DomainFolderChangesDisplayPlugin
 
- 
- 
Method Details- 
serviceRemovedDescription copied from class:PluginNotifies this plugin that service has been removed from the plugin tool. Plugins should override this method if they update their state when a particular service is removed.- Specified by:
- serviceRemovedin interface- ServiceListener
- Overrides:
- serviceRemovedin class- Plugin
- Parameters:
- interfaceClass- The interface of the added service
- service- that is being removed.
 
- 
serviceAddedDescription copied from class:PluginNotifies this plugin that a service has been added to the plugin tool. Plugins should override this method if they update their state when a particular service is added.- Specified by:
- serviceAddedin interface- ServiceListener
- Overrides:
- serviceAddedin class- Plugin
- Parameters:
- interfaceClass- The interface of the added service
- service- service that is being added
 
- 
initprotected void init()Description copied from class:PluginInitialization method; override to add initialization for this plugin. This is where a plugin should acquire its services. When this method is called, all plugins have been instantiated in the tool.
- 
disposeprotected void dispose()Description copied from class:PluginTells a plugin that it is no longer needed. The plugin should release any resources that it has. All actions, components, services will automatically be cleaned up.
- 
projectOpenedDescription copied from interface:ProjectListenerNotification that the given project is open.- Specified by:
- projectOpenedin interface- ProjectListener
- Parameters:
- project- project that is opened
 
- 
projectClosedDescription copied from interface:ProjectListenerNotification that the given project is closed.- Specified by:
- projectClosedin interface- ProjectListener
- Parameters:
- project- project that is closed
 
- 
domainFolderAddedDescription copied from interface:DomainFolderChangeListenerNotification that a folder is added to parent.- Specified by:
- domainFolderAddedin interface- DomainFolderChangeListener
- Parameters:
- folder- domain folder which was just added.
 
- 
domainFileAddedDescription copied from interface:DomainFolderChangeListenerNotification that a file is added to parent folder. You can get the parent from the file.- Specified by:
- domainFileAddedin interface- DomainFolderChangeListener
- Parameters:
- file- domain file which was just added.
 
- 
domainFolderRemovedDescription copied from interface:DomainFolderChangeListenerNotification that a domain folder is removed.- Specified by:
- domainFolderRemovedin interface- DomainFolderChangeListener
- Parameters:
- parent- domain folder which contained the folder that was just removed.
- folderName- the name of the folder that was removed.
 
- 
domainFileRemovedDescription copied from interface:DomainFolderChangeListenerNotification that a file was removed- Specified by:
- domainFileRemovedin interface- DomainFolderChangeListener
- Parameters:
- parent- domain folder which contained the file that was just removed.
- folderName- the name of the file that was removed.
- fileID- file ID or null
 
- 
domainFolderRenamedDescription copied from interface:DomainFolderChangeListenerNotify listeners when a domain folder is renamed.- Specified by:
- domainFolderRenamedin interface- DomainFolderChangeListener
- Parameters:
- folder- folder that was renamed
- oldName- old name of folder
 
- 
domainFileRenamedDescription copied from interface:DomainFolderChangeListenerNotification that the domain file was renamed.- Specified by:
- domainFileRenamedin interface- DomainFolderChangeListener
- Parameters:
- file- file that was renamed
- oldName- old name of the file
 
- 
domainFolderMovedDescription copied from interface:DomainFolderChangeListenerNotification that the domain folder was moved.- Specified by:
- domainFolderMovedin interface- DomainFolderChangeListener
- Parameters:
- folder- the folder (after move)
- oldParent- original parent folder
 
- 
domainFileMovedDescription copied from interface:DomainFolderChangeListenerNotification that the domain file was moved.- Specified by:
- domainFileMovedin interface- DomainFolderChangeListener
- Parameters:
- file- the file (after move)
- oldParent- original parent folder
- oldName- file name prior to move
 
- 
domainFolderSetActiveDescription copied from interface:DomainFolderChangeListenerNotification that the setActive() method on the folder was called.- Specified by:
- domainFolderSetActivein interface- DomainFolderChangeListener
- Parameters:
- folder- folder which was activated/visited
 
- 
domainFileStatusChangedDescription copied from interface:DomainFolderChangeListenerNotification that the status for a domain file has changed.- Specified by:
- domainFileStatusChangedin interface- DomainFolderChangeListener
- Parameters:
- file- file whose status has changed.
- fileIDset- if true indicates that the previously missing fileID has been established for the specified file.
 
- 
domainFileObjectOpenedForUpdateDescription copied from interface:DomainFolderChangeListenerNotification that a domain file has been opened for update.- Specified by:
- domainFileObjectOpenedForUpdatein interface- DomainFolderChangeListener
- Parameters:
- file- domain file
- object- domain object open for update
 
- 
domainFileObjectClosedDescription copied from interface:DomainFolderChangeListenerNotification that a domain file previously open for update is in the process of closing.- Specified by:
- domainFileObjectClosedin interface- DomainFolderChangeListener
- Parameters:
- file- domain file
- object- domain object which was open for update
 
 
-