Package com.volantis.mcs.context

Examples of com.volantis.mcs.context.CurrentProjectProvider


        // Extract the current project from the expression context.
        // This must be set at the time the expression is about to be evaluated
        // as either the MRC current project (for XDIME/PAPI) or the related
        // owning policy project (for themes/layouts containing expressions)
        CurrentProjectProvider projectProvider = (CurrentProjectProvider)
                context.getProperty(CurrentProjectProvider.class);
        Project currentProject = projectProvider.getCurrentProject();
        if (currentProject == null) {
            // This should never happen.
            throw new IllegalStateException("No current project found to " +
                    "resolve against.");
        }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.context.CurrentProjectProvider

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.