Changeset 727


Ignore:
Timestamp:
08/31/12 11:07:58 (12 years ago)
Author:
pharms
Message:
  • added command to generate task trees based on a sequence
Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-tasktrees/src/main/java/de/ugoe/cs/quest/tasktrees/manager/TaskTreeManager.java

    r725 r727  
    11package de.ugoe.cs.quest.tasktrees.manager; 
    22 
     3import java.util.Collection; 
     4import java.util.List; 
    35import java.util.logging.Level; 
    46 
     
    4345    public TaskTreeManager() { 
    4446        rootSequence = taskTreeNodeFactory.createNewSequence(); 
     47    } 
     48 
     49    /** 
     50     * <p> 
     51     * TODO: comment 
     52     * </p> 
     53     * 
     54     * @param sequences 
     55     * @return 
     56     */ 
     57    public synchronized ITaskTree createTaskTree(Collection<List<Event>> sequences) { 
     58         
     59        for (List<Event> sequence : sequences) { 
     60            for (Event event : sequence) { 
     61                handleNewEvent(event); 
     62            } 
     63        } 
     64         
     65        return getTaskTree(); 
    4566    } 
    4667 
  • trunk/quest-ui-core/pom.xml

    r673 r727  
    4949    </dependency> 
    5050    <dependency> 
     51      <groupId>de.ugoe.cs.quest</groupId> 
     52      <artifactId>quest-core-tasktrees</artifactId> 
     53      <version>0.0.1-SNAPSHOT</version> 
     54    </dependency> 
     55    <dependency> 
    5156      <groupId>net.sf.jung</groupId> 
    5257      <artifactId>jung-visualization</artifactId> 
Note: See TracChangeset for help on using the changeset viewer.