Examples of selectNode()


Examples of DisplayProject.controls.ListView.selectNode()

      if (this._component instanceof ListView) {
        ListView lv = (ListView)this._component;
        lv.clearSelectedNodes();
       
        for (DisplayNode node : value) {
          lv.selectNode(node);
        }
      }
      // TF:08/08/2009:Implemented for outline fields
      else if (this._component instanceof OutlineField) {
        OutlineField of = (OutlineField)this._component;
View Full Code Here

Examples of DisplayProject.controls.ListView.selectNode()

      if (this._component instanceof ListView) {
        ListView lv = (ListView)this._component;
        lv.clearSelectedNodes();
       
        for (DisplayNode node : value) {
          lv.selectNode(node);
        }
      }
      // TF:08/08/2009:Implemented for outline fields
      else if (this._component instanceof OutlineField) {
        OutlineField of = (OutlineField)this._component;
View Full Code Here

Examples of com.extjs.gxt.ui.client.core.El.selectNode()

    itemEl = item.getElement().getFirstChild().cast();
    fly(itemEl).addStyleName(styleTreeItem);

    El el = item.el();

    Element td = el.selectNode("td:first-child").dom;
    indentEl = td.getFirstChildElement().cast();
    jointEl = td.getNextSiblingElement().cast();
    jointDivEl = jointEl.getFirstChild().cast();
    checkEl = jointEl.getNextSiblingElement().getNextSiblingElement().cast();
    checkDivEl = checkEl.getFirstChild().cast();
View Full Code Here

Examples of com.sencha.gxt.core.client.dom.XElement.selectNode()

    // TODO we should be asking appearance for the root container element rather
    // than assuming its the last child.
    XElement root = getElement();

    if (root.getFirstChildElement() != null && root.getFirstChildElement().getTagName().equals("TABLE")) {
      root = root.selectNode("td");
    }
    return root;
  }

  protected C getValue(M m) {
View Full Code Here

Examples of de.fuberlin.wiwiss.d2rq.nodes.NodeMaker.selectNode()

    }
    List<String> results = new ArrayList<String>();
    for (Entry<String,NodeMaker> entry: classMapNodeMakers.entrySet()) {
      String classMapName = entry.getKey();
      NodeMaker nodeMaker = entry.getValue();
      if (!nodeMaker.selectNode(resource, RelationalOperators.DUMMY).equals(NodeMaker.EMPTY)) {
        results.add(classMapName);
      }
    }
    return results;
  }
View Full Code Here

Examples of elemental.ranges.Range.selectNode()

  /**
   * Selects all text in the specified element.
   */
  public static void selectAllText(Element e) {
    Range range = Browser.getDocument().createRange();
    range.selectNode(e);
    Browser.getWindow().getSelection().addRange(range);
  }

  public static void addClassesToElement(Element e, String... classNames) {
    for (String className : classNames) {
View Full Code Here

Examples of gridool.routing.GridNodeSelector.selectNode()

        for(Map.Entry<String, List<GridNode>> entry : mapping.entrySet()) {
            final String key = entry.getKey();
            final List<GridNode> candidateNodes = entry.getValue();
            assert (!candidateNodes.isEmpty());

            final GridNode node = selector.selectNode(candidateNodes, config);
            candidateNodes.clear(); // let GC do its work

            List<String> mappedKeys = nodeKeysMap.get(node);
            if(mappedKeys == null) {
                mappedKeys = new ArrayList<String>(128);
View Full Code Here

Examples of gridool.routing.GridNodeSelector.selectNode()

                final List<GridNode> replicatedNodes = collector.getMatched();
                if(replicatedNodes == null || replicatedNodes.isEmpty()) {
                    throw new GridException("No replicated document found for path: " + path);
                }
                // TODO Select a node that least recently used for write requests.
                GridNode node = nodeSelector.selectNode(replicatedNodes, config);
                assert (node != null);
                List<String> mappedPaths = assignMap.get(node);
                if(mappedPaths == null) {
                    mappedPaths = new ArrayList<String>(16);
                    assignMap.put(node, mappedPaths);
View Full Code Here

Examples of gridool.routing.GridNodeSelector.selectNode()

        for(Map.Entry<String, List<GridNode>> entry : mapping.entrySet()) {
            final String key = entry.getKey();
            final List<GridNode> candidateNodes = entry.getValue();
            assert (!candidateNodes.isEmpty());

            final GridNode node = selector.selectNode(candidateNodes, null, config);
            candidateNodes.clear(); // let GC do its work

            List<String> mappedKeys = nodeKeysMap.get(node);
            if(mappedKeys == null) {
                mappedKeys = new ArrayList<String>(128);
View Full Code Here

Examples of gridool.routing.GridNodeSelector.selectNode()

                }
                if(replicatedNodes == null || replicatedNodes.isEmpty()) {
                    throw new GridException("No replicated document found for path: " + path);
                }
                // TODO Select a node that least recently used for write requests.
                GridNode node = nodeSelector.selectNode(replicatedNodes, this, config);
                assert (node != null);
                List<String> mappedPaths = assignMap.get(node);
                if(mappedPaths == null) {
                    mappedPaths = new ArrayList<String>(16);
                    assignMap.put(node, mappedPaths);
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.