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();
}