Examples of UriFragment


Examples of org.activiti.explorer.navigation.UriFragment

  protected LazyLoadingContainer deploymentListContainer;
  protected DeploymentFilter deploymentFilter;
 
  public DeploymentPage() {
    ExplorerApp.get().setCurrentUriFragment(
      new UriFragment(DeploymentNavigator.DEPLOYMENT_URI_PART));
   
    deploymentFilter = ExplorerApp.get().getComponentFactory(DeploymentFilterFactory.class).create();
  }
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

          String deploymentId = (String) item.getItemProperty("id").getValue();
          setDetailComponent(new DeploymentDetailPanel(deploymentId, DeploymentPage.this));
         
          // Update URL
          ExplorerApp.get().setCurrentUriFragment(
            new UriFragment(DeploymentNavigator.DEPLOYMENT_URI_PART, deploymentId));
        } else {
          // Nothing is selected
          setDetailComponent(null);
          ExplorerApp.get().setCurrentUriFragment(new UriFragment(DeploymentNavigator.DEPLOYMENT_URI_PART));
        }
      }
    });
   
    // Create column headers
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

    return new QueuedListQuery(groupId);
  }
 
  @Override
  protected UriFragment getUriFragment(String taskId) {
    UriFragment taskFragment = new UriFragment(TaskNavigator.TASK_URI_PART);
    if(taskId != null) {
      taskFragment.addUriPart(taskId);
    }
   
    taskFragment.addParameter(TaskNavigator.PARAMETER_CATEGORY, TaskNavigator.CATEGORY_QUEUED);
   
    if(groupId != null) {
      taskFragment.addParameter(TaskNavigator.PARAMETER_GROUP, groupId);
    }
    return taskFragment;
  }
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

    return new InboxListQuery();
  }
 
  @Override
  protected UriFragment getUriFragment(String taskId) {
    UriFragment taskFragment = new UriFragment(TaskNavigator.TASK_URI_PART);

    if(taskId != null) {
      taskFragment.addUriPart(taskId);
    }

    taskFragment.addParameter(TaskNavigator.PARAMETER_CATEGORY, TaskNavigator.CATEGORY_INBOX);
    return taskFragment;
  }
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

  protected LazyLoadingQuery groupListQuery;
  protected LazyLoadingContainer groupListContainer;
 
  public GroupPage() {
    ExplorerApp.get().setCurrentUriFragment(
            new UriFragment(GroupNavigator.GROUP_URI_PART));
  }
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

          String groupId = (String) item.getItemProperty("id").getValue();
          setDetailComponent(new GroupDetailPanel(GroupPage.this, groupId));
         
          // Update URL
          ExplorerApp.get().setCurrentUriFragment(
            new UriFragment(GroupNavigator.GROUP_URI_PART, groupId));
        } else {
          // Nothing is selected
          setDetailComponent(null);
          ExplorerApp.get().setCurrentUriFragment(new UriFragment(GroupNavigator.GROUP_URI_PART, groupId));
        }
      }
    });
   
    return groupTable;
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

  protected LazyLoadingQuery userListQuery;
  protected LazyLoadingContainer userListContainer;
 
  public UserPage() {
    ExplorerApp.get().setCurrentUriFragment(
            new UriFragment(UserNavigator.USER_URI_PART));
  }
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

          String userId = (String) item.getItemProperty("id").getValue();
          setDetailComponent(new UserDetailPanel(UserPage.this, userId));
         
          // Update URL
          ExplorerApp.get().setCurrentUriFragment(
            new UriFragment(UserNavigator.USER_URI_PART, userId));
        } else {
          // Nothing is selected
          setDetailComponent(null);
          ExplorerApp.get().setCurrentUriFragment(new UriFragment(UserNavigator.USER_URI_PART));
        }
      }
    });
   
    return userTable;
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

        Item item = processInstanceTable.getItem(event.getProperty().getValue()); // the value of the property is the itemId of the table entry
        if(item != null) {
          String processInstanceId = (String) item.getItemProperty("id").getValue();
          setDetailComponent(new ProcessInstanceDetailPanel(processInstanceId, ProcessInstancePage.this));
         
          UriFragment taskFragment = getUriFragment(processInstanceId);
          ExplorerApp.get().setCurrentUriFragment(taskFragment);
        } else {
          // Nothing is selected
          setDetailComponent(null);
          UriFragment taskFragment = getUriFragment(null);
          ExplorerApp.get().setCurrentUriFragment(taskFragment);
        }
      }
    });
   
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

  protected LazyLoadingQuery processDefinitionListQuery;
  protected LazyLoadingContainer processDefinitionListContainer;
 
  public SuspendedProcessDefinitionPage() {
    ExplorerApp.get().setCurrentUriFragment(
            new UriFragment(SuspendedProcessDefinitionNavigator.SUSPENDED_PROC_DEF_URI_PART));
  }
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.