Package org.activiti.explorer.data

Examples of org.activiti.explorer.data.LazyLoadingQuery


    spacer.addStyleName(ExplorerLayout.STYLE_DETAIL_BLOCK);
    addDetailComponent(spacer);
  }
 
  protected void addTableData() {
    LazyLoadingQuery lazyLoadingQuery = new TableDataQuery(tableName, managementService);
    LazyLoadingContainer lazyLoadingContainer = new LazyLoadingContainer(lazyLoadingQuery, 10);
   
    if (lazyLoadingContainer.size() > 0) {
     
      Table data = new Table();
      data.setContainerDataSource(lazyLoadingContainer);
      data.setEditable(false);
      data.setSelectable(true);
      data.setColumnReorderingAllowed(true);
      if (lazyLoadingQuery.size() < 10) {
        data.setPageLength(0);
      } else {
        data.setPageLength(10);
      }
      addDetailComponent(data);
View Full Code Here

TOP

Related Classes of org.activiti.explorer.data.LazyLoadingQuery

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.