Examples of Location


Examples of aQute.service.reporter.Report.Location

    private void clearBuildMarkers() throws CoreException {
        getProject().deleteMarkers(BndtoolsConstants.MARKER_BND_PROBLEM, true, IResource.DEPTH_INFINITE);
    }

    private void addBuildMarkers(String message, int severity) throws Exception {
        Location location = model != null ? model.getLocation(message) : null;
        if (location != null) {
            String type = location.details != null ? location.details.getClass().getName() : null;
            BuildErrorDetailsHandler handler = BuildErrorDetailsHandlers.INSTANCE.findHandler(type);

            List<MarkerData> markers = handler.generateMarkerData(getProject(), model, location);
View Full Code Here

Examples of anvil.Location

  }


  public Location getLocation()
  {
    return new Location(_url, _startLine, _startColumn);
  }
View Full Code Here

Examples of apigen.adt.Location

  private void genGetFieldBody(Type type, Field field, String field_type_name) {
    Iterator<Location> locs = field.locationIterator();
    boolean first = true;

    while (locs.hasNext()) {
      Location loc = locs.next();
      print("  ");
      if (first) {
        first = false;
      } else {
        print("else ");
      }
      if (locs.hasNext()) {
        println("if (" + buildIsAltName(type, loc.getAltId())
            + "(arg)) {");
      } else {
        println("");
      }
      print("    return (" + field_type_name + ")");
      Iterator<Step> steps = loc.stepIterator();
      String type_getter = genATermToBuiltin(field.getType(),
          genGetterSteps(steps, "arg"));
      print(type_getter);
      println(";");
      if (locs.hasNext()) {
View Full Code Here

Examples of at.fhj.itm.model.Location

     */
    public Waypoint getUserWaypoint() {
      if (!isLoggedIn())
        return null;
      if (userWaypoint == null) {
        userWaypoint = new Waypoint(new Location(trip.getWaypoint()
            .getFromLocation()), new Location(trip.getWaypoint()
            .getToLocation()), getLoggedInUser(), "", false);
      }
      return userWaypoint;
    }
View Full Code Here

Examples of avrora.core.SourceMapping.Location

    public byte getByteValueOf(String varName) throws UnknownVariableException {
        return (byte) getValueOf(varName, 1);
    }
   
    private int getValueOf(String varName, int len) throws UnknownVariableException {
        Location mem = memoryMap.getLocation(varName);
        if (mem == null) throw new UnknownVariableException("Variable does not exist: " + varName);

        System.out.println("Variable:" + varName + " in section: " + mem.section);
        System.out.println("LMA: " + Integer.toHexString(mem.lma_addr));
        System.out.println("VMA: " + Integer.toHexString(mem.vma_addr));
View Full Code Here

Examples of bibliothek.gui.dock.facile.mode.Location

            }
          }
        }
       
          // easy solution: set the location, then change the mode
          setProperties( newMode, dockable, new Location( mode.getModeIdentifier(), root, location.findProperty() ) );
          apply( dockable, newMode, true );
      }
      else{
        apply( dockable, newMode, false );
      }
View Full Code Here

Examples of brooklyn.location.Location

       
        List<Entity> dockerHosts = dockerInfrastructure.getDockerHostList();
        DockerHost dockerHost = (DockerHost) Iterables.getOnlyElement(dockerHosts);

        LocationDefinition infraLocDef = findLocationMatchingName("dynamicdockertest.*");
        Location infraLoc = managementContext.getLocationRegistry().resolve(infraLocDef);
        assertTrue(infraLoc instanceof DockerLocation, "loc="+infraLoc);

        LocationDefinition hostLocDef = findLocationMatchingName(dockerInfrastructure.getDynamicLocation().getId() + "-" + dockerHost
                .getDockerHostName() + ".*");
        Location hostLoc = managementContext.getLocationRegistry().resolve(hostLocDef);
        assertTrue(hostLoc instanceof DockerHostLocation, "loc=" + hostLoc);
    }
View Full Code Here

Examples of ca.uhn.hl7v2.Location

    return b.toString();
  }

    public Location provideLocation(Location location, int index, int repetition) {
        if (location.getField() < 0)
            return new Location(location)
                .withField(index)
                .withFieldRepetition(repetition);
        if (location.getComponent() < 0)
            return new Location(location)
                .withComponent(index);
        return new Location(location)
            .withSubcomponent(index);
    }
View Full Code Here

Examples of ch.deif.meander.Location

    bridge = new EclipseProcessingBridge(shell, EclipseProcessingBridge.createApplet());
    Layers layers = LabelSketch.createLabeledSketch();
    new NearestNeighborAlgorithm(layers.getMap()).run();
    layers.add(CurrentSelectionOverlay.class);
   
    Location loc = findLocation(layers.getMap(), "the");
    loc.setColor(new Colors(255, 0, 0));
   
    loc = findLocation(layers.getMap(), "for");
    loc.setColor(new Colors(255, 0, 0))
   
    loc = findLocation(layers.getMap(), "fox");
    loc.setColor(new Colors(255, 0, 0));     
   
    bridge.setMapVizualization(layers);
   
   
    int dim = layers.getMap().getParameters().width;
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.util.Location

   * @param y offset top relative to document body
   * @return a drop controller for the intersecting drop target or <code>null</code> if none
   *         are applicable
   */
  DropController getIntersectDropController(int x, int y) {
    Location location = new CoordinateLocation(x, y);
    for (int i = sortedCandidates.length - 1; i >= 0; i--) {
      Candidate candidate = sortedCandidates[i];
      Area targetArea = candidate.getTargetArea();
      if (targetArea.intersects(location)) {
        return candidate.getDropController();
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.