@OpenApi public final class ProjectSpecificLocationRegister extends com.nomagic.magicdraw.core.project.service.AbstractProjectService 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.
|
disposeService, getInternalInstance, getKey, getReferencedProject, registerInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFileLocation
@OpenApi public static ProjectSpecificLocationRegister getInstance(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