+
+ @Override
+ public Image getImage(Object element) {
+ if(element instanceof DescriptionBase){
+ DescriptionBase description = (DescriptionBase)element;
+ if(description.getTypes().contains(DescriptionType.AGGREGATED_STRUC_DESC)){
+ return MatrixUtility.getAggregatedDescriptionIcon();
+ }
+ else if(description.getTypes().contains(DescriptionType.SECONDARY_DATA)){
+ return MatrixUtility.getLiteratureDescriptionIcon();
+ }
+ else if(description.getTypes().contains(DescriptionType.DEFAULT_VALUES_FOR_AGGREGATION)){
+ return MatrixUtility.getDefaultDescriptionIcon();
+ }
+ }
+ return null;
+ }