Examples of update()


Examples of org.eclipse.ui.internal.texteditor.quickdiff.compare.equivalence.DocumentEquivalenceClass.update()

      return;

    // store size of replaced region (never synchronized -> not a problem)
    fFirstLine= doc.getLineOfOffset(event.getOffset()); // store change bounding lines
    fNLines= doc.getLineOfOffset(event.getOffset() + event.getLength()) - fFirstLine + 1;
    rightEquivalent.update(event);
  }

  /*
   * @see org.eclipse.jface.text.IDocumentListener#documentChanged(org.eclipse.jface.text.DocumentEvent)
   */
 
View Full Code Here

Examples of org.eclipse.ui.texteditor.FindReplaceAction.update()

        MergeViewerAction action = (MergeViewerAction) next;
        action.update();
      }
      if (next instanceof FindReplaceAction) {
        FindReplaceAction action = (FindReplaceAction) next;
        action.update();
      }
    }
  }

  public void configure(SourceViewerConfiguration configuration) {
View Full Code Here

Examples of org.eclipse.ui.texteditor.IUpdate.update()

            public void textChanged(TextEvent event) {
                IUpdate findReplace = (IUpdate) globalActions
                    .get(ActionFactory.FIND.getId());
                if (findReplace != null) {
                    findReplace.update();
                }
            }
        };

        textViewer.getSelectionProvider().addSelectionChangedListener(
View Full Code Here

Examples of org.eclipse.wb.internal.css.semantics.Semantics.update()

   * Applies the {@link Semantics} into the source file.
   */
  public void applySemantics(String styleName) throws Exception {
    RuleDesc ruleDesc = getRule(styleName);
    Semantics semantics = getSemantics(styleName);
    semantics.update(ruleDesc.rule);
    m_updatedContexts.add(ruleDesc.contextDescription);
  }

  /**
   * Commits changes into underlying file.
View Full Code Here

Examples of org.eclipse.zest.core.viewers.GraphViewer.update()

      }
    }

    Object[] connections = viewer.getConnectionElements();
    for (int i = 0; i < connections.length; i++) {
      viewer.update(connections[i], null);
    }
  }

  /*
   * (non-Javadoc)
 
View Full Code Here

Examples of org.ektorp.CouchDbConnector.update()

            map.put(column.getName(), row.getValue(column));
          }
        }

        // copy the prototype and set the not-updated values
        connector.update(map);
      }
    } finally {
      dataSet.close();
    }
  }
View Full Code Here

Examples of org.ethereum.trie.Trie.update()

    Trie state = new TrieImpl(null);
        // The proof-of-concept series include a development pre-mine, making the state root hash
        // some value stateRoot. The latest documentation should be consulted for the value of the state root.
    for (String address : premine) {
      AccountState acctState = new AccountState(BigInteger.ZERO, PREMINE_AMOUNT);
      state.update(Hex.decode(address), acctState.getEncoded());
        }

    setStateRoot(state.getRootHash());
    }
 
View Full Code Here

Examples of org.ethereum.trie.TrieImpl.update()

    Trie state = new TrieImpl(null);
        // The proof-of-concept series include a development pre-mine, making the state root hash
        // some value stateRoot. The latest documentation should be consulted for the value of the state root.
    for (String address : premine) {
      AccountState acctState = new AccountState(BigInteger.ZERO, PREMINE_AMOUNT);
      state.update(Hex.decode(address), acctState.getEncoded());
        }

    setStateRoot(state.getRootHash());
    }
 
View Full Code Here

Examples of org.exist.versioning.svn.WorkingCopy.update()

        Resource wcDir = new Resource(collection);

        try {
          WorkingCopy wc = new WorkingCopy("", "");

          out().println( wc.update(wcDir, SVNRevision.HEAD, true) );
    } catch (SVNException svne) {
      svne.printStackTrace();
      throw new CommandException(
          "error while commiting a working copy to the repository '"
                    + wcDir + "'", svne);
View Full Code Here

Examples of org.exist.xmldb.IndexQueryService.update()

                final String xupdate = "<xu:modifications version=\"1.0\" "
                        + "xmlns:xu=\"http://www.xmldb.org/xupdate\">"
                        + command + "</xu:modifications>";
                final XUpdateQueryService service = (XUpdateQueryService) current
                        .getService("XUpdateQueryService", "1.0");
                final long mods = service.update(xupdate);
                System.out.println(mods + " modifications processed.");
               
            } else if (args[0].equalsIgnoreCase("map")) {
                final StringTokenizer tok = new StringTokenizer(args[1], "= ");
                final String prefix;
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.