Class DataTypeArchiveMergeManagerPlugin

All Implemented Interfaces:
ProgramaticUseOnly, DomainObjectListener, PluginEventListener, ServiceListener, ExtensionPoint, EventListener

public class DataTypeArchiveMergeManagerPlugin extends MergeManagerPlugin
Plugin that provides a merge component provider for data type archives.
  • 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 tool
      mergeManager - the merge manager that will control the merge process
      dataTypeArchive - 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 class MergeManagerPlugin
      Returns:
      the merge provider associated with this plugin.
    • processEvent

      public void processEvent(PluginEvent event)
      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 class MergeManagerPlugin
      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 class MergeManagerPlugin