use of org.whole.lang.ui.notations.styledtree.styling.FeatureStyling in project whole by wholeplatform.
the class StyledTreePartFactory method getFeaturesStyling.
public static IFeatureStyling[] getFeaturesStyling(List<FeatureDescriptor> efDescriptors) {
IFeatureStyling[] featuresStyling = new IFeatureStyling[efDescriptors.size()];
int i = 0;
for (FeatureDescriptor fd : efDescriptors) featuresStyling[i++] = new FeatureStyling(fd.getName(), !fd.getEntityDescriptor().getDataKind().isNotAData(), true, getAlignment(fd.getEntityDescriptor()));
return featuresStyling;
}
Aggregations