Examples of restore()


Examples of jetbrains.communicator.util.TreeState.restore()

          GroupEvent.Updated evt = ((GroupEvent.Updated) updated);
          state.addReplacement(evt.getOldGroup(), evt.getNewGroup());
        }

        setRoot(new RootNode(myUserModel, myLocalMessageDispatcher));
        state.restore(myTree);
      }
    });
  }

  public void dispose() {
View Full Code Here

Examples of jline.Terminal.restore()

            try {
                client.stop();
            } catch (Throwable t) { }
            try {
                if (terminal != null) {
                    terminal.restore();
                }
            } catch (Throwable t) { }
        }
        System.exit(0);
    }
View Full Code Here

Examples of jp.vmi.selenium.selenese.highlight.HighlightStyleBackup.restore()

    @Override
    public void unhighlight() {
        while (!styleBackups.isEmpty()) {
            HighlightStyleBackup backup = styleBackups.pop();
            backup.restore(driver, elementFinder);
        }
    }
}
View Full Code Here

Examples of lineage2.gameserver.model.items.PcFreight.restore()

    {
      return;
    }
    PcInventory inventory = player.getInventory();
    PcFreight freight = new PcFreight(_objectId);
    freight.restore();
    inventory.writeLock();
    freight.writeLock();
    try
    {
      int slotsleft = 0;
View Full Code Here

Examples of lineage2.loginserver.accounts.Account.restore()

   */
  @Override
  protected void runImpl()
  {
    Account acc = new Account(account);
    acc.restore();
    acc.setAccessLevel(level);
    acc.setBanExpire(banExpire);
    acc.update();
  }
}
View Full Code Here

Examples of mage.players.Player.restore()

    this.exile = state.exile;
    this.battlefield = state.battlefield;
    this.zones = state.zones;
    for (Player copyPlayer: state.players.values()) {
      Player origPlayer = players.get(copyPlayer.getId());
      origPlayer.restore(copyPlayer);
    }
  }

  public void handleEvent(GameEvent event, Game game) {
    watchers.watch(event, game);
View Full Code Here

Examples of megamek.common.Entity.restore()

            Server.entityVerifier = new EntityVerifier(new File(VERIFIER_CONFIG_FILENAME));
        }
        // we can only test meks and vehicles right now
        if ((entity instanceof Mech) || (entity instanceof Tank)) {
            TestEntity testEntity = null;
            entity.restore();
            if (entity instanceof Mech) {
                testEntity = new TestMech((Mech) entity, Server.entityVerifier.mechOption, null);
            }
            if (entity instanceof VTOL) {
                testEntity = new TestTank((Tank) entity, Server.entityVerifier.tankOption, null);// not
View Full Code Here

Examples of megamek.common.Mounted.restore()

            // The equipment type of a club needs to be restored.
            if (ea instanceof ClubAttackAction) {
                ClubAttackAction caa = (ClubAttackAction) ea;
                Mounted club = caa.getClub();
                club.restore();
            }

            if (ea instanceof PushAttackAction) {
                // push attacks go the end of the displacement attacks
                PushAttackAction paa = (PushAttackAction) ea;
View Full Code Here

Examples of net.infonode.docking.View.restore()

    if(! loadingLayoutFromObjectInpusStream) {
      for (int i = 0; i < mapViews.size(); ++i) {
        if (mapViews.get(i) == pNewMap) {
          View dockedView = getContainingDockedWindow(pNewMap);
          if(dockedView.isMinimized())
            dockedView.restore();
          else
            dockedView.restoreFocus();
          focusMapViewLater((MapView) pNewMap);
          return;
        }
View Full Code Here

Examples of net.sf.hajdbc.DumpRestoreSupport.restore()

      File file = Files.createTempFile(DUMP_FILE_SUFFIX);
     
      try
      {
        support.dump(context.getSourceDatabase(), decoder, file);
        support.restore(context.getTargetDatabase(), decoder, file);
      }
      finally
      {
        Files.delete(file);
      }
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.