Examples of revert()


Examples of org.springframework.binding.value.CommitTrigger.revert()

        assertSame(
            "Changing the unrelated trigger2 to commit has no effect on the buffer.",
            buffer.getValue(),
            bufferedValue);
       
        trigger2.revert();
        assertEquals(
            "Changing the unrelated trigger2 to revert has no effect on the wrapped.",
            wrapped.getValue(),
            wrappedValue);
        assertSame(
View Full Code Here

Examples of org.structr.core.converter.PropertyConverter.revert()

        if (converter != null) {

          Object convertedValue = null;

          // ignore conversion errors
          try { convertedValue = converter.revert(value); } catch (Throwable t) {}

          serializeRoot(writer, convertedValue, localPropertyView, depth);

        } else {
View Full Code Here

Examples of org.tigris.subversion.subclipse.core.ISVNLocalResource.revert()

        if (!isManaged(resource))
            return;
        ISVNLocalResource svnResource = SVNWorkspaceRoot
            .getSVNResourceFor(resource);
        try {
            svnResource.revert();
        } catch (SVNException e) {
            log.error("Couldn't revert " + resource.toString(), e);
        }
        try {
            resource.refreshLocal(IResource.DEPTH_INFINITE, null);
View Full Code Here

Examples of org.waveprotocol.wave.client.editor.extract.Repairer.revert()

      } catch (HtmlMissing e) {
        repairer.handle(e);
      } catch (RuntimeException e) {
        // Safe to catch runtime exception - no stateful code should be affected,
        // just browser DOM has been munged which we repair
        repairer.revert(Point.before(getRenderedContentView(), this), null);
      }
    }

    Text nodelet = getImplNodelet();
    getExtendedContext().editing().textNodeletAffected(
View Full Code Here

Examples of smilehouse.gui.html.fieldbased.Field.revert()

                    //environment.log("Removing pipe #" + pipe.getId().toString());
                    pers.delete(pipe);
                }
               
            } else
                listField.revert();
        }

        Form form = getForm("PipeList", listField.getEditor(), labels, false, true);

        return form.toString();
View Full Code Here

Examples of smilehouse.gui.html.fieldbased.Field.revert()

            if(!newUserAdded) {
                listField.commit();
            }

            listField.revert();
           
            for(Iterator current = users.getList().iterator(); current.hasNext();) {
                User user = (User) current.next();
                pers.update(user);
                //environment.log("Updated user #" + user.getId().toString());
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.