Examples of Commit()


Examples of org.eclipse.nebula.widgets.nattable.edit.editor.ICellEditor.commit()

     */
    @Deprecated
    public static boolean commitAndCloseActiveEditor() {
        ICellEditor activeCellEditor = ActiveCellEditorRegistry.getActiveCellEditor();
        if (activeCellEditor != null) {
            return activeCellEditor.commit(MoveDirectionEnum.NONE, true);
        }
        return true;
    }

}

Examples of org.eclipse.persistence.sessions.UnitOfWork.commit()

        UnitOfWork uow = xrService.getORSession().acquireUnitOfWork();
        // read the existing object into the uow
        uow.readObject(instance);
        // overwrite it
        uow.mergeClone(instance);
        uow.commit();
        return null;
    }
}

Examples of org.eclipse.test.performance.PerformanceMeter.commit()

        long avg = (end - start) / (i + 1);
        System.out.println("Created project " + i + " average time per project: " + avg);
      }
    }
    meter.stop();
    meter.commit();
  }
}

Examples of org.eclipse.ui.forms.IDetailsPage.commit()

        currentPage = clazz != null ? currentPage = pageMap.get(clazz) : null;

        // Save data from old page
        if (oldPage != null && oldPage.isDirty())
            oldPage.commit(false);

        // Show control
        Control control;
        if (currentPage == null) {
            control = deselectedPanel;

Examples of org.eclipse.ui.forms.IManagedForm.commit()

        IFormPage[] pages = getPages();
        for (int i = 0; i < pages.length; i++) {
            IFormPage page = pages[i];
            IManagedForm mform = page.getManagedForm();
            if (mform != null && mform.isDirty())
                mform.commit(true);
        }
    }

    public IFormPage[] getPages() {
        ArrayList formPages = new ArrayList();

Examples of org.eclipse.wb.internal.css.parser.CssEditContext.commit()

   * Saves and removes {@link CssEditContext}'s.
   */
  public void saveContexts() throws CoreException {
    for (Iterator<CssEditContext> I = m_fileToContext.values().iterator(); I.hasNext();) {
      CssEditContext context = I.next();
      context.commit();
      context.disconnect();
      I.remove();
    }
  }

Examples of org.ethereum.facade.Repository.commit()

        repository.startTracking();

        repository.createAccount(Hex.decode(addr));
        repository.addBalance(Hex.decode(addr), BigInteger.valueOf(expectedBalance));

        repository.commit();

        BigInteger balance =  repository.getBalance(Hex.decode(addr));

        assertEquals(expectedBalance, balance.longValue());
    }

Examples of org.exist.fluent.Transaction.commit()

          root.removeBinaryResource(tx.tx, tx.broker, doc);
        } else {
          root.removeXMLResource(tx.tx, tx.broker, doc.getFileURI());
        }
      }
      tx.commit();
    } finally {
      tx.abortIfIncomplete();
    }
  }

Examples of org.exist.storage.txn.TransactionManager.commit()

        broker.saveCollection(transaction, root);
            assertNotNull(root);

            root.addBinaryResource(transaction, broker, XmldbURI.create(name), data.getBytes(), "application/xquery");

            transact.commit(transaction);
        } catch (Exception e) {
            if (transact != null)
                transact.abort(transaction);
            e.printStackTrace();
            fail(e.getMessage());

Examples of org.exist.versioning.svn.WorkingCopy.commit()

        Resource wcDir = new Resource(collection);

        try {
          WorkingCopy wc = new WorkingCopy(user, password);

          out().println( wc.commit(wcDir, false, comment) );
    } catch (SVNException svne) {
      svne.printStackTrace();
      throw new CommandException(
          "error while commiting a working copy to the repository '"
                    + wcDir + "'", svne);
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.