Class InstanceCache
- java.lang.Object
 - 
- com.inductiveautomation.factorypmi.designer.search.InstanceCache
 
 
- 
public class InstanceCache extends java.lang.Object 
- 
- 
Constructor Summary
Constructors Constructor Description InstanceCache(VisionDesignerImpl designer) 
- 
Method Summary
All 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
- 
InstanceCache
public InstanceCache(VisionDesignerImpl designer)
 
 - 
 
- 
Method Detail
- 
isWindowAvailable
public boolean isWindowAvailable(ResourcePath path)
 
- 
getDesigner
public VisionDesignerInterface getDesigner()
 
- 
getWindow
public 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
 
- 
purge
public void purge(ResourcePath path)
 
- 
notifyChanged
public void notifyChanged(ResourcePath path)
 
- 
releaseUnmodifiedLocks
public void releaseUnmodifiedLocks()
Release any window locks we acquired where the window is unchanged and the window isn't open for design 
- 
closeAndSerialize
public void closeAndSerialize()
 
 - 
 
 -