Class InstanceCache
- java.lang.Object
- 
- com.inductiveautomation.factorypmi.designer.search.InstanceCache
 
- 
 public class InstanceCache extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description InstanceCache(VisionDesignerImpl designer)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcloseAndSerialize()VisionDesignerInterfacegetDesigner()TopLevelContainergetWindow(ResourcePath path)Gets the window/template for the given resource id.booleanisWindowAvailable(ResourcePath path)voidnotifyChanged(ResourcePath path)voidpurge(ResourcePath path)voidreleaseUnmodifiedLocks()Release any window locks we acquired where the window is unchanged and the window isn't open for design
 
- 
- 
- 
Constructor Detail- 
InstanceCachepublic InstanceCache(VisionDesignerImpl designer) 
 
- 
 - 
Method Detail- 
isWindowAvailablepublic boolean isWindowAvailable(ResourcePath path) 
 - 
getDesignerpublic VisionDesignerInterface getDesigner() 
 - 
getWindowpublic TopLevelContainer getWindow(ResourcePath path) throws WindowLockedException Gets the window/template for the given resource id. If this is the first time the window has been retrieved, it will be deserialized.- Throws:
- WindowLockedException
 
 - 
purgepublic void purge(ResourcePath path) 
 - 
notifyChangedpublic void notifyChanged(ResourcePath path) 
 - 
releaseUnmodifiedLockspublic void releaseUnmodifiedLocks() Release any window locks we acquired where the window is unchanged and the window isn't open for design
 - 
closeAndSerializepublic void closeAndSerialize() 
 
- 
 
-