Package org.apache.wicket.version.undo

Examples of org.apache.wicket.version.undo.Change


  public final OrderByLink sort()
  {
    if (isVersioned())
    {
      // version the old state
      Change change = new SortStateChange();
      addStateChange(change);
    }

    ISortState state = stateLocator.getSortState();
View Full Code Here


  public final OrderByLink sort()
  {
    if (isVersioned())
    {
      // version the old state
      Change change = new SortStateChange();
      addStateChange(change);
    }

    ISortState state = stateLocator.getSortState();
View Full Code Here

      @Override
      public void onClick()
      {
        i++;
        addStateChange(new Change()
        {
          private static final long serialVersionUID = 1L;

          @Override
          public void undo()
View Full Code Here

  {
    if (this.index != index)
    {
      if (isVersioned())
      {
        addStateChange(new Change()
        {
          final int oldIndex = Item.this.index;
          private static final long serialVersionUID = 1L;

          @Override
View Full Code Here

   */
  public final AbstractSubmitLink setDefaultFormProcessing(boolean defaultFormProcessing)
  {
    if (this.defaultFormProcessing != defaultFormProcessing)
    {
      addStateChange(new Change()
      {
        private static final long serialVersionUID = 1L;

        boolean formerValue = AbstractSubmitLink.this.defaultFormProcessing;

View Full Code Here

    if (itemsPerPage != items)
    {
      if (isVersioned())
      {
        addStateChange(new Change()
        {
          private static final long serialVersionUID = 1L;

          final int old = itemsPerPage;
View Full Code Here

    if (currentPage != page)
    {
      if (isVersioned())
      {
        addStateChange(new Change()
        {
          private static final long serialVersionUID = 1L;

          private final int old = currentPage;
View Full Code Here

    if (!strategy.equals(itemReuseStrategy))
    {
      if (isVersioned())
      {
        addStateChange(new Change()
        {
          private static final long serialVersionUID = 1L;

          private final IItemReuseStrategy old = itemReuseStrategy;
View Full Code Here

    {
      throw new IllegalArgumentException("markupId cannot be null");
    }
    if (!Objects.equal(this.markupId, markupId))
    {
      addStateChange(new Change()
      {
        private static final long serialVersionUID = 1L;
        private final String oldMarkupId = Fragment.this.markupId;

        @Override
View Full Code Here

   */
  public final Button setDefaultFormProcessing(boolean defaultFormProcessing)
  {
    if (this.defaultFormProcessing != defaultFormProcessing)
    {
      addStateChange(new Change()
      {
        private static final long serialVersionUID = 1L;

        boolean formerValue = Button.this.defaultFormProcessing;

View Full Code Here

TOP

Related Classes of org.apache.wicket.version.undo.Change

Copyright © 2018 www.massapicom. 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.