Examples of node()


Examples of javafx.animation.TranslateTransitionBuilder.node()

    TranslateTransitionBuilder builder = TranslateTransitionBuilder.create()
      .interpolator(Interpolator.EASE_BOTH)
      .byX(deltaX)
      .duration(new Duration(1000));
     
    return ParallelTransitionBuilder.create().children(builder.node(curNode).build(), builder.node(newNode).build()).build();
  }

  @Override
  protected void resetProperties(Node curNode, Node newNode) {
    newNode.setTranslateX(0);
View Full Code Here

Examples of kodkod.engine.fol2sat.TranslationRecord.node()

        // it is possible that two top-level formulas have identical meaning,
        // and are represented with the same core unit; in that case, we want only
        // one of them in the core.
        final TranslationRecord rec = itr.next();
        if (seenUnits.add(rec.literal())) {
          coreRoots.put(rec.translated(), rec.node());
       
      }
      coreRoots = Collections.unmodifiableMap(coreRoots);
    }
    return coreRoots;
View Full Code Here

Examples of org.apache.pig.parser.SourceLocation.node()

     * @return a list of macros
     */
    protected List<String> getMacroList(LogicalRelationalOperator node) {
        List<String> macro = Lists.newArrayList();
        SourceLocation loc = node.getLocation();
        if (loc.node() != null) {
            InvocationPoint p = loc.node().getNextInvocationPoint();
            while (p != null) {
                if (p.getMacro() != null) {
                    macro.add(p.getMacro());
                }
View Full Code Here

Examples of org.dom4j.Branch.node()

    Branch branch = getXmlBranch();
    int size = branch.nodeCount();
    List childList = new ArrayList(size);

    for (int i = 0; i < size; i++) {
      Node node = branch.node(i);

      // ignore whitespace text nodes
      if (node instanceof CharacterData) {
        String text = node.getText();
View Full Code Here

Examples of org.dom4j.Document.node()

      }
    } else if (input instanceof Document) {
      // iterate through all children
      Document document = (Document) input;
      for (int i = 0, size = document.nodeCount(); i < size; i++) {
        Node node = document.node(i);
        mod.fireRule(node);
      }
    } else if (input instanceof List) {
      List list = (List) input;
View Full Code Here

Examples of org.dom4j.Element.node()

    if (input instanceof Element) {
      // iterate through all children
      Element element = (Element) input;
      for (int i = 0, size = element.nodeCount(); i < size; i++) {
        Node node = element.node(i);
        mod.fireRule(node);
      }
    } else if (input instanceof Document) {
      // iterate through all children
      Document document = (Document) input;
View Full Code Here

Examples of org.eclipse.core.runtime.preferences.IEclipsePreferences.node()

  @Test
  public void enablingValidators() throws BackingStoreException {
    IEclipsePreferences rootNode = Platform.getPreferencesService().getRootNode();
    assertTrue(manager.isEnabled(scriptProject));

    final Preferences globalNode = rootNode.node(InstanceScope.SCOPE).node(PEXAnalysisPlugin.VALIDATORS_PREFERENCES_NODE_ID);
    globalNode.putBoolean(PreferenceConstants.ENABLED, false);
    assertFalse(manager.isEnabled(scriptProject));

    Preferences projectNode = rootNode.node(ProjectScope.SCOPE).node(project.getName()).node(PEXAnalysisPlugin.VALIDATORS_PREFERENCES_NODE_ID);
    projectNode.putBoolean(PreferenceConstants.ENABLED, true);
View Full Code Here

Examples of org.eclipse.core.runtime.preferences.IEclipsePreferences.node()

    final Preferences globalNode = rootNode.node(InstanceScope.SCOPE).node(PEXAnalysisPlugin.VALIDATORS_PREFERENCES_NODE_ID);
    globalNode.putBoolean(PreferenceConstants.ENABLED, false);
    assertFalse(manager.isEnabled(scriptProject));

    Preferences projectNode = rootNode.node(ProjectScope.SCOPE).node(project.getName()).node(PEXAnalysisPlugin.VALIDATORS_PREFERENCES_NODE_ID);
    projectNode.putBoolean(PreferenceConstants.ENABLED, true);
    assertTrue(manager.isEnabled(scriptProject));

    projectNode.remove(PreferenceConstants.ENABLED);
   
View Full Code Here

Examples of org.eclipse.equinox.security.storage.ISecurePreferences.node()

    if (secureRoot == null)
      return;

    String[] childrenNames = secureRoot.childrenNames();
    for (String child : childrenNames) {
      secureRoot.node(child).removeNode();
    }

    /* Flush to Disk */
    try {
      secureRoot.flush();
View Full Code Here

Examples of org.eclipse.equinox.security.storage.ISecurePreferences.node()

    if (!securePreferencesDisabled.get()) {
      String serverId = getServerId();
      if (serverId != null) {
        ISecurePreferences securePreferences = SecurePreferencesFactory.getDefault().node(
            CloudFoundryPlugin.PLUGIN_ID);
        securePreferences = securePreferences.node(EncodingUtils.encodeSlashes(serverId));
        return securePreferences;
      }
    }
    return null;
  }
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.