Examples of UriFragment


Examples of org.activiti.explorer.navigation.UriFragment

    return new HistoricTaskDetailPanel(historicTaskInstance, this);
  }

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

Examples of org.activiti.explorer.navigation.UriFragment

    return new InvolvedListQuery();
  }

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

Examples of org.activiti.explorer.navigation.UriFragment

  // UI
  protected String modelId;
  protected EditorProcessDefinitionDetailPanel detailPanel;
 
  public EditorProcessDefinitionPage() {
    ExplorerApp.get().setCurrentUriFragment(new UriFragment(ProcessModelNavigator.PROCESS_MODEL_URI_PART));
  }
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

    setDetailComponent(detailPanel);
    changeUrl("" + selectedModelId);
  }

  protected void changeUrl(String processDefinitionId) {
    UriFragment processDefinitionFragment = new UriFragment(ProcessModelNavigator.PROCESS_MODEL_URI_PART, processDefinitionId);
    ExplorerApp.get().setCurrentUriFragment(processDefinitionFragment);
  }
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

    }
  }

  @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

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

        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

  // UI
  protected String modelId;
  protected EditorProcessDefinitionDetailPanel detailPanel;
 
  public EditorProcessDefinitionPage() {
    ExplorerApp.get().setCurrentUriFragment(new UriFragment(ProcessModelNavigator.PROCESS_MODEL_URI_PART));
  }
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

    setDetailComponent(detailPanel);
    changeUrl("" + selectedModelId);
  }

  protected void changeUrl(String processDefinitionId) {
    UriFragment processDefinitionFragment = new UriFragment(ProcessModelNavigator.PROCESS_MODEL_URI_PART, processDefinitionId);
    ExplorerApp.get().setCurrentUriFragment(processDefinitionFragment);
  }
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.