Examples of move()


Examples of org.eclipse.core.resources.IFolder.move()

    _hsqlRoot = _wgaData.getFolder(new Path(DBS_FOLDERNAME));
    IFolder oldHSQLRoot = _wgaData.getFolder(new Path("dbs"));
    if (oldHSQLRoot.exists()) {
      try {
        oldHSQLRoot.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
        oldHSQLRoot.move(new Path(DBS_FOLDERNAME), false, new NullProgressMonitor());
      } catch (CoreException e) {
        WGADesignerPlugin.getDefault().logError("Unable to migrate existing dbs folder.", e);
      }
    }
    if (!_hsqlRoot.exists()) {

Examples of org.eclipse.core.resources.IProject.move()

      ErlNotificationTest.assertEquality(_insertChanged_1,
        this.listener.delta);
      final IErlProject movedErlProject1 = erlModel.getProject("Test");
      IProject _workspaceProject_6 = erlProject1.getWorkspaceProject();
      Path _path_2 = new Path("Test");
      _workspaceProject_6.move(_path_2, true, null);
      HandleDelta _newDelta_10 = this.newDelta();
      HandleDelta _insertMovedTo_1 = _newDelta_10.insertMovedTo(movedErlProject1, erlProject1);
      HandleDelta _insertMovedFrom_1 = _insertMovedTo_1.insertMovedFrom(erlProject1, movedErlProject1);
      ErlNotificationTest.assertEquality(_insertMovedFrom_1,
        this.listener.delta);

Examples of org.eclipse.core.resources.IResource.move()

        final IMarker marker = getMarker();
        final List<String> margs = getQuickFix().getArgs();
        final IResource file = marker.getResource();
        final IPath path = file.getFullPath();
        final IPath newPath = path.removeLastSegments(1).append(margs.get(0) + ".erl");
        file.move(newPath, true, null);
    }

    @Override
    public void handleException(final Throwable exception) {
        if (exception instanceof CoreException) {

Examples of org.eclipse.core.resources.mapping.IResourceChangeDescriptionFactory.move()

    private boolean validateOperation(IResource[] resources, IPath destinationPath) {
        IResourceChangeDescriptionFactory factory = ResourceChangeValidator.getValidator().createDeltaFactory();
        for (int i = 0; i < resources.length; i++) {
            IResource resource = resources[i];
            if (isMove()) {
                factory.move(resource, destinationPath.append(resource.getName()));
            } else {
                factory.copy(resource, destinationPath.append(resource.getName()));
            }
        }
        String title;

Examples of org.eclipse.emf.ecore.util.FeatureMap.move()

                  {
                    for (int l = 0; l < copyFeatureMapSize; ++l)
                    {
                      if (copyFeatureMap.getEStructuralFeature(l) == feature && copyFeatureMap.getValue(l) == copyReferencedEObject)
                      {
                        copyFeatureMap.move(copyFeatureMap.size() - 1, l);
                        --copyFeatureMapSize;
                        break;
                      }
                    }
                  }

Examples of org.eclipse.emf.ecore.util.InternalEList.move()

                  {
                    target.addUnique(index, copyReferencedEObject);
                  }
                  else if (index != position)
                  {
                    target.move(index, copyReferencedEObject);
                  }
                }
                else
                {
                  target.addUnique(index, copyReferencedEObject);

Examples of org.exist.xmldb.CollectionManagementServiceImpl.move()

                    service.moveResource( XmldbURI.xmldbUriFor( resource ), XmldbURI.xmldbUriFor( destination ), XmldbURI.xmldbUriFor( name ) );
                }

            } else {
                log( "Moving collection: " + collection, Project.MSG_INFO );
                service.move( XmldbURI.xmldbUriFor( collection ), XmldbURI.xmldbUriFor( destination ), XmldbURI.xmldbUriFor( name ) );
            }

        }
        catch( final XMLDBException e ) {
            final String msg = "XMLDB exception during move: " + e.getMessage();

Examples of org.exoplatform.services.html.NodeConfig.move()

         {
            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);
         }
      }

Examples of org.exoplatform.services.jcr.core.ExtendedSession.move()

         {
            return;
         }
         else
         {
            session.move(service.getStoragePath(), storagePathOld, false);
            session.save();
         }
      }
      finally
      {

Examples of org.exoplatform.services.jcr.impl.core.SessionImpl.move()

      session.save();
      session.logout();

      session = (SessionImpl)repository.login(credentials, WORKSPACE);
      list = session.getRootNode().getNode("list2");
      session.move(path, list.getPath() + "/3");
      list.orderBefore("3", "2");
      session.save();
      session.logout();

      session = (SessionImpl)repository.login(credentials, WORKSPACE);
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.