Examples of GoRoot


Examples of com.googlecode.goclipse.tooling.env.GoRoot

import com.googlecode.goclipse.tooling.env.GoRoot;

public class GoProjectEnvironment implements GoEnvironmentConstants {
 
  public static GoRoot getEffectiveGoRoot(IProject project) {
    return new GoRoot(getEffectiveValue_NonNull(GoEnvironmentPrefs.GO_ROOT, project, GOROOT));
  }
View Full Code Here

Examples of com.googlecode.goclipse.tooling.env.GoRoot

  /**
   * @return {@link GoEnvironment} for given project.
   * @param project - can be null.
   */
  public static GoEnvironment getGoEnvironment(IProject project) {
    GoRoot goRoot = getEffectiveGoRoot(project);
    GoArch goArch = getEffectiveGoArch(project);
    GoOs goOs = getEffectiveGoOs(project);
    GoPath goPath = getEffectiveGoPath(project);
    return new GoEnvironment(goRoot, goArch, goOs, goPath);
  }
View Full Code Here

Examples of com.googlecode.goclipse.tooling.env.GoRoot

  protected Object[] getProjectChildren(IProject project) {
   
    GoEnvironment goEnvironment = GoProjectEnvironment.getGoEnvironment(project);
   
    GoRoot goRoot = goEnvironment.getGoRoot();
    java.nio.file.Path goRootSource;
    try {
      goRootSource = goRoot.getSourceRootLocation();
    } catch (CommonException e) {
      return NO_CHILDREN;
    }
   
    if (goRoot.isEmpty()) {
      return NO_CHILDREN;
    }
   
    ArrayList2<GoPathElement> buildpathChildren = new ArrayList2<>();
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.