Examples of updateFrom()


Examples of com.l2client.model.network.EntityData.updateFrom()

    if(selected!=null){

      log.info("Updating Char " + " from " + selected.getX() + ","
          + selected.getY() + "," + selected.getZ() + " to "
          + info.getX() + "," + info.getY() + "," + info.getZ());
      selected.updateFrom(info);
      selectedObjectId = selected.getObjectId();
      //TODO check doEnterWorld could be called after charSelected, not here as this will come several times, and perhaps for other players too?
      //FIXME second time we land here all guis are gone!?!???!!!
      Singleton.get().getGameController().doEnterWorld();
      return true;       
View Full Code Here

Examples of com.motomapia.entity.Place.updateFrom()

        Place place = ofy().load().type(Place.class).id(wikiPlace.getId()).now();

        if (place == null) {
          ofy().save().entity(new Place(wikiPlace));
        } else {
          place.updateFrom(wikiPlace);
        }
      }
    });
  }
}
View Full Code Here

Examples of com.sun.jersey.samples.contacts.models.Contact.updateFrom()

                        entity("No contact for user '" + username + "'\r\n").
                        build();
            }

            // Update the original contact information
            original.updateFrom(contact);
            return Response.
                    ok().
                    build();

        }
View Full Code Here

Examples of de.jetwick.data.JTag.updateFrom()

        if (term.contains(" OR ")) {
            for (String tmpTerm : term.split(" OR ")) {
                if (!tmpTerm.isEmpty()) {
                    // do not use default lastRequest (which is new Date())
                    JTag tmp = new JTag(tmpTerm).setLastRequest(tag.getLastRequest());
                    tmp.updateFrom(tag);
                    queueObject(tmp);
                }
            }
            return;
        }
View Full Code Here

Examples of de.jetwick.data.JTag.updateFrom()

            return;
        }

        JTag existing = findByTermAndUser(tag.getTerm(), tag.getUser());
        if (existing != null) {
            existing.updateFrom(tag);
            tag = existing;
        }

        store(tag, false);
    }
View Full Code Here

Examples of de.jetwick.data.JTweet.updateFrom()

    public void innerAdd(JTweet tw) {
        // do not add protected tweets and add them only once
        if (!tw.isProtected()) {
            JTweet existingTweet = tweets.put(tw.getId(), tw);           
            if (existingTweet != null) {
                existingTweet.updateFrom(tw);               
                tweets.put(existingTweet.getId(), existingTweet);
            }
        } else
            protectedTweets.add(tw);
    }
View Full Code Here

Examples of de.sosd.mediaserver.domain.db.NetworkDeviceDomain.updateFrom()

    NetworkDeviceDomain ndd = manager.find(NetworkDeviceDomain.class, ndb.getMacAddress());
   
    if (ndd == null) {
      ndd = new NetworkDeviceDomain(ndb, system);
    } else {
      ndd.updateFrom(ndb);
    }
   
    manager.persist(ndd);
    return convert(ndd);
  }
View Full Code Here

Examples of gov.nasa.arc.mct.fastplot.settings.controls.PlotSettingsAxisGroup.updateFrom()

    };
 
    timeGroup.updateFrom(plotViewManifestation);
    nonTimeGroup.updateFrom(plotViewManifestation);
    otherNonTimeGroup.updateFrom(plotViewManifestation);
    this.plotViewManifestation.addFeedCallback(new Runnable() {
      @Override
      public void run() {
        timeGroup.updateFrom(plotViewManifestation);
        nonTimeGroup.updateFrom(plotViewManifestation);
View Full Code Here

Examples of gov.nasa.arc.mct.fastplot.settings.controls.PlotSettingsAxisGroup.updateFrom()

    this.plotViewManifestation.addFeedCallback(new Runnable() {
      @Override
      public void run() {
        timeGroup.updateFrom(plotViewManifestation);
        nonTimeGroup.updateFrom(plotViewManifestation);
        otherNonTimeGroup.updateFrom(plotViewManifestation);
      }
    });   
    addSubPanel(timeGroup);
    addSubPanel(nonTimeGroup);
    addSubPanel(otherNonTimeGroup);
View Full Code Here

Examples of org.apache.wicket.markup.html.form.AutoLabelResolver.AutoLabelMarker.updateFrom()

    {
      // this component does not have an auto label
      return;
    }

    marker.updateFrom(this, target);
  }

  /**
   * Update the model of a {@link FormComponent} containing a {@link Collection}.
   *
 
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.