Examples of GoPathEntryElement


Examples of com.googlecode.goclipse.ui.navigator.elements.GoPathEntryElement

        GoRootElement goRootElement = (GoRootElement) element;
        baseText.append(" - " + goRootElement.getDirectory().toString(), fgColor(LOCATION_ANNOTATION_FG));
        return baseText;
      }
      if(element instanceof GoPathEntryElement) {
        GoPathEntryElement goPathEntryElement = (GoPathEntryElement) element;
       
        baseText.append(" - ", fgColor(LOCATION_ANNOTATION_FG));
       
        String goPathEntryLocation = goPathEntryElement.getDirectory().toString();
       
        StyledString suffix;
        if(goPathEntryElement.isProjectInsideGoPath()) {
          suffix = new StyledString(goPathEntryLocation,
            new ItalicStyler(fgColor(LOCATION_ANNOTATION_FG)));
        } else {
          suffix = new StyledString(goPathEntryLocation, fgColor(LOCATION_ANNOTATION_FG));
        }
View Full Code Here

Examples of com.googlecode.goclipse.ui.navigator.elements.GoPathEntryElement

      if(areEqual(goPathEntryPath, project.getLocation().toFile().toPath())) {
        continue; // Don't add this entry.
      }
     
      try {
        buildpathChildren.add(new GoPathEntryElement(goPathEntryPath, project, effectiveGoPath));
      } catch (CoreException e) {
        // Don't add any entry.
      }
    }
   
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.