Examples of Anchor


Examples of org.apache.struts2.jquery.components.Anchor

    super();
  }

  @Override
  public Component getBean(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
    Component bean = new Anchor(stack, req, res);
    return bean;
  }
View Full Code Here

Examples of org.beangle.struts2.view.component.Anchor

  public TagModel getA() {
    TagModel model = models.get(Anchor.class);
    if (null == model) {
      model = new TagModel(stack) {
        protected Component getBean() {
          return new Anchor(stack);
        }
      };
      models.put(Anchor.class, model);
    }
    return model;
View Full Code Here

Examples of org.cleartk.timeml.type.Anchor

  @Override
  public void process(JCas jCas) throws AnalysisEngineProcessException {
    DocumentCreationTime dct = JCasUtil.selectSingle(jCas, DocumentCreationTime.class);
    Map<EventMention, String> docTimeRels = Maps.newHashMap();
    for (TemporalLink tlink : JCasUtil.select(jCas, TemporalLink.class)) {
      Anchor source = tlink.getSource();
      Anchor target = tlink.getTarget();
      if (source instanceof org.cleartk.timeml.type.Event && target.equals(dct)) {
        for (EventMention event : JCasUtil.selectCovered(jCas, EventMention.class, source)) {
          docTimeRels.put(event, tlink.getRelationType());
        }
      }
    }
View Full Code Here

Examples of org.displaytag.util.Anchor

            // column is sortable, create link
            if (headerCell.getSortable())
            {
                // creates the link for sorting
                Anchor anchor = new Anchor(getSortingHref(headerCell, model), header);

                // append to buffer
                header = anchor.toString();
            }

            write(header);
            write(headerCell.getHeaderCloseTag());
        }
View Full Code Here

Examples of org.eclipse.graphiti.mm.pictograms.Anchor

  /**
   * Connects two DISPEL elements.
   */
  public Connection create(ICreateConnectionContext context) {

    Anchor sAnchor = context.getSourceAnchor();
   
    //Move the source anchor to CI if we have a literal
    Object o = getBusinessObjectForPictogramElement(sAnchor.getParent());
    if (Utility.isObjectLiteral(o)) {
      PictogramElement pe = getFeatureProvider(
          ).getPictogramElementForBusinessObject(
              Utility.getParentLocalVariableStatement(
                  (EObject) o));
      if (pe instanceof AnchorContainer) {
        sAnchor = ((AnchorContainer) pe).getAnchors().get(0);
      }
    }
   
    Anchor tAnchor = context.getTargetAnchor();
   
    ConnectionStatement cs = createAndAddConnectionStatement(
        sAnchor, tAnchor);

    // add connection for business object
View Full Code Here

Examples of org.eclipse.help.internal.Anchor

   * into this one at the current anchor, link it in.
   */
  private class AnchorHandler extends ProcessorHandler {
    public short handle(UAElement element, String id) {
      if (element instanceof Anchor) {
        Anchor anchor = (Anchor)element;
        UAElement parent = anchor.getParentElement();
        if (parent != null) {
          String anchorId = anchor.getId();
          if (anchorId != null) {
            // add to set of known anchors
            if (anchorsByContributionId == null) {
              anchorsByContributionId = new HashMap();
            }
View Full Code Here

Examples of org.eclipse.xtext.xdoc.xdoc.Anchor

    String ref = " ref:refName[" + refText + "]";
    XdocFile file = getDoc(CHAPTER_HEAD + anchor + fill + ref);
    TextOrMarkup textOrMarkup = file.getMainSection()
        .getContents().get(0);
    assertEquals(4, textOrMarkup.getContents().size());
    Anchor a = (Anchor) textOrMarkup.getContents().get(1);
    Ref r = (Ref) textOrMarkup.getContents().get(3);
    assertEquals(a, r.getRef());
    assertEquals(refText, ((TextPart) (r.getContents()
        .get(0)).getContents().get(0)).getText());
  }
View Full Code Here

Examples of org.gwtbootstrap3.client.ui.Anchor

        implements HasHref, HasTargetHistoryToken, HasClickHandlers, Focusable, HasDataToggle, HasIcon, HasIconPosition {

    protected final Anchor anchor;

    protected AbstractAnchorListItem() {
        anchor = new Anchor();
        add(anchor, (Element) getElement());
    }
View Full Code Here

Examples of org.miv.pherd.ntree.Anchor

    SpringBox box = (SpringBox) this.box;

    double k = box.k;
    double vz = box.getViewZone();
   
    Anchor lo = cell.getSpace().getLoAnchor();
    Anchor hi = cell.getSpace().getHiAnchor();

    double x1 = lo.x;
    double x2 = hi.x;
    double X1 = pos.x - (k * vz);
    double X2 = pos.x + (k * vz);
 
View Full Code Here

Examples of org.pentaho.reporting.engine.classic.core.Anchor

    final String prefix = getAnchorPrefix();
    targetBuffer.append(prefix);
    targetBuffer.append(getGroup());
    targetBuffer.append("%3D");
    targetBuffer.append(count);
    anchor = new Anchor(targetBuffer.toString());
  }
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.