Package ghidra.app.merge
Class DataTypeArchiveMergeManagerPlugin
java.lang.Object
ghidra.framework.plugintool.Plugin
ghidra.app.merge.MergeManagerPlugin
ghidra.app.merge.DataTypeArchiveMergeManagerPlugin
- All Implemented Interfaces:
ProgramaticUseOnly
,DomainObjectListener
,PluginEventListener
,ServiceListener
,ExtensionPoint
,EventListener
Plugin that provides a merge component provider for data type archives.
-
Field Summary
Fields inherited from class ghidra.app.merge.MergeManagerPlugin
currentDomainObject, mergeManager, provider
Fields inherited from class ghidra.framework.plugintool.Plugin
name, pluginDescription, tool
-
Constructor Summary
ConstructorDescriptionDataTypeArchiveMergeManagerPlugin
(PluginTool tool, DataTypeArchiveMergeManager mergeManager, DataTypeArchive dataTypeArchive) Constructor for plugin that handles multi-user merge of data type archives. -
Method Summary
Modifier and TypeMethodDescriptionghidra.app.merge.MergeManagerProvider
Creates the provider that will be displayed in the merge tool.protected void
dispose()
Tells a plugin that it is no longer needed.void
processEvent
(PluginEvent event) Method called to process a plugin event.Methods inherited from class ghidra.app.merge.MergeManagerPlugin
canClose, closeAllDomainObjects, closeDomainObject, closeDomainObject, domainObjectChanged, getAllOpenDomainObjects, getCategory, getCurrentDomainObject, getDescription, getDescriptiveName, getSearchPriority, isVisible, openDomainObject, openDomainObject, openDomainObject, openDomainObject, openDomainObject, openDomainObject, releaseDomainObject, setCurrentDomainObject, setPersistentOwner, setSearchPriority
Methods inherited from class ghidra.framework.plugintool.Plugin
accept, acceptData, canCloseDomainObject, cleanup, close, dataStateRestoreCompleted, dependsUpon, deregisterService, equals, eventSent, firePluginEvent, getData, getMissingRequiredServices, getName, getPluginDescription, getServicesRequired, getSupportedDataTypes, getTool, getTransientState, getUndoRedoState, hashCode, hasMissingRequiredService, hasUnsaveData, init, internalRegisterEventConsumed, isDisposed, prepareToSave, readConfigState, readDataState, registerDynamicServiceProvided, registerServiceProvided, restoreTransientState, restoreUndoRedoState, saveData, serviceAdded, serviceRemoved, writeConfigState, writeDataState
-
Constructor Details
-
DataTypeArchiveMergeManagerPlugin
public DataTypeArchiveMergeManagerPlugin(PluginTool tool, DataTypeArchiveMergeManager mergeManager, DataTypeArchive dataTypeArchive) Constructor for plugin that handles multi-user merge of data type archives.- Parameters:
tool
- the toolmergeManager
- the merge manager that will control the merge processdataTypeArchive
- the data type archive
-
-
Method Details
-
createProvider
public ghidra.app.merge.MergeManagerProvider createProvider()Description copied from class:MergeManagerPlugin
Creates the provider that will be displayed in the merge tool. This shows the merge progress to the user and lets the user resolve conflicts. Any class that extends this plugin must provide its own MergeManagerProvider here that will be shown to the user for the merge.- Specified by:
createProvider
in classMergeManagerPlugin
- Returns:
- the merge provider associated with this plugin.
-
processEvent
Description copied from class:Plugin
Method called to process a plugin event. Plugins should override this method if the plugin processes PluginEvents;- Specified by:
processEvent
in classMergeManagerPlugin
- Parameters:
event
- plugin to process
-
dispose
protected void dispose()Description copied from class:Plugin
Tells 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.- Overrides:
dispose
in classMergeManagerPlugin
-