@Deprecated
@OpenApiAll
public interface MountTable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MODULE_UNLOADING_PROPERTY_FINISH
Deprecated.
Property name showing finishing of modules unloading
|
static java.lang.String |
MODULE_UNLOADING_PROPERTY_START
Deprecated.
Property name showing starting of modules unloading
|
Modifier and Type | Method and Description |
---|---|
void |
addModule(ModuleDescriptor descriptor)
Deprecated.
Adds module descriptor as it is without any checking.
|
void |
addMountTableListener(com.nomagic.magicdraw.core.modules.MountTableListener listener)
Deprecated.
Adds a new mount table listener.
|
ModuleDescriptor |
createModule(ProjectDescriptor resource)
Deprecated.
Creates new module in this project.
|
java.util.Collection<ModuleDescriptor> |
getModules()
Deprecated.
Collection type is
ModuleDescriptor |
void |
importModule(ModuleDescriptor module)
Deprecated.
Removes module descriptor and makes all its contents as it is local project content.
|
void |
loadIndex(ModuleDescriptor module,
ProgressStatus status)
Deprecated.
Loads module index.
|
void |
loadModule(ModuleDescriptor module,
ProgressStatus status)
Deprecated.
Loads given module into the memory.
|
ModuleDescriptor |
mountModule(ProjectDescriptor module)
Deprecated.
Mounts module into current project.
|
void |
reloadModule(ModuleDescriptor module,
ProgressStatus status)
Deprecated.
Reloads module.
|
void |
removeModule(ModuleDescriptor descriptor)
Deprecated.
Removes module descriptor without any checking
|
void |
removeMountTableListener(com.nomagic.magicdraw.core.modules.MountTableListener listener)
Deprecated.
Removes old mount table listener.
|
void |
unloadModule(Project project,
ModuleDescriptor module,
boolean unloadSubmodules,
ProgressStatus status)
Deprecated.
Removes module from memory.
|
void |
unmountModule(ModuleDescriptor module,
boolean disposeMounts)
Deprecated.
Removes all mounts from this module from the project.
|
static final java.lang.String MODULE_UNLOADING_PROPERTY_START
static final java.lang.String MODULE_UNLOADING_PROPERTY_FINISH
ModuleDescriptor mountModule(ProjectDescriptor module) throws java.io.IOException
module
- module to mountjava.io.IOException
- when module is invalidvoid unmountModule(ModuleDescriptor module, boolean disposeMounts) throws java.io.IOException
module
- disposeMounts
- java.io.IOException
java.util.Collection<ModuleDescriptor> getModules()
ModuleDescriptor
void importModule(ModuleDescriptor module) throws java.io.IOException
module
- to import.java.io.IOException
void unloadModule(Project project, ModuleDescriptor module, boolean unloadSubmodules, ProgressStatus status) throws java.io.IOException
project
- module
- module to unload.unloadSubmodules
- calculates not used submodules and unloads also.status
- progress status to display progress of current operation.java.io.IOException
void reloadModule(ModuleDescriptor module, ProgressStatus status) throws java.io.IOException
module
- module to reload.status
- progress status to display progress of current operation.java.io.IOException
void loadModule(ModuleDescriptor module, ProgressStatus status) throws java.io.IOException
module
- module to load.status
- progress status to display progress of current operation.java.io.IOException
void loadIndex(ModuleDescriptor module, ProgressStatus status) throws java.io.IOException
module
- module index to load.java.io.IOException
ModuleDescriptor createModule(ProjectDescriptor resource) throws java.io.IOException
resource
- resource associated to module.java.io.IOException
void addModule(ModuleDescriptor descriptor)
descriptor
- descriptor to add.void removeModule(ModuleDescriptor descriptor)
descriptor
- void addMountTableListener(com.nomagic.magicdraw.core.modules.MountTableListener listener)
listener
- mount table listener.void removeMountTableListener(com.nomagic.magicdraw.core.modules.MountTableListener listener)
listener
- mount table listener.