Examples of Kind


Examples of edu.indiana.extreme.xbaya.graph.Port.Kind

    this.graph.getGUI().paint(g);

    // Draws a creating edge.
    if (this.draggedPort != null) {
      Point p1, p2;
      Kind kind = this.draggedPort.getKind();
      if (kind == Kind.DATA_OUT || kind == Kind.CONTROL_OUT
          || kind == Kind.EPR) {
        p1 = this.draggedPort.getGUI().getPosition();
        p2 = this.mousePoint;
      } else if (kind == Kind.DATA_IN || kind == Kind.CONTROL_IN) {
View Full Code Here

Examples of gap.data.Kind

    }
    public ListPrimitiveKey clone(){
        return (ListPrimitiveKey)super.clone();
    }
    public Kind getKind(){
        Kind kind = this.kind;
        if (null == kind){
            kind = Kind.For(this.kindName);
            this.kind = kind;
        }
        return kind;
View Full Code Here

Examples of gap.data.Kind


        public Component(String term){
            super();
            this.term = term;
            Kind kind = Kind.ForPath(term);
            if (null != kind){
                this.identifier = false;
                this.kind = kind;
            }
            else {
View Full Code Here

Examples of javax.tools.Diagnostic.Kind

        List<JCExpression> toList = toList(toArray);
        return getArray(t, toList);
    }

    protected void printMsg(final String msg, final Element e, final boolean warningsOnly) {
        final Kind kind = (warningsOnly) ? Kind.WARNING : Kind.ERROR;
        msgr.printMessage(kind, msg, e);
    }
View Full Code Here

Examples of javax.tools.JavaFileObject.Kind

           // this was a directory
           for (File f : files) {
             if (f.isDirectory() && recurse) {
               collectAllMatchingFiles(file, normalizedPackageName + '/' + f.getName(), kinds, recurse, collector);
             } else {
               final Kind kind = getKind(f);
               if (kinds.contains(kind)) {
                 collector.add(new EclipseFileObject(normalizedPackageName + currentFile.getName(), currentFile.toURI(), kind, this.charset));
               }
             }
           }
         }
      // currentFile is not a directory
      // check if it matches the criteria
      final Kind kind = getKind(file);
      if (kinds.contains(kind)) {
        collector.add(new EclipseFileObject(normalizedPackageName + currentFile.getName(), currentFile.toURI(), kind, this.charset));
      }
    } else {
      Archive archive = this.getArchive(file);
      String key = normalizedPackageName;
      if (!normalizedPackageName.endsWith("/")) {//$NON-NLS-1$
        key += '/';
      }
      // we have an archive file
      if (recurse) {
        for (String packageName : archive.allPackages()) {
          if (packageName.startsWith(key)) {
            ArrayList<String> types = archive.getTypes(packageName);
            if (types != null) {
              for (String typeName : types) {
                   final Kind kind = getKind(getExtension(typeName));
                   if (kinds.contains(kind)) {
                     collector.add(archive.getArchiveFileObject(packageName + typeName, this.charset));
                   }
              }
            }
          }
        }
      } else {
        ArrayList<String> types = archive.getTypes(key);
        if (types != null) {
          for (String typeName : types) {
               final Kind kind = getKind(typeName);
               if (kinds.contains(kind)) {
                 collector.add(archive.getArchiveFileObject(normalizedPackageName + typeName, this.charset));
               }
          }
        }
View Full Code Here

Examples of mireka.address.parser.AddressLiteralTagToken.Kind

    }

    public AddressLiteralTagToken scan() throws ParseException {
        int position = currentCharToken.position;
        currentSpelling.clear();
        Kind kind = scanToken();
        return new AddressLiteralTagToken(position, currentSpelling, kind);
    }
View Full Code Here

Examples of mireka.address.parser.Ipv6Token.Kind

    }

    public Ipv6Token scan() throws ParseException {
        int position = currentCharToken.position;
        currentSpelling.clear();
        Kind kind = scanToken();
        return new Ipv6Token(position, currentSpelling, kind);
    }
View Full Code Here

Examples of org.apache.airavata.workflow.model.graph.Port.Kind

        NodeController.getGUI(this.graph).paint(g);

        // Draws a creating edge.
        if (this.draggedPort != null) {
            Point p1, p2;
            Kind kind = this.draggedPort.getKind();
            if (kind == Kind.DATA_OUT || kind == Kind.CONTROL_OUT || kind == Kind.EPR) {
                p1 = NodeController.getGUI(this.draggedPort).getPosition();
                p2 = this.mousePoint;
            } else if (kind == Kind.DATA_IN || kind == Kind.CONTROL_IN) {
                p1 = this.mousePoint;
View Full Code Here

Examples of org.apache.airavata.workflow.model.graph.Port.Kind

        List<DataPort> inputPorts = getInputPorts();
        List<DataPort> outputPorts = getOutputPorts();
        int size = outputPorts.size();

        Kind kind = port.getKind();
        int index;
        if (kind == Kind.DATA_IN) {
            index = inputPorts.indexOf(port) % size;
        } else if (kind == Kind.DATA_OUT) {
            index = outputPorts.indexOf(port);
View Full Code Here

Examples of org.apache.airavata.workflow.model.graph.Port.Kind

        super.portTypeChanged(port);

        List<DataPort> inputPorts = getInputPorts();
        List<DataPort> outputPorts = getOutputPorts();

        Kind kind = port.getKind();
        int index;
        if (kind == Kind.DATA_IN) {
            index = inputPorts.indexOf(port);
        } else if (kind == Kind.DATA_OUT) {
            index = outputPorts.indexOf(port);
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.