예제 #1
0
 public List<Feature> getUnmappedFeatures(FeatureModel featureModel) {
   List<Feature> unmapped = FeatureModelUtil.getAllFeatures(featureModel);
   unmapped.removeAll(mappedFeatures);
   return unmapped;
 }
예제 #2
0
 private void init(GroupModel groupModel, FeatureModel featureModel, MappingModel featureMapping) {
   setMappings(featureMapping.getMappings());
   setCoreGroup(groupModel.getCoreGroup());
   List<Feature> allFeatures = FeatureModelUtil.getAllFeatures(featureModel);
   initViews(featureModel, allFeatures);
 }