Interface ServiceListener

All Known Implementing Classes:
ComponentInfoPlugin, DataTypeArchiveMergeManagerPlugin, DataTypeDecompilerHoverPlugin, DbViewerPlugin, DomainEventDisplayPlugin, DomainFolderChangesDisplayPlugin, DWARFExternalDebugFilesPlugin, EventDisplayPlugin, FileSystemBrowserPlugin, FrontEndPlugin, FunctionSignatureDecompilerHoverPlugin, GenerateOldLanguagePlugin, ImporterPlugin, JavaHelpPlugin, ListingMergePanelPlugin, MergeManagerPlugin, Plugin, ProgramMergeManagerPlugin, ProgramPlugin, PropertyManagerPlugin, PythonPlugin, ReferenceDecompilerHoverPlugin, RuntimeInfoPlugin, ScalarValueDecompilerHoverPlugin, ScreenshotPlugin, ThemeManagerPlugin, WindowLocationPlugin

public interface ServiceListener
Notifications for when services are added to or removed from a PluginTool.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    serviceAdded(Class<?> interfaceClass, Object service)
    Notifies the listener that a service has been added to the tool.
    void
    serviceRemoved(Class<?> interfaceClass, Object service)
    Notifies the listener that a service has been removed from the tool.
  • Method Details

    • serviceAdded

      void serviceAdded(Class<?> interfaceClass, Object service)
      Notifies the listener that a service has been added to the tool.
      Parameters:
      interfaceClass - the interface class that the given service implements.
      service - the implementation of the service.
    • serviceRemoved

      void serviceRemoved(Class<?> interfaceClass, Object service)
      Notifies the listener that a service has been removed from the tool.
      Parameters:
      interfaceClass - the interface class that the given service implements.
      service - the implementation of the service.