Examples of move()


Examples of org.jahia.ajax.gwt.client.service.content.JahiaContentManagementServiceAsync.move()

                status.setData(OPERATION_CALLED, "true");
                if ("*".equals(name)) {
                    service.moveAtEnd(selectedNode.getPath(), parentPath, callback);
                } else {
                    service.move(selectedNode.getPath(), targetPath, callback);
                }
            } else if (CREATE_CONTENT_SOURCE_TYPE.equals(sourceType)) {
                // Item creation
                status.setData(OPERATION_CALLED, "true");
                if ((sourceNodeType.getItems() == null || sourceNodeType.getItems().size() == 0) &&

Examples of org.jboss.aesh.terminal.CursorPosition.move()

   @Override
   public void moveCursor(int rows, int columns)
   {
      CursorPosition cp = getCursor();
      cp.move(rows, columns);
      if (getSize().isPositionWithinSize(cp))
      {
         setCursor(cp);
      }
   }

Examples of org.jboss.as.cli.batch.Batch.move()

        if(toLineNumber < 1 || toLineNumber > batchSize) {
            throw new CommandFormatException(toLineNumber + " isn't in range [1.." + batchSize + "].");
        }

        batch.move(lineNumber - 1, toLineNumber - 1);
    }

    @Override
    public boolean hasArgument(int index) {
        return index < 2;

Examples of org.locationtech.udig.catalog.ServiceMover.move()

                IService service = null;
                try {
                    service = layer.getGeoResource().service(null);
                    if (service.canResolve(ServiceMover.class)) {
                        ServiceMover tmp = service.resolve(ServiceMover.class, null);
                        String msg = tmp.move(projectDataFolder);
                        if (msg != null) {

                            MessageDialog.openError(PlatformUI.getWorkbench().getDisplay()
                                    .getActiveShell(), "Comsolidation Error", msg);
                        }

Examples of org.nasutekds.quicksetup.util.FileManager.move()

          // Do our best to restore the filesystem like
          // we found it.  Just report potential problems
          // to the user.
          try {
            fm.move(f, root, null);
          } catch (Throwable t) {
            restoreError = true;
            notifyListeners(INFO_ERROR_RESTORING_FILE.get(Utils.getPath(f),
                    Utils.getPath(root)));
          }

Examples of org.pokenet.server.backend.entity.Char.move()

      if(m_waiting != null && m_waiting.size() > 0) {
        synchronized(m_waiting) {
          tmp = m_waiting.poll();
        }
        /* Move character */
        tmp.move();
        /* Place him in moved array */
        synchronized(m_moved) {
          m_moved.offer(tmp);
        }
      }

Examples of org.timerescue.element.agent.Agent.move()

      Agent wanderer = (Agent)getParam(Constants.Parameter.WANDERER);
      int speed = Integer.parseInt(
          wanderer.getProperty_holder().getCurrentProperty(
              Agent.Constants.Property.SPEED));
      //points toward a random direction
      wanderer.move(
          new Coordinate(seed.nextInt(), seed.nextInt(), seed.nextInt()),
          speed);
    } catch (InvalidPropertyException e) {
      // TODO log this
    }

Examples of org.uberfire.java.nio.file.spi.FileSystemProvider.move()

        checkNotNull( "source", source );
        checkNotNull( "target", target );

        final FileSystemProvider provider = providerOf( source );
        if ( providerOf( target ) == provider ) {
            provider.move( source, target, options );
            return target;
        }
        throw new UnsupportedOperationException( "can't move from different providers" );
    }

Examples of org.uberfire.java.nio.fs.file.SimpleFileSystemProvider.move()

        final Path source = GeneralPathImpl.create( fsProvider.getFileSystem( URI.create( "file:///" ) ), userSourcePath, false );
        final Path dest = GeneralPathImpl.create( fsProvider.getFileSystem( URI.create( "file:///" ) ), userDestPath, false );
        fsProvider.createDirectory( source );

        fsProvider.move( source, dest );

        assertThat( source.toFile().exists() ).isFalse();
        assertThat( dest.toFile().exists() ).isTrue();

        dest.toFile().delete();

Examples of org.vietspider.html.NodeConfig.move()

      Iterator<HTMLNode> iter =  node.childIterator();//node.getChildren().iterator();
      while(iter.hasNext()){
        HTMLNode child = iter.next();       
        if(HTML.isChild(node, child.getConfig())) continue;       
        iter.remove();
        if(config.move() == MoveType.INSERT) insert(node, child);
//        if(config.move() == MoveType.ADD) node.getParent().addChild(child);
      }
    }   

    if(config.move() != MoveType.HEADER) return;
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.