Class NavigatableComponentProviderAdapter

    • Constructor Detail

      • NavigatableComponentProviderAdapter

        public NavigatableComponentProviderAdapter​(PluginTool tool,
                                                   java.lang.String name,
                                                   java.lang.String owner,
                                                   java.lang.Class<?> contextType)
    • Method Detail

      • getIcon

        public javax.swing.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 javax.swing.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, false if it is still good
        Specified by:
        isDisposed in interface Navigatable
        Returns:
        true if this navigatable is no longer valid, false if it is still good
      • 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)