@OpenApi public class ProjectSpecificLocationRegister extends com.nomagic.magicdraw.utils.StandardObjectHolder implements FileLocationRegister
Modifier and Type | Method and Description |
---|---|
static ProjectSpecificLocationRegister |
getInstance(Project prj)
Method to get instance.
|
void |
setFileLocation(java.lang.String locationNameID,
java.io.File file)
Before saving file locations file is checked if it still exist.
|
_getInstance, _getInstances, getInstanceClass, getReferencedProject, registerInstance, resetAllCachedObjects, resetCachedObjects
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFileLocation
@OpenApi public static ProjectSpecificLocationRegister getInstance(@Nonnull Project prj)
prj
- project type object.@OpenApi public void setFileLocation(java.lang.String locationNameID, java.io.File file)
setFileLocation
in interface FileLocationRegister
locationNameID
- a unique id for storing/getting file locations.file
- type object