Class DefaultSourceContainer

  • All Implemented Interfaces:
    IAdaptable, ISourceContainer

    public class DefaultSourceContainer
    extends CompositeSourceContainer
    A source container that computer the default source lookup path for a launch configuration on each launch using a launch configuration's associated source path computer.

    Clients may instantiate this class.

    Since:
    3.0
    Restriction:
    This class is not intended to be subclassed by clients.
    • Field Detail

      • TYPE_ID

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

      • DefaultSourceContainer

        public DefaultSourceContainer()
        Constructs a default source container.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getLaunchConfiguration

        protected ILaunchConfiguration getLaunchConfiguration()
        Returns the launch configuration for which a default source lookup path will be computed, or null if none.
        Returns:
        the launch configuration for which a default source lookup path will be computed, or null
      • getName

        public String getName()
        Description copied from interface: ISourceContainer
        The name of this source container that can be used for presentation purposes. For example, the name of a project.
        Returns:
        the name of this source container