Class ItemPropertyDescriptorUtils
- java.lang.Object
-
- tools.mdsd.library.emfeditutils.itempropertydescriptor.ItemPropertyDescriptorUtils
-
public final class ItemPropertyDescriptorUtils extends Object
Collection of various utility function to handleIItemPropertyDescriptorentities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ItemPropertyDescriptorDecoratordecorateLastDescriptor(List<IItemPropertyDescriptor> descriptors)Replace the last descriptor of a given list with a decorated descriptor.
-
-
-
Method Detail
-
decorateLastDescriptor
public static ItemPropertyDescriptorDecorator decorateLastDescriptor(List<IItemPropertyDescriptor> descriptors)
Replace the last descriptor of a given list with a decorated descriptor.- Parameters:
descriptors- The list ofIItemPropertyDescriptorentities.- Returns:
- The decorated version of the last
IItemPropertyDescriptorfrom the given list. - Throws:
IllegalArgumentException- Thrown if the given list ofIItemPropertyDescriptorentities is empty.- See Also:
ItemPropertyDescriptorDecorator
-
-