Examples of Node


Examples of org.eclipse.nebula.widgets.nattable.columnCategories.Node

        this.hiddenEntries = hiddenEntries;
    }

    @Override
    public String getText(Object element) {
        Node node = (Node) element;
        switch (node.getType()) {
            case CATEGORY:
                return node.getData();
            case COLUMN:
                int index = Integer.parseInt(node.getData());
                ColumnEntry columnEntry = ColumnChooserUtils.find(
                        hiddenEntries, index);
                if (ObjectUtils.isNull(columnEntry)) {
                    System.err
                            .println("Column index " + index + " is present " + //$NON-NLS-1$ //$NON-NLS-2$

Examples of org.eclipse.php.formatter.ui.preferences.WhiteSpaceOptions.Node

      restoreSelections();
      refreshState();
    }

    private void restoreSelections() {
      Node node;
      final int innerIndex = getValidatedIndex(PREF_INNER_INDEX);
      node = (Node) fIndexedNodeList.get(innerIndex);
      if (node instanceof InnerNode) {
        fInnerViewer.expandToLevel(node, 0);
        fInnerViewer.setSelection(new StructuredSelection(

Examples of org.eclipse.php.internal.core.filenetwork.ReferenceTree.Node

      IProgressMonitor monitor) {

    HashSet<ISourceModule> processedFiles = new HashSet<ISourceModule>();
    processedFiles.add(file);

    Node root = new Node(file);

    internalBuildReferencingFilesTree(root, processedFiles,
        new HashMap<IModelElement, IField[]>(), monitor);

    return new ReferenceTree(root);

Examples of org.elasticsearch.hadoop.serialization.dto.Node

        info.put("relocating_node", "none");
        info.put("node", "1");
        info.put("primary", "true");

        Shard sh1 = new Shard(info);
        Node node1 = new Node("1", info);

        info.put("name", "2");
        info.put("shard", 2);

        Shard sh2 = new Shard(info);
        Node node2 = new Node("2", info);

        info.put("name", "3");
        info.put("shard", 3);

        Shard sh3 = new Shard(info);
        Node node3 = new Node("3", info);

        info.put("name", "4");
        info.put("shard", 4);

        Shard sh4 = new Shard(info);
        Node node4 = new Node("4", info);

        info.put("name", "5");
        info.put("shard", 5);

        Shard sh5 = new Shard(info);
        Node node5 = new Node("5", info);

        info.put("name", "6");
        info.put("shard", 6);

        Shard sh6 = new Shard(info);
        Node node6 = new Node("6", info);

        pd1 = new PartitionDefinition(sh1, node1, null, null);
        pd2 = new PartitionDefinition(sh2, node2, null, null);
        pd3 = new PartitionDefinition(sh3, node3, null, null);
        pd4 = new PartitionDefinition(sh4, node4, null, null);

Examples of org.elasticsearch.node.Node

   * Opens a local discovery node for talking to an elasticsearch server running
   * in the same JVM
   */
  private void openLocalDiscoveryClient() {
    logger.info("Using ElasticSearch AutoDiscovery mode");
    Node node = NodeBuilder.nodeBuilder().client(true).local(true).node();
    if (client != null) {
      client.close();
    }
    client = node.client();
  }

Examples of org.fireflow.model.net.Node

        Iterator<Element> iter = elements.iterator();
        while (iter.hasNext()) {
            Element transitionElement =  iter.next();
            Transition transition = createTransition(wp, transitionElement);
            transitions.add(transition);
            Node fromNode = transition.getFromNode();
            Node toNode = transition.getToNode();
            if (fromNode != null && (fromNode instanceof Activity)) {
                ((Activity) fromNode).setLeavingTransition(transition);
            } else if (fromNode != null && (fromNode instanceof Synchronizer)) {
                ((Synchronizer) fromNode).getLeavingTransitions().add(
                        transition);

Examples of org.freeplane.core.ui.IndexedTree.Node

  /** there are little reasons to use this in scripts. */
  public static Node findAssignedMenuItemNodeRecursively(final DefaultMutableTreeNode menubarNode,
                                                         final KeyStroke keystroke) {
    final Enumeration<?> children = menubarNode.children();
    while (children.hasMoreElements()) {
      final Node child = (Node) children.nextElement();
      final Object childUserObject = child.getUserObject();
      if (childUserObject instanceof JMenuItem) {
        final JMenuItem childMenuItem = (JMenuItem) childUserObject;
        if (keystroke.equals(childMenuItem.getAccelerator())) {
          return child;
        }
      }
      // recurse
      final Node assignedMenuItemNode = findAssignedMenuItemNodeRecursively(child, keystroke);
      if (assignedMenuItemNode != null)
        return assignedMenuItemNode;
    }
    return null;
  }

Examples of org.freeplane.plugin.script.proxy.Proxy.Node

    return new NodeProxy(newNodeModel, getScriptContext());
  }
 
  // Node: R/W
  public Proxy.Node createChild(final Object value) {
    final Node child = createChild();
    child.setObject(value);
    return child;
  }

Examples of org.freeplane.uispec4j.framework.Node

  }
  @Test
  public void testUp() throws Exception {
    final FreeplaneWindow mainWindow = getFreeMindWindow();
    mainWindow.getAwtComponent();
    final Node node = mainWindow.getNode("22");
    node.selectAsTheOnlyOneSelected();
    node.pressKey(Key.UP);
    assertEquals("11", node.getSelected().getText());
    }

Examples of org.gatein.api.navigation.Node

            String siteId = request.getParameter("siteId");
            Navigation navigation = PortalRequest.getInstance().getPortal().getNavigation(SiteId.fromString(siteId));

            String chosenNodeURI = request.getParameter("uri");

            Node chosenNode = navigation.getNode(NodePath.fromString(chosenNodeURI), Nodes.visitNodes(getNodeLevel(request)));

            boolean showEmptyCategory = getShowEmptyCategory(request);

            NodeBean chosenNodeBean = generateNodeBean(chosenNode, SiteId.fromString(siteId), showEmptyCategory);
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.