BasicDetailViewCache API, instead.@Deprecated public class DefaultTreeMasterDetailCache extends Object implements TreeMasterDetailCache
DETAIL_VIEW_CACHE_SIZE, EMPTY| Constructor and Description |
|---|
DefaultTreeMasterDetailCache()
Deprecated.
Creates a cache with maximal 5 entries.
|
DefaultTreeMasterDetailCache(int maxEntries)
Deprecated.
Creates a cache with a custom number of maximal entries.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cache(ECPSWTView ecpView)
Deprecated.
Caches the provided
ECPSWTView to allow it to be reused later. |
void |
clear()
Deprecated.
Dispose all cached views, emptying the cache.
|
ECPSWTView |
getCachedView(org.eclipse.emf.ecore.EObject selection)
Deprecated.
Returns the previously cached view for the provided selection.
|
boolean |
isChached(org.eclipse.emf.ecore.EObject selection)
Deprecated.
Checks whether there is already a cached view available.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcacheView, isCachedcreateCachepublic DefaultTreeMasterDetailCache()
public DefaultTreeMasterDetailCache(int maxEntries)
maxEntries - The number of maximal entries to cachepublic boolean isChached(org.eclipse.emf.ecore.EObject selection)
TreeMasterDetailCacheisChached in interface TreeMasterDetailCacheselection - The new selection of the treepublic ECPSWTView getCachedView(org.eclipse.emf.ecore.EObject selection)
TreeMasterDetailCachegetCachedView in interface DetailViewCachegetCachedView in interface TreeMasterDetailCacheselection - The new selection of the treeDetailViewCache.isCached(EObject)public void cache(ECPSWTView ecpView)
TreeMasterDetailCacheECPSWTView to allow it to be reused later.cache in interface TreeMasterDetailCacheecpView - The ECPSWTView to cache.public void clear()
DetailViewCacheclear in interface DetailViewCacheCopyright © 2019. All rights reserved.