Search in sources :

Example 1 with CustomColumnSpecs

use of teamdash.wbs.columns.CustomColumnSpecs in project processdash by dtuma.

the class TeamProjectMerger method run.

public void run() {
    // alter the node IDs in the incoming branch to ensure the best match.
    TeamProjectNodeIDMatcher.performMatch(base, main, incoming);
    // merge the various data structures in the team project.
    TeamMemberList team = mergeTeams();
    WorkflowWBSModel workflows = mergeWorkflows();
    ProxyWBSModel proxies = mergeProxies();
    MilestonesWBSModel milestones = mergeMilestones();
    CustomColumnSpecs columns = mergeColumns();
    WBSModel wbs = mergeWBS();
    Map userSettings = mergeUserSettings();
    // create a TeamProject object to hold the merged data.
    File dir = new File("no such directory " + System.currentTimeMillis());
    merged = new TeamProject(dir, "Unused", team, wbs, workflows, proxies, milestones, columns, userSettings);
}
Also used : TeamMemberList(teamdash.team.TeamMemberList) CustomColumnSpecs(teamdash.wbs.columns.CustomColumnSpecs) Map(java.util.Map) File(java.io.File)

Example 2 with CustomColumnSpecs

use of teamdash.wbs.columns.CustomColumnSpecs in project processdash by dtuma.

the class TeamProject method openColumns.

/** Open the file containing the custom project columns */
private void openColumns() {
    try {
        columnSpecs = new CustomColumnSpecs();
        Element xml = openXML(checkEditable(new File(directory, COLUMNS_FILENAME)));
        if (xml != null)
            columnSpecs.load(xml, true);
    } catch (Exception e) {
    }
}
Also used : CustomColumnSpecs(teamdash.wbs.columns.CustomColumnSpecs) Element(org.w3c.dom.Element) File(java.io.File) IOException(java.io.IOException)

Aggregations

File (java.io.File)2 CustomColumnSpecs (teamdash.wbs.columns.CustomColumnSpecs)2 IOException (java.io.IOException)1 Map (java.util.Map)1 Element (org.w3c.dom.Element)1 TeamMemberList (teamdash.team.TeamMemberList)1