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.

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

    • TYPE_ID

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

    • DefaultSourceContainer

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

    • equals

      public boolean equals(Object obj)
      equals in class Object
    • hashCode

      public int hashCode()
      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.
      the launch configuration for which a default source lookup path will be computed, or null
    • getType

      public ISourceContainerType getType()
      Description copied from interface: ISourceContainer
      Returns this container's type.
      this container's type
    • 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.
      the name of this source container
    • createSourceContainers

      protected ISourceContainer[] createSourceContainers() throws CoreException
      Description copied from class: CompositeSourceContainer
      Creates the source containers in this composite container. Subclasses should override this methods.
      Specified by:
      createSourceContainers in class CompositeSourceContainer
      the array of ISourceContainers
      CoreException - if unable to create the containers