Class ProjectSourceContainer

  • All Implemented Interfaces:
    IAdaptable, ISourceContainer

    public class ProjectSourceContainer
    extends ContainerSourceContainer
    A project in the workspace. Source is searched for in the root project folder and all folders within the project recursively. Optionally, referenced projects may be searched as well.

    Clients may instantiate this class.

    This class is not intended to be subclassed by clients.
    • Field Detail

      • TYPE_ID

        public static final String TYPE_ID
        Unique identifier for the project source container type (value org.eclipse.debug.core.containerType.project).
    • Constructor Detail

      • ProjectSourceContainer

        public ProjectSourceContainer​(IProject project,
                                      boolean referenced)
        Constructs a project source container.
        project - the project to search for source in
        referenced - whether referenced projects should be considered
    • Method Detail

      • isSearchReferencedProjects

        public boolean isSearchReferencedProjects()
        Returns whether referenced projects are considered.
        whether referenced projects are considered
      • getProject

        public IProject getProject()
        Returns the project this source container references.
        the project this source container references
      • isComposite

        public boolean isComposite()
        Description copied from interface: ISourceContainer
        Returns whether this container is a composite container. A composite container is composed of other source containers. For example, a workspace source container may be composed of project source containers.
        Specified by:
        isComposite in interface ISourceContainer
        isComposite in class ContainerSourceContainer
        whether this container is a composite container