Package org.eclipse.debug.core.sourcelookup.containers

Examples of org.eclipse.debug.core.sourcelookup.containers.WorkspaceSourceContainer


                .getErlangLaunchConfigurationProjects(configuration);
        for (final IProject p : projects) {
            containers.add(new ProjectSourceContainer(p, false));
        }
        if (containers.isEmpty()) {
            containers.add(new WorkspaceSourceContainer());
        }
        final String runtimeName = configuration.getAttribute(
                ErlRuntimeAttributes.RUNTIME_NAME, "").trim();
        final RuntimeInfo info = BackendCore.getRuntimeInfoCatalog().getRuntime(
                runtimeName);
View Full Code Here


    IProject project = ResourcesPlugin.getWorkspace().getRoot().getProject(name);
    ISourceContainer sourceContainer = null;
    if(project.exists()){
      sourceContainer = new ProjectSourceContainer(project, false);
    }else{
      sourceContainer = new WorkspaceSourceContainer();
    }
    return new ISourceContainer[]{sourceContainer};
  }
View Full Code Here

public class DroolsSourcePathComputerDelegate implements ISourcePathComputerDelegate {

    public ISourceContainer[] computeSourceContainers(ILaunchConfiguration configuration, IProgressMonitor monitor) throws CoreException {
        // TODO this shows up the rule in the bin dir
        // should try to reuse JavaSourcePathComputer
        return new ISourceContainer[] {new WorkspaceSourceContainer()};
    }
View Full Code Here

    if (file != null) {
      sourceContainer = new DirectorySourceContainer(file.getLocation().toFile().getParentFile(), true);
    }
   
    if (sourceContainer == null) {
      sourceContainer = new WorkspaceSourceContainer();
    }
   
    // Compute the source path for any java-based debug targets.
    ISourceContainer javaSourceContainers[] = computeJavaSourceContainers(configuration, monitor);
    ISourceContainer wsSourceContainers[] = computeWorkspaceSourceContainers(configuration, monitor);   
View Full Code Here

TOP

Related Classes of org.eclipse.debug.core.sourcelookup.containers.WorkspaceSourceContainer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.