Interface CachingTreeContentProvider.CachingKeyProvider

All Known Implementing Classes:
SubsystemFilteringTreeContentProvider.SubsystemCachingKeyProvider
Enclosing class:
CachingTreeContentProvider

public static interface CachingTreeContentProvider.CachingKeyProvider
The caching elements key provider. Provides key for content provider to cache element children.
  • Method Summary

    Modifier and Type
    Method
    Description
    getKey(Object object)
    Returns element key to cache element children.
  • Method Details

    • getKey

      Object getKey(Object object)
      Returns element key to cache element children. Method must return equals keys for the same or equals elements. May return null if element children are not intended to be cached.
      Parameters:
      object - the tree element to get key to cache its children, cannot be null
      Returns:
      the element key to cache element children or null if element children are not intended to be cached