Examples of Marker


Examples of com.google.javascript.rhino.JSDocInfo.Marker

  }

  public void testParseProtectedDescription() throws Exception {
    JSDocInfo doc =
        parse("@protected {string} description \n next line*/", true);
    Marker defineMarker = doc.getMarkers().iterator().next();
    assertEquals("protected", defineMarker.getAnnotation().getItem());
    assertTrue(defineMarker.getDescription().getItem().contains("description "));
    assertTrue(defineMarker.getDescription().getItem().contains("next line"));
  }
View Full Code Here

Examples of com.google.javascript.rhino.JSDocInfo.Marker

    JSDocInfo jsdoc = parse("@export {string} descr\n next line */", true);
    assertTypeEquals(STRING_TYPE, jsdoc.getType());

    assertTrue(jsdoc.isExport());

    Marker defineMarker = jsdoc.getMarkers().iterator().next();
    assertEquals("export", defineMarker.getAnnotation().getItem());
    assertTrue(defineMarker.getDescription().getItem().contains("descr"));
    assertTrue(defineMarker.getDescription().getItem().contains("next line"));
  }
View Full Code Here

Examples of com.google.maps.gwt.client.Marker

    MarkerOptions markerOpts = MarkerOptions.create();
    markerOpts.setPosition(myLatLng);
    markerOpts.setTitle(address);
    markerOpts.setMap(map);

    final Marker marc = Marker.create(markerOpts);

  }
View Full Code Here

Examples of com.googlecode.charts4j.Marker

    }

    @Test
    public void addFreeShapeMarker() {
        final ChartMarkersParameter p = new ChartMarkersParameter();
        final Marker sm = Markers.newShapeMarker(Shape.CIRCLE, PERU, 13, Priority.LOW);
        p.addFreeMarker(sm, 10, 20);
        Logger.getLogger(Logger.GLOBAL_LOGGER_NAME).info(p.toURLParameterString());
        final String expectedString = "chm=@o,CD853F,0,0.1:0.2,13,-1";
        assertEquals("Junit error", expectedString, p.toURLParameterString());
    }
View Full Code Here

Examples of com.intellij.lang.PsiBuilder.Marker

public class LatteParser implements PsiParser {
    @NotNull
    @Override
    public ASTNode parse(IElementType root, PsiBuilder builder) {
        Marker marker = builder.mark();
       
        // Process all tokens
        while(!builder.eof()) {
            IElementType type = builder.getTokenType();

            if(type == LatteTokenTypes.OPENING) parseMacro(builder);
            else if(type == LatteTokenTypes.N_ATTR) parseNAttr(builder);

            builder.advanceLexer(); // move to next token
        }
       
        marker.done(root);
        return builder.getTreeBuilt();
    }
View Full Code Here

Examples of com.uens.query.model.Marker

  private void initRootMarker() throws JRScriptletException {
    try {
      ViewProcessor vp = (ViewProcessor) getParameterValue(AnalysisProcessorImpl.REPORT_VIEWPROCESSOR_PARAM);
      if (vp != null) {
        Marker m = vp.getMarker(7);
        rootMarker = m.getName();
      }
    } catch (RemoteException e) {
      throw new JRScriptletException(e.getMessage(), e);
    }
  }
View Full Code Here

Examples of de.fhpotsdam.unfolding.marker.Marker

      marker.setSelected(false);
    }

    // Select hit marker
    // Note: Use getHitMarkers(x, y) if you want to allow multiple selection.
    Marker marker = map.getFirstHitMarker(mouseX, mouseY);
    if (marker != null) {
      marker.setSelected(true);
    }
  }
View Full Code Here

Examples of de.sciss.io.Marker

  throws IOException
  {
    final List  markStakes;
    final List  marks;
    final int  removed;
    Marker    mark;

//    final AudioFileDescr afd = af.getDescr();
   
    marks = (java.util.List) afd.getProperty( AudioFileDescr.KEY_MARKERS );
   
View Full Code Here

Examples of devplugin.Marker

  private String getMarkedByTooltip() {
    StringBuilder buffer = new StringBuilder();
    Marker[] markers = mProgram.getMarkerArr();
    for (int i = markers.length - 1; i >= 0; i--) {
      Marker marker = markers[i];
      String text = "";
      PluginAccess plugin = Plugin.getPluginManager()
          .getActivatedPluginForId(marker.getId());
      if (plugin != null) {
        text = plugin.getInfo().getName();
      } else {
        InternalPluginProxyIf internalPlugin = InternalPluginProxyList
            .getInstance().getProxyForId(marker.getId());
        if (internalPlugin != null) {
          text = internalPlugin.getName();
          if (internalPlugin.equals(FavoritesPluginProxy.getInstance())) {
            // if this is a favorite, add the names of the favorite
            String favTitles = "";
View Full Code Here

Examples of eu.hansolo.enzo.common.Marker

    @Override public void init() {
        control = RadialBargraphBuilder.create()
                                       .title("Enzo")
                                       .unit("°C")
                                       .markers(new Marker(40))
                                       .threshold(25)
                                       .sections(new Section(60, 80))
                                       .thresholdVisible(true)
                                       .build();
        control.setBarGradientEnabled(true);
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.