Package org.activiti.explorer.navigation

Examples of org.activiti.explorer.navigation.UriFragment


          String jobId = (String) item.getItemProperty("id").getValue();

          setDetailComponent(new JobDetailPanel(jobId, JobPage.this));
          // Update URL
          ExplorerApp.get().setCurrentUriFragment(
            new UriFragment(JobNavigator.JOB_URL_PART, jobId));
        } else {
          // Nothing is selected
          setDetailComponent(null);
          ExplorerApp.get().setCurrentUriFragment(new UriFragment(JobNavigator.JOB_URL_PART));
        }
      }
    });
   
    // Create column headers
View Full Code Here


    return new TasksListQuery();
  }

  @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_TASKS);
    return taskFragment;
  }
View Full Code Here

          String historicProcessInstanceId = (String) item.getItemProperty("id").getValue();
          setDetailComponent(new SavedReportDetailPanel(historicProcessInstanceId));
         
          // Update URL
          ExplorerApp.get().setCurrentUriFragment(
                  new UriFragment(SavedReportNavigator.SAVED_REPORT_URI_PART, historicProcessInstanceId));
         
        } else {
          // Nothing selected
          setDetailComponent(null);
          ExplorerApp.get().setCurrentUriFragment(new UriFragment(SavedReportNavigator.SAVED_REPORT_URI_PART));
        }
      }
     
    });
   
View Full Code Here

    }
  }

  @Override
  protected UriFragment getUriFragment(String processInstanceId) {
    UriFragment fragment = new UriFragment(MyProcessesNavigator.MY_PROCESSES_URI_PART);
    if(processInstanceId != null) {
      fragment.addUriPart(processInstanceId);
    }
    return fragment;
  }
View Full Code Here

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

          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

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

          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

    return new TasksListQuery();
  }

  @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_TASKS);
    return taskFragment;
  }
View Full Code Here

  private ProcessDefinitionFilter definitionFilter;
 
  public ProcessDefinitionPage() {
    ExplorerApp.get().setCurrentUriFragment(
      new UriFragment(ProcessNavigator.process_URI_PART));
   
    // Create the filter, responsible for querying and populating process definition items
    ComponentFactory<ProcessDefinitionFilter> factory =
            ExplorerApp.get().getComponentFactory(ProcessDefinitionFilterFactory.class);
    definitionFilter = factory.create();
View Full Code Here

TOP

Related Classes of org.activiti.explorer.navigation.UriFragment

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.