Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4acb5e59fcba5d45bea5796d0a7aa59a329348d3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*******************************************************************************
 * Copyright (c) 2003, 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.ui.sourcelookup;

import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.internal.core.sourcelookup.ISourceContainer;
import org.eclipse.swt.widgets.Shell;


/**
 * User interface used to create a new source container. Contributed via
 * a source container presentation extension.
 * <p>
 * THIS INTERFACE IS EXPERIMENTAL AND SUBJECT TO CHANGE
 * </p>
 * 
 *@see ISourceContainerType
 *@since 3.0
 */
public interface ISourceContainerBrowser {
	/**
	 * Creates and returns new source containers for a source container type
	 * the user has selected to add to the given launch configuration.
	 * 
	 * @param shell the shell to use to display any dialogs
	 * @param configuration the launch configuration being edited
	 * @return the new source container or containers
	 */
	public ISourceContainer[] createSourceContainers(Shell shell, ILaunchConfiguration configuration);
	
}

Back to the top