Search in sources :

Example 1 with FeatureStyling

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;
}
Also used : IFeatureStyling(org.whole.lang.ui.notations.styledtree.styling.IFeatureStyling) FeatureStyling(org.whole.lang.ui.notations.styledtree.styling.FeatureStyling) FeatureDescriptor(org.whole.lang.reflect.FeatureDescriptor) IFeatureStyling(org.whole.lang.ui.notations.styledtree.styling.IFeatureStyling)

Aggregations

FeatureDescriptor (org.whole.lang.reflect.FeatureDescriptor)1 FeatureStyling (org.whole.lang.ui.notations.styledtree.styling.FeatureStyling)1 IFeatureStyling (org.whole.lang.ui.notations.styledtree.styling.IFeatureStyling)1