Package net.sourceforge.processdash.data.util

Examples of net.sourceforge.processdash.data.util.SimpleDataContext


        Map<String, TaskScheduleChartSettings> chartSettings =
            TaskScheduleChartSettings.getSettingsForTaskList(taskListID, data);

        Map<String, ChartItem> result = new HashMap<String, ChartItem>();

        SimpleDataContext ctx = getContextTags(filterInEffect, isRollup,
            hideNames);

        SnippetDefinitionManager.initialize();
        for (SnippetDefinition snip : SnippetDefinitionManager
                .getSnippetsInCategory("ev")) {
View Full Code Here


        return finalResult;
    }

    private static SimpleDataContext getContextTags(boolean filterInEffect,
            boolean isRollup, boolean hideNames) {
        SimpleDataContext ctx = new SimpleDataContext();
        TagData tag = TagData.getInstance();

        ctx.put(EVSnippetEnvironment.EV_CONTEXT_KEY, tag);
        if (isRollup)
            ctx.put(EVSnippetEnvironment.ROLLUP_EV_CONTEXT_KEY, tag);
        if (filterInEffect)
            ctx.put(EVSnippetEnvironment.FILTERED_EV_CONTEXT_KEY, tag);
        if (hideNames)
            ctx.put(EVSnippetEnvironment.ANON_EV_CONTEXT_KEY, tag);

        return ctx;
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.data.util.SimpleDataContext

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.