i2 Notebook SDK
Search results for

    Show/hide table of contents

    Home > @i2analyze/notebook-sdk > toolview > IVolatileStore

    toolview.IVolatileStore interface

    The volatile store that i2 Notebook makes available to tool views.

    Signature:

    interface IVolatileStore 
    

    Introduced: version 1.0

    Remarks

    When a tool view goes from being docked to undocked (or vice versa), or from being open to closed, its window is unloaded and any information associated with the window is lost.

    The purpose of the volatile store is to let you retain information when the window is unloaded, and then restore it when the window is re-created. The store is "volatile" because its contents are lost when the i2 Notebook application window is closed or reloaded.

    Methods

    Method Description
    clear() Clears all keys from the volatile store.
    delete(key) Deletes a key from the volatile store.
    get(key) Reads the value of a key in the volatile store.
    set(key, value) Creates or updates a key in the volatile store.
    In this article
    Back to top © N. Harris Computer Corporation