Examples of Change


Examples of org.apache.wicket.version.undo.Change

    if (currentPage != page)
    {
      if (isVersioned())
      {
        addStateChange(new Change()
        {
          private static final long serialVersionUID = 1L;

          private final int old = currentPage;
View Full Code Here

Examples of org.apache.wicket.version.undo.Change

    {
      throw new IllegalArgumentException("markupId cannot be null");
    }
    if (!Objects.equal(this.markupId, markupId))
    {
      addStateChange(new Change()
      {
        private static final long serialVersionUID = 1L;
        private final String oldMarkupId = Fragment.this.markupId;

        public void undo()
View Full Code Here

Examples of org.eclipse.egit.core.synchronize.GitCommitsModelCache.Change

      tw.setRecursive(true);

      Map<String, Change> result = new HashMap<String, Change>();
      MutableObjectId idBuf = new MutableObjectId();
      while (tw.next()) {
        Change change = new Change();
        change.name = tw.getNameString();
        tw.getObjectId(idBuf, 0);
        change.objectId = AbbreviatedObjectId.fromObjectId(idBuf);
        tw.getObjectId(idBuf, 1);
        change.remoteObjectId = AbbreviatedObjectId.fromObjectId(idBuf);
View Full Code Here

Examples of org.eclipse.jgit.storage.dht.spi.cache.CacheService.Change

      executor.submit(new Runnable() {
        public void run() {
          for (Map.Entry<ChunkKey, ChunkMeta> ent
              : toPutIntoCache.entrySet()) {
            ChunkKey key = ent.getKey();
            Change op = Change.put(nsMeta.key(key),
                ent.getValue().toByteArray());
            client.modify(singleton(op), none);
          }
        }
      });
View Full Code Here

Examples of org.eclipse.ltk.core.refactoring.Change

   
    Iterator<RefactoringInfo> infos = _refactoringInformations.iterator();
    while (infos.hasNext()) {
      RefactoringInfo info = infos.next();
      try {
       Change change = RefactoringManager.createChange(info);
        
         if(change != null){
           boolean ok =true;
          Object[] objs = change.getAffectedObjects();
          if(objs !=null){
            for(Object obj : objs){
              if(obj instanceof IResource){
                IResource currentResource = (IResource)obj;
                if(deltaFactory.getDelta().findMember(currentResource.getFullPath())!=null){
View Full Code Here

Examples of org.eclipse.ltk.core.refactoring.Change

  @Override
  public Change createChange(IProgressMonitor pm) throws CoreException, OperationCanceledException {
    pm.beginTask(RefactoringCoreMessages.RenameRefactoring_checking, 1);

    try {
      Change result = new DynamicValidationRefactoringChange(createRefactoringDescriptor(), getProcessorName(), changeManager.getAllChanges());
      pm.worked(1);

      return result;
    } finally {
      changeManager.clear();
View Full Code Here

Examples of org.eclipse.ltk.core.refactoring.Change

        pm.beginTask("Creating changes", changedFiles.size() + 1);
        final CompositeChange change = new CompositeChange(getName());
        pm.internalWorked(1);

        try {
            Change c;
            for (final ChangedFile e : changedFiles) {
                c = e.createChanges();
                if (c != null) {
                    change.add(c);
                    pm.internalWorked(1);
View Full Code Here

Examples of org.jclouds.route53.domain.Change

   @Override
   public void setup() {
      super.setup();
      inSync = retry(new Predicate<Change>() {
         public boolean apply(Change input) {
            Change change = api.getChange(input.getId());
            return change != null && change.getStatus() == INSYNC;
         }
      }, 600, 1, 5, SECONDS);
   }
View Full Code Here

Examples of org.locationtech.geogig.osm.internal.history.Change

        Set<String> deletes = Sets.newHashSet();
        Multimap<String, SimpleFeature> insertsByParent = HashMultimap.create();

        while (changes.hasNext()) {
            Change change = changes.next();
            final String featurePath = featurePath(change);
            if (featurePath == null) {
                continue;// ignores relations
            }
            final String parentPath = NodeRef.parentPath(featurePath);
            if (Change.Type.delete.equals(change.getType())) {
                cnt++;
                deletes.add(featurePath);
            } else {
                final Primitive primitive = change.getNode().isPresent() ? change.getNode().get()
                        : change.getWay().get();
                final Geometry geom = parseGeometry(geogig, primitive, thisChangePointCache);
                if (geom instanceof Point) {
                    thisChangePointCache.put(Long.valueOf(primitive.getId()),
                            ((Point) geom).getCoordinate());
                }
View Full Code Here

Examples of org.modeshape.jcr.cache.change.Change

        @SuppressWarnings( "serial" )
        static ChangeSet create( String journalId,
                                 int changesCount ) throws InterruptedException {
            List<Change> changes = new ArrayList<Change>(changesCount);
            for (int i = 0; i < changesCount; i++) {
                changes.add(new Change() {});
            }
            // sleep 1 second to make sure that successive calls won't have the same TS
            Thread.sleep(1);
            return new TestChangeSet(changes, journalId);
        }
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.