Class VisionTemplateAdapter
java.lang.Object
com.inductiveautomation.ignition.common.project.resource.adapter.DefaultResourceTypeAdapter
com.inductiveautomation.ignition.common.project.resource.adapter.VisionTemplateAdapter
- All Implemented Interfaces:
- ResourceTypeAdapter
- 
Field SummaryFields inherited from interface com.inductiveautomation.ignition.common.project.resource.adapter.ResourceTypeAdapterLEGACY_SINGLETON_ERRORED_NAME_PATTERN
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetResourceDir(String projectName) Returns the path to the resource directory for the resource being adapted.Methods inherited from class com.inductiveautomation.ignition.common.project.resource.adapter.DefaultResourceTypeAdaptergetNewResourceTypeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.common.project.resource.adapter.ResourceTypeAdapteradaptData, getResourceFileName, getResourcePath
- 
Constructor Details- 
VisionTemplateAdapterpublic VisionTemplateAdapter()
 
- 
- 
Method Details- 
getResourceDirDescription copied from interface:ResourceTypeAdapterReturns the path to the resource directory for the resource being adapted.The default implementation is a simple Path with one component: the value of ResourceTypeAdapter.getNewResourceType().Custom implementations should may provide additional components but must begin with ResourceTypeAdapter.getNewResourceType().Most types won't care about projectName, but if this is called during a project import or upgrade from a legacy (<= 7.9),projectNamemay be important.- Parameters:
- projectName- the name of the project the resource being adapted belongs to.
 
 
-