Class WorkspaceConfig

  • All Implemented Interfaces:
    IWorkspaceConfig

    public class WorkspaceConfig
    extends java.lang.Object
    implements IWorkspaceConfig
    The default workspace consists of multiple projects and always contains the unknown project that is used for projectless files.
    • Constructor Detail

      • WorkspaceConfig

        public WorkspaceConfig​(IProjectConfig... initialProjects)
    • Method Detail

      • getProjects

        public java.util.Set<? extends IProjectConfig> getProjects()
        Specified by:
        getProjects in interface IWorkspaceConfig
        Returns:
        the set of projects belonging to the current workspace. Note that these are usually only populated in the context of an IDE.
      • findProjectContaining

        public IProjectConfig findProjectContaining​(org.eclipse.emf.common.util.URI member)
        Specified by:
        findProjectContaining in interface IWorkspaceConfig
        Returns:
        the project whose source folders physically contain this member or null if none was found