Class NavigatableComponentProviderAdapter

java.lang.Object
docking.ComponentProvider
ghidra.framework.plugintool.ComponentProviderAdapter
ghidra.framework.plugintool.NavigatableComponentProviderAdapter
All Implemented Interfaces:
ActionContextProvider, Navigatable, HelpDescriptor

public abstract class NavigatableComponentProviderAdapter extends ComponentProviderAdapter implements Navigatable
  • Constructor Details

    • NavigatableComponentProviderAdapter

      public NavigatableComponentProviderAdapter(PluginTool tool, String name, String owner, Class<?> contextType)
  • Method Details

    • getIcon

      public Icon getIcon()
      Description copied from class: ComponentProvider
      Returns the Icon associated with the component view
      Overrides:
      getIcon in class ComponentProvider
      Returns:
      the Icon associated with the component view
    • getNavigatableIcon

      public Icon getNavigatableIcon()
      Description copied from interface: Navigatable
      Returns an icon that represents this Navigatable
      Specified by:
      getNavigatableIcon in interface Navigatable
      Returns:
      the icon
    • isConnected

      public boolean isConnected()
      Description copied from interface: Navigatable
      Returns true if this Navigatable is "connected". Navigatables are connected if they produce and consume location and selection events.
      Specified by:
      isConnected in interface Navigatable
      Returns:
      true if this Navigatable is "connected"
    • supportsMarkers

      public boolean supportsMarkers()
      Description copied from interface: Navigatable
      Currently only the 'connected' windows support markers
      Specified by:
      supportsMarkers in interface Navigatable
      Returns:
      true if this navigatable supports markers
    • setConnected

      protected void setConnected(boolean newValue)
    • isDisposed

      public boolean isDisposed()
      Description copied from interface: Navigatable
      Returns true if this navigatable is no longer valid
      Specified by:
      isDisposed in interface Navigatable
      Returns:
      true if this navigatable is no longer valid
    • dispose

      public void dispose()
    • addNavigatableListener

      public void addNavigatableListener(NavigatableRemovalListener listener)
      Description copied from interface: Navigatable
      Adds a listener to be notified if this Navigatable is terminated
      Specified by:
      addNavigatableListener in interface Navigatable
      Parameters:
      listener - the listener to be notified when this Navigatable is closed
    • removeNavigatableListener

      public void removeNavigatableListener(NavigatableRemovalListener listener)
      Description copied from interface: Navigatable
      Removes a listener to be notified if this Navigatable is terminated.
      Specified by:
      removeNavigatableListener in interface Navigatable
      Parameters:
      listener - the listener that no longer should be notified when this Navigatable is closed.
    • readDataState

      public void readDataState(SaveState saveState)
    • writeDataState

      public void writeDataState(SaveState saveState)