Class SLibrary

  • All Implemented Interfaces:
    Comparable<SLibrary>, MPSModuleOwner

    public class SLibrary
    extends Object
    implements MPSModuleOwner, Comparable<SLibrary>
    SLibrary tracks a path myFile with 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
    • 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:
        isHidden in interface MPSModuleOwner
        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.).
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object