Examples of UriFragment


Examples of org.activiti.explorer.navigation.UriFragment

          String processDefinitionId = (String) item.getItemProperty("id").getValue();
          setDetailComponent(new SuspendedProcessDefinitionDetailPanel(processDefinitionId, SuspendedProcessDefinitionPage.this));
         
          // Update URL
          ExplorerApp.get().setCurrentUriFragment(
                  new UriFragment(SuspendedProcessDefinitionNavigator.SUSPENDED_PROC_DEF_URI_PART, processDefinitionId));
         
        } else {
          // Nothing selected
          setDetailComponent(null);
          ExplorerApp.get().setCurrentUriFragment(new UriFragment(SuspendedProcessDefinitionNavigator.SUSPENDED_PROC_DEF_URI_PART));
        }
      }
     
    });
   
View Full Code Here

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

  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

Examples of org.activiti.explorer.navigation.UriFragment

    setDetailComponent(detailPanel);
    changeUrl(processDefinitionId);
  }

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

Examples of org.activiti.explorer.navigation.UriFragment

       
        if(item != null) {
          String id = (String) item.getItemProperty("id").getValue();
          setDetailComponent(createDetailComponent(id));
         
          UriFragment taskFragment = getUriFragment(id);
          ExplorerApp.get().setCurrentUriFragment(taskFragment);
        } else {
          // Nothing is selected
          setDetailComponent(null);
          ExplorerApp.get().setCurrentUriFragment(getUriFragment(null));
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

  protected transient ManagementService managementService = ProcessEngines.getDefaultProcessEngine().getManagementService();
  protected String tableName;
 
  public DatabasePage() {
    ExplorerApp.get().setCurrentUriFragment(
            new UriFragment(DatabaseNavigator.TABLE_URI_PART));
  }
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

        String tableName = (String) event.getProperty().getValue();
        setDetailComponent(new DatabaseDetailPanel(tableName));
      
       // Update URL
       ExplorerApp.get().setCurrentUriFragment(
         new UriFragment(DatabaseNavigator.TABLE_URI_PART, tableName));
      }
    });
   
    // Create column headers
    tableList.addContainerProperty("icon", Embedded.class, null);
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

          String processDefinitionId = (String) item.getItemProperty("id").getValue();
          setDetailComponent(new ReportDetailPanel(processDefinitionId, RunReportsPage.this));
         
          // Update URL
          ExplorerApp.get().setCurrentUriFragment(
                  new UriFragment(ReportNavigator.REPORT_URI_PART, processDefinitionId));
         
        } else {
          // Nothing selected
          setDetailComponent(null);
          ExplorerApp.get().setCurrentUriFragment(new UriFragment(ReportNavigator.REPORT_URI_PART));
        }
      }
     
    });
   
View Full Code Here

Examples of org.activiti.explorer.navigation.UriFragment

  protected Table jobTable;
  protected LazyLoadingContainer jobListContainer;
 
  public JobPage() {
    ExplorerApp.get().setCurrentUriFragment(
      new UriFragment(JobNavigator.JOB_URL_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.