Package org.apache.felix.sigil.common.core.licence

Examples of org.apache.felix.sigil.common.core.licence.ILicenseManager


        return found.isEmpty() ? null : found.iterator().next();
    }

    protected ILicensePolicy findPolicy(IModelElement elem)
    {
        ILicenseManager man = BldCore.getLicenseManager();

        /*    ISigilProjectModel p = elem.getAncestor(ISigilProjectModel.class);
           
            ILicensePolicy policy = null;
           
            if ( p != null ) {
              policy = man.getPolicy(p);
            }
            else {
              policy = man.getDefaultPolicy();
            }
           
            return policy; */

        return man.getDefaultPolicy();
    }
View Full Code Here

TOP

Related Classes of org.apache.felix.sigil.common.core.licence.ILicenseManager

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.