list.add( temp );
list.add(i, temp );
	private void cofigLaunch( ILaunch launch, ILaunchConfiguration configuration )	{		if ( launch.getSourceLocator( ) instanceof JavaSourceLookupDirector )		{			JavaSourceLookupDirector director = ( JavaSourceLookupDirector ) launch					.getSourceLocator( );			ISourceContainer[] contains = director.getSourceContainers( );			List list = new ArrayList( );			if ( contains != null && contains.length != 0 )			{				for ( int i = 0; i < contains.length; i++ )				{					list.add( contains[i] );				}			}			try			{				List sourcePaths = getAllProjectSourcePaths( configuration						.getAttribute( IMPORTPROJECTNAMES, "" ) );				for ( int i = 0; i < sourcePaths.size( ); i++ )				{//					String source = ( String ) sourcePaths.get( i );//					ISourceContainer temp = new DirectorySourceContainer(//							new Path( source ), true );//					list.add( temp );										IJavaProject source = ( IJavaProject ) sourcePaths.get( i );					ISourceContainer temp = new JavaProjectSourceContainer(							source);					list.add( temp );				}			} catch ( CoreException e )			{			}			ISourceContainer[] retValue = new ISourceContainer[list.size( )];			retValue = ( ISourceContainer[] ) list.toArray( retValue );			director.setSourceContainers( retValue );		}	}