Package jetbrains.mps.library
Class SLibrary
- java.lang.Object
 - 
- jetbrains.mps.library.SLibrary
 
 
- 
- All Implemented Interfaces:
 Comparable<SLibrary>,MPSModuleOwner
public class SLibrary extends Object implements MPSModuleOwner, Comparable<SLibrary>
SLibrary tracks a pathmyFilewith modules inside. It listens to file system events and reloads modules from disk if necessary. It is actually the layer between SRepository and SModule in the repository hierarchy (as well as the Project). [The repository consists from library modules, project modules and several special modules (there are few of them)] evgeny, 11/3/12 
- 
- 
Constructor Summary
Constructors Constructor Description SLibrary(SRepositoryExt repoToUpdate, LibDescriptor pathDescriptor, boolean hidden) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SLibrary another)booleanequals(Object o)IFilegetFile()ClassLoadergetPluginClassLoader()inthashCode()booleanisHidden()StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
SLibrary
public SLibrary(@NotNull SRepositoryExt repoToUpdate, LibDescriptor pathDescriptor, boolean hidden)
 
 - 
 
- 
Method Detail
- 
getPluginClassLoader
@Nullable public ClassLoader getPluginClassLoader()
- Returns:
 - a classloader which will be the parent for all ModuleClassLoaders created for the modules in this SLibrary
 
 
- 
isHidden
public boolean isHidden()
- Specified by:
 isHiddenin interfaceMPSModuleOwner- Returns:
 - the 'hidden' status for the different kinds of owners. visibility has strict definition here, however I suppose that the owner is hidden implicates that its modules are not visible to a user (module properties dialog, etc.).
 
 
- 
compareTo
public int compareTo(@NotNull SLibrary another)
- Specified by:
 compareToin interfaceComparable<SLibrary>
 
 - 
 
 -