Package org.activiti.explorer.data

Examples of org.activiti.explorer.data.LazyLoadingContainer


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


 
 
  protected Table createList() {
    reportTable = new Table();
    reportListQuery = new ReportListQuery();
    reportListContainer = new LazyLoadingContainer(reportListQuery);
    reportTable.setContainerDataSource(reportListContainer);
   
    // Column headers
    reportTable.addGeneratedColumn("icon", new ThemeImageColumnGenerator(Images.REPORT_22));
    reportTable.setColumnWidth("icon", 22);
View Full Code Here

  @Override
  protected Table createList() {
    final Table jobTable = new Table();
   
    LazyLoadingQuery jobListQuery = new JobListQuery();
    jobListContainer = new LazyLoadingContainer(jobListQuery, 30);
    jobTable.setContainerDataSource(jobListContainer);
           
    // Listener to change right panel when clicked on a deployment
    jobTable.addListener(new Property.ValueChangeListener() {
      private static final long serialVersionUID = 8811553575319455854L;
View Full Code Here

      groupTable.setSortDisabled(true);
      groupTable.setHeight(150, UNITS_PIXELS);
      groupTable.setWidth(100, UNITS_PERCENTAGE);
      groupLayout.addComponent(groupTable);
     
      groupContainer = new LazyLoadingContainer(groupsForUserQuery, 30);
      groupTable.setContainerDataSource(groupContainer);
     
      groupTable.addContainerProperty("id", Button.class, null);
      groupTable.setColumnExpandRatio("id", 22);
      groupTable.addContainerProperty("name", String.class, null);
View Full Code Here

  }

  protected Table createList() {
    reportTable = new Table();
    reportListQuery = new SavedReportsListQuery();
    reportListContainer = new LazyLoadingContainer(reportListQuery);
    reportTable.setContainerDataSource(reportListContainer);
   
    // Column headers
    reportTable.addGeneratedColumn("icon", new ThemeImageColumnGenerator(Images.REPORT_22));
    reportTable.setColumnWidth("icon", 22);
View Full Code Here

    groupTable.setNullSelectionAllowed(false);
    groupTable.setSortDisabled(true);
    groupTable.setSizeFull();
   
    groupListQuery = new GroupListQuery();
    groupListContainer = new LazyLoadingContainer(groupListQuery, 20);
    groupTable.setContainerDataSource(groupListContainer);
   
    // Column headers
    groupTable.addGeneratedColumn("icon", new ThemeImageColumnGenerator(Images.GROUP_22));
    groupTable.setColumnWidth("icon", 22);
View Full Code Here

  protected Table createList() {
    userTable = new Table();
   
    userListQuery = new UserListQuery();
    userListContainer = new LazyLoadingContainer(userListQuery, 20);
    userTable.setContainerDataSource(userListContainer);
   
    // Column headers
    userTable.addGeneratedColumn("icon", new ThemeImageColumnGenerator(Images.USER_22));
    userTable.setColumnWidth("icon", 22);
View Full Code Here

      groupTable.setSortDisabled(true);
      groupTable.setHeight(150, UNITS_PIXELS);
      groupTable.setWidth(100, UNITS_PERCENTAGE);
      groupLayout.addComponent(groupTable);
     
      groupContainer = new LazyLoadingContainer(groupsForUserQuery, 10);
      groupTable.setContainerDataSource(groupContainer);
     
      groupTable.addContainerProperty("id", Button.class, null);
      groupTable.setColumnExpandRatio("id", 22);
      groupTable.addContainerProperty("name", String.class, null);
View Full Code Here

    groupTable.setWidth(460, UNITS_PIXELS);
    groupTable.setHeight(275, UNITS_PIXELS);
    addComponent(groupTable);
   
    GroupSelectionQuery query = new GroupSelectionQuery(identityService, userId);
    LazyLoadingContainer container = new LazyLoadingContainer(query, 10);
    groupTable.setContainerDataSource(container);
   
    groupTable.addContainerProperty("id", String.class, null);
    groupTable.addContainerProperty("name", String.class, null);
    groupTable.addContainerProperty("type", String.class, null);
View Full Code Here

     
      membersTable.setEditable(false);
      membersTable.setSelectable(false);
      membersTable.setSortDisabled(false);
     
      LazyLoadingContainer container = new LazyLoadingContainer(query, 10);
      membersTable.setContainerDataSource(container);
     
      membersTable.addContainerProperty("id", Button.class, null);
      membersTable.addContainerProperty("firstName", String.class, null);
      membersTable.addContainerProperty("lastName", String.class, null);
View Full Code Here

TOP

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

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.