public boolean accept(GenFeature genFeature) { return genFeature.isCreateChild() && genFeature != mixed; } }));
public boolean accept(GenFeature genFeature) { return genFeature.isCreateChild(); } });
public boolean accept(GenFeature genFeature) { return genFeature.isCreateChild() && genFeature != mixed; } }));
public boolean accept(GenFeature genFeature) { return genFeature.isCreateChild(); } });
public boolean accept(GenFeature genFeature) { return genFeature.isCreateChild(); } });
public boolean accept(GenFeature genFeature) { while (genFeature != null) { if (genFeature.isCreateChild()) return true; genFeature = genFeature.getDelegateFeature(); } return false; } });
public boolean accept(GenFeature genFeature) { while (genFeature != null) { if (genFeature.isCreateChild()) return true; genFeature = genFeature.getDelegateFeature(); } return false; } });
public boolean accept(GenFeature genFeature) { return genFeature.isCreateChild() && genFeature.isReferenceType(); } });
public boolean accept(GenFeature genFeature) { return genFeature.isCreateChild() && genFeature.isReferenceType(); } });
public List<GenFeature> getCreateChildFeatures() { List<GenFeature> result = new ArrayList<GenFeature>(); // If this is class has mixed content, the mixed feature should always be included, even if inherited, and come first. // final GenFeature mixed = getMixedGenFeature(); if (mixed != null && mixed.isCreateChild()) { result.add(mixed); } // Add all other create child features that this item provider is responsible for. // result.addAll(collectGenFeatures(getProviderImplementedGenClasses(), null, new GenFeatureFilter() { public boolean accept(GenFeature genFeature) { return genFeature.isCreateChild() && genFeature != mixed; } })); return result; }
public List<GenFeature> getCreateChildFeatures() { List<GenFeature> result = new ArrayList<GenFeature>(); // If this is class has mixed content, the mixed feature should always be included, even if inherited, and come first. // final GenFeature mixed = getMixedGenFeature(); if (mixed != null && mixed.isCreateChild()) { result.add(mixed); } // Add all other create child features that this item provider is responsible for. // result.addAll(collectGenFeatures(getProviderImplementedGenClasses(), null, new GenFeatureFilter() { public boolean accept(GenFeature genFeature) { return genFeature.isCreateChild() && genFeature != mixed; } })); return result; }
protected void reconcileSettings(GenFeature oldGenFeatureVersion) { setProperty(oldGenFeatureVersion.getProperty()); setNotify(oldGenFeatureVersion.isNotify()); setChildren(oldGenFeatureVersion.isChildren()); setCreateChild(oldGenFeatureVersion.isCreateChild()); setPropertyCategory(oldGenFeatureVersion.getPropertyCategory()); setPropertyDescription(oldGenFeatureVersion.getPropertyDescription()); setPropertyMultiLine(oldGenFeatureVersion.isPropertyMultiLine()); setPropertySortChoices(oldGenFeatureVersion.isPropertySortChoices()); getPropertyFilterFlags().addAll(oldGenFeatureVersion.getPropertyFilterFlags()); reconcileGenAnnotations(oldGenFeatureVersion); }
setNotify(oldGenFeatureVersion.isNotify()); setChildren(oldGenFeatureVersion.isChildren()); setCreateChild(oldGenFeatureVersion.isCreateChild()); setPropertyCategory(oldGenFeatureVersion.getPropertyCategory()); setPropertyDescription(oldGenFeatureVersion.getPropertyDescription());