Package com.nomagic.magicdraw.uml
Class RepresentationTextCreator.RepresentationTextCache
- java.lang.Object
-
- com.nomagic.magicdraw.core.project.service.AbstractProjectService
-
- com.nomagic.magicdraw.utils.ResetableProjectCache
-
- com.nomagic.magicdraw.utils.AbstractProjectCache<RepresentationTextCreator.RepresentationTextCache.Key,java.lang.String>
-
- com.nomagic.magicdraw.uml.RepresentationTextCreator.RepresentationTextCache
-
- All Implemented Interfaces:
com.nomagic.magicdraw.core.project.service.DisposableService,com.nomagic.magicdraw.utils.DisableableResetableCache,com.nomagic.magicdraw.utils.ResetableCache
- Enclosing class:
- RepresentationTextCreator
private static final class RepresentationTextCreator.RepresentationTextCache extends com.nomagic.magicdraw.utils.AbstractProjectCache<RepresentationTextCreator.RepresentationTextCache.Key,java.lang.String>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classRepresentationTextCreator.RepresentationTextCache.Key
-
Constructor Summary
Constructors Modifier Constructor Description privateRepresentationTextCache(Project prj)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear(BaseElement element)(package private) static RepresentationTextCreator.RepresentationTextCachegetInstance(Project project)(package private) static RepresentationTextCreator.RepresentationTextCachegetInstance(BaseElement el)(package private) static RepresentationTextCreator.RepresentationTextCache.KeygetKey(BaseElement el, RepresentationTextParams textParams)-
Methods inherited from class com.nomagic.magicdraw.utils.AbstractProjectCache
containsKey, disableCache, enableCache, get, getCache, getOrPut, invalidateCache, put, remove, setCacheEnabled
-
Methods inherited from class com.nomagic.magicdraw.utils.ResetableProjectCache
addValidator, disposeService, removeValidator
-
-
-
-
Constructor Detail
-
RepresentationTextCache
private RepresentationTextCache(Project prj)
-
-
Method Detail
-
getInstance
@CheckForNull static RepresentationTextCreator.RepresentationTextCache getInstance(@CheckForNull Project project)
-
getInstance
@CheckForNull static RepresentationTextCreator.RepresentationTextCache getInstance(BaseElement el)
-
clear
public void clear(@CheckForNull BaseElement element)
-
getKey
static RepresentationTextCreator.RepresentationTextCache.Key getKey(BaseElement el, RepresentationTextParams textParams)
-
-