Package com.volantis.mcs.policies

Examples of com.volantis.mcs.policies.ButtonImagePolicyBuilder


    // Javadoc inherited.
    protected ActivatedPolicy activateImpl(
            RuntimeProject actualProject, PolicyBuilder policyBuilder,
            RuntimeProject logicalProject) {

        ButtonImagePolicyBuilder buttonBuilder =
                (ButtonImagePolicyBuilder) policyBuilder;

        MarinerURL baseURL = getBaseURL(actualProject, policyBuilder,
                logicalProject);

        PolicyReference reference;

        reference = buttonBuilder.getUpPolicy();
        reference = activateReference(logicalProject, baseURL, reference);
        buttonBuilder.setUpPolicy(reference);

        reference = buttonBuilder.getOverPolicy();
        reference = activateReference(logicalProject, baseURL, reference);
        buttonBuilder.setOverPolicy(reference);

        reference = buttonBuilder.getDownPolicy();
        reference = activateReference(logicalProject, baseURL, reference);
        buttonBuilder.setDownPolicy(reference);

        return new ActivatedButtonImagePolicyImpl(
                buttonBuilder.getButtonImagePolicy(),
                actualProject, logicalProject);
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.policies.ButtonImagePolicyBuilder

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.