Examples of walk()


Examples of org.richfaces.component.UIRepeat.walk()

                    return DataVisitResult.CONTINUE;
                }
            };

            repeater.walk(context, visitor, null);
        } finally {
            repeater.setRowKey(context, null);
        }
    }
}
View Full Code Here

Examples of org.richfaces.component.UIScrollableDataTable.walk()

   
    ResponseWriter writer = context.getResponseWriter();
    writer.startElement("table", grid);
    writer.startElement("tbody", grid);
   
    grid.walk(context, ajaxRowsRenderer, state);
    int fakeRowsCount = grid.getRows() - grid.getRowCount();
    ScrollableDataTableRendererState.restoreState(context);
    grid.setRowKey(null);
    state.setFake(true);
    for (int i = 0; i < fakeRowsCount; i++) {
View Full Code Here

Examples of org.richfaces.component.UIScrollableDataTable.walk()

      if (clientSelection.isReset() || clientSelection.isSelectAll()) {
        simpleSelection.clear();
        simpleSelection.setSelectAll(clientSelection.isSelectAll());
      }
      try {
        grid.walk(context, new DataVisitor() {
          public void process(FacesContext context, Object rowKey,
              Object argument) throws IOException {

            int i = state.getRowIndex();
View Full Code Here

Examples of org.richfaces.model.AbstractTreeDataModel.walk()

    Object savedRowKey = getRowKey();

    try {
      AbstractTreeDataModel dataModel = (AbstractTreeDataModel) getExtendedDataModel();
      dataModel.walk(faces, visitor, range, rowKey,
          argument,
          false);
    } finally {
      try {
        setRowKey(faces, savedRowKey);
View Full Code Here

Examples of org.richfaces.sandbox.component.AbstractTabPanel.walk()

                            throw new RuntimeException(e);
                        }
                        return DataVisitResult.CONTINUE;
                    }
                });
                tabPanel.walk(context, visitor, null);
            } finally {
                tabPanel.setRowKey(context, null);
            }
        } else {
            for (AbstractTogglePanelItemInterface item : ((AbstractTogglePanel) comp).getRenderedItems()) {
View Full Code Here

Examples of org.richfaces.sandbox.component.AbstractTogglePanel.walk()

                                    e.printStackTrace();
                                }
                                return DataVisitResult.CONTINUE;
                            }
                        });
                        abstractTogglePanel.walk(context, visitor, null);
                        writer.endElement(HtmlConstants.DIV_ELEM);
                    } finally {
                        abstractTogglePanel.setRowKey(context, null);
                    }
        } else {
View Full Code Here

Examples of org.sonatype.nexus.proxy.walker.Walker.walk()

                  throws Exception
              {
                FileUtils.deleteDirectory(new File(repoLocation, coll.getPath()));
              }
            });
            walker.walk(context);
          }
        }
    );
    wastebasket.purgeAll(DefaultWastebasket.ALL);
  }
View Full Code Here

Examples of org.tmatesoft.hg.internal.RevlogDelegate.walk()

      head = new LinkRevDelegate(linkRevInspector, head);
    }
    // first to get notified is created last

    assert head != null; // we know all subclasses of Revlog.Inspector
    head.walk(getRepo(), content, _start, end);
  }
 
  /**
   * MARKER
   */
 
View Full Code Here

Examples of org.tmatesoft.hg.repo.HgDirstate.walk()

    repo = Configuration.get().find("mixed-case");
    // Windows, case-insensitive file system
    final HgInternals testAccess = new HgInternals(repo);
    HgDirstate dirstate = testAccess.createDirstate(false);
    final TreeSet<Path> entries = new TreeSet<Path>();
    dirstate.walk(new HgDirstate.Inspector() {
     
      public boolean next(EntryKind kind, Record entry) {
        entries.add(entry.name());
        return true;
      }
View Full Code Here

Examples of org.tmatesoft.hg.repo.HgDirstate.walk()

    checkKnownInDirstate(testAccess, dirstate, mixedNonMatching, expected);
    //
    // check that in case-sensitive file system mangled names do not match
    dirstate = testAccess.createDirstate(true);
    // ensure read
    dirstate.walk(new HgDirstate.Inspector() {
      public boolean next(EntryKind kind, Record entry) {
        return false;
      }
    });
    Path[] known = testAccess.checkKnown(dirstate, mixedNonMatching);
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.