blob: 3a1dc78899bec163c07a74f17d4506aeb8bf67b5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2000, 2004 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.debug.internal.core.sourcelookup;
/**
* A source container type represents a kind of container of source code.
* For example, a source container type may be a project or a directory. A specific
* project or directory is represented by an instance of a source container type,
* which is called a source container (<code>ISourceContainer</code>).
* <p>
* A source container type is contributed via the <code>sourceContainerTypes</code>
* extension point, providing a delegate to the work specific to the contributed
* type.
* </p>
*
* @see org.eclipse.debug.internal.core.sourcelookup.ISourceContainer
* @see org.eclipse.debug.internal.core.sourcelookup.ISourceContainerTypeDelegate
* @since 3.0
*/
public interface ISourceContainerType extends ISourceContainerTypeDelegate {
/**
* Returns the name of this source container type that can be used for
* presentation purposes. For example, <code>Working Set</code> or
* <code>Project</code>. The value returned is
* identical to the name specified in plugin.xml by the <code>name</code>
* attribute.
*
* @return the name of this source container type
*/
public String getName();
/**
* Returns the unique identifier associated with this source container type.
* The value returned is identical to the identifier specified in plugin.xml by
* the <code>id</code> attribute.
*
* @return the unique identifier associated with this source container type
*/
public String getId();
}