Interface VisualGraphFeaturette<V extends VisualVertex,​E extends VisualEdge<V>,​G extends VisualGraph<V,​E>>

    • Method Detail

      • init

        void init​(VisualGraphComponentProvider<V,​E,​G> provider)
        Called to initialize this feature when the provider and view are ready
        Parameters:
        provider - the provider associated with this feature
      • writeConfigState

        void writeConfigState​(SaveState state)
        Called when the client wishes to save configuration state. Features can add any state they wish to be persisted over tool launches.
        Parameters:
        state - the container for state information
      • readConfigState

        void readConfigState​(SaveState saveState)
        Called when the client wishes to restore configuration state. Features can read state previously saved from a call to writeConfigState(SaveState).
        Parameters:
        state - the container for state information
      • providerOpened

        void providerOpened​(VisualGraphComponentProvider<V,​E,​G> provider)
        Called when the client provider is opened
        Parameters:
        provider - the provider
      • providerClosed

        void providerClosed​(VisualGraphComponentProvider<V,​E,​G> provider)
        Called when the client provider is closed
        Parameters:
        provider - the provider
      • remove

        void remove()
        Called when the provider is being disposed