Examples of AnnotationList


Examples of com.redhat.ceylon.compiler.typechecker.tree.Tree.AnnotationList

        }
        return result;
    }

    private AnnotationList makeShortcutRefinementAnnotationTrees() {
        AnnotationList annotationList = new AnnotationList(null);
       
        Tree.Annotation shared = new Tree.Annotation(null);
        Tree.BaseMemberExpression sharedPrimary = new Tree.BaseMemberExpression(null);
        sharedPrimary.setDeclaration(typeFact().getLanguageModuleDeclaration("shared"));
        shared.setPrimary(sharedPrimary);
        annotationList.addAnnotation(shared);
       
        Tree.Annotation actual = new Tree.Annotation(null);
        Tree.BaseMemberExpression actualPrimary = new Tree.BaseMemberExpression(null);
        actualPrimary.setDeclaration(typeFact().getLanguageModuleDeclaration("actual"));
        actual.setPrimary(actualPrimary);
        annotationList.addAnnotation(actual);
       
        return annotationList;
    }
View Full Code Here

Examples of org.dbwiki.data.annotation.AnnotationList

import org.dbwiki.driver.rdbms.RDBMSDatabaseTextNode;

public class ResultAttributeNode extends DatabaseAttributeNode {
  public ResultAttributeNode(AttributeSchemaNode entity, TimeSequence timestamp) {
    // FIXME: Pre/post numbers for result attribute nodes are nonsense and should never be used
    super(entity, null, timestamp, new AnnotationList(),-1,-1);
  }
View Full Code Here

Examples of org.dbwiki.data.annotation.AnnotationList

import org.dbwiki.data.time.TimeSequence;

public class ResultGroupNode extends DatabaseGroupNode {
  public ResultGroupNode(GroupSchemaNode entity, TimeSequence timestamp) {
    //FIXME: Pre/post numbers for result nodes are nonsense and should never be used!
    super(entity, null, timestamp, new AnnotationList(),-1,-1);
  }
View Full Code Here

Examples of org.dbwiki.data.annotation.AnnotationList

   
    _identifier = new NodeIdentifier(id);
  }

  public RDBMSDatabaseAttributeNode(int id, AttributeSchemaNode schema, DatabaseGroupNode parent, TimeSequence timestamp, int pre, int post) {
    this(id, schema, parent, timestamp, new AnnotationList(), pre, post);
  }
View Full Code Here

Examples of org.dbwiki.data.annotation.AnnotationList

   
    this.value().add(new RDBMSDatabaseTextNode(DatabaseConstants.RelDataColIDValUnknown, this, null, value, pre, post));
  }

  public RDBMSDatabaseAttributeNode(int id, AttributeSchemaNode schema, DatabaseGroupNode parent, int pre, int post) {
    this(id, schema, parent, null, new AnnotationList(), pre, post);
  }
View Full Code Here

Examples of org.dbwiki.data.annotation.AnnotationList

  public RDBMSDatabaseAttributeNode(int id, AttributeSchemaNode schema, DatabaseGroupNode parent, int pre, int post) {
    this(id, schema, parent, null, new AnnotationList(), pre, post);
  }
 
  public RDBMSDatabaseAttributeNode(int id, AttributeSchemaNode schema, DatabaseGroupNode parent) {
    this(id, schema, parent, null, new AnnotationList(), -1, -1);
  }
View Full Code Here

Examples of org.dbwiki.data.annotation.AnnotationList

   
    _identifier = new NodeIdentifier(id);
  }

  public RDBMSDatabaseGroupNode(int id, GroupSchemaNode schema, DatabaseGroupNode parent, TimeSequence timestamp, int pre, int post) {
    this(id, schema, parent, timestamp, new AnnotationList(), pre, post);
  }
View Full Code Here

Examples of org.dbwiki.data.annotation.AnnotationList

   
    _identifier = new NodeIdentifier(id);
  }

  public RDBMSDatabaseTextNode(int id, DatabaseAttributeNode parent, TimeSequence timestamp, String value, int pre, int post) {
    this(id, parent, timestamp, value, new AnnotationList(), pre, post);
  }
View Full Code Here

Examples of org.dbwiki.data.annotation.AnnotationList

  /*
   * Public Methods
   */
 
  public void print(HtmlLinePrinter body) throws org.dbwiki.exception.WikiException {
    AnnotationList annotations = _request.node().annotation();
   
    if (annotations.size() > 0) {
      body.openTABLE(CSS.CSSAnnotationListing);
      body.openTR();
      body.openTH(CSS.CSSAnnotationListing);
      body.text("Comment");
      body.closeTH();
      body.openTH(CSS.CSSAnnotationListing);
      body.text("User");
      body.closeTH();
      body.openTH(CSS.CSSAnnotationListing);
      body.text("Date");
      body.closeTH();
      body.closeTR();
      for (int iAnnotation = 0; iAnnotation < annotations.size(); iAnnotation++) {
        body.openTR();
        String css = null;
        if ((iAnnotation % 2) == 0) {
          css = CSS.CSSAnnotationRowEven;
        } else {
          css = CSS.CSSAnnotationRowOdd;
        }
        body.openTD(css);
        body.add(annotations.get(iAnnotation).text());
        body.closeTD();
        body.openTD(css);
        if (annotations.get(iAnnotation).user() != null) {
          body.add(annotations.get(iAnnotation).user().fullName());
        } else {
          body.add(User.UnknownUserName);
        }
        body.closeTD();
        body.openTD(css);
        body.add(annotations.get(iAnnotation).date());
        body.closeTD();
        body.closeTR();
      }
      body.closeTABLE();
    } else {
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.