Class ItemPropertyDescriptorUtils
- java.lang.Object
-
- tools.mdsd.library.emfeditutils.itempropertydescriptor.ItemPropertyDescriptorUtils
-
public final class ItemPropertyDescriptorUtils extends Object
Collection of various utility function to handleIItemPropertyDescriptor
entities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ItemPropertyDescriptorDecorator
decorateLastDescriptor(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 ofIItemPropertyDescriptor
entities.- Returns:
- The decorated version of the last
IItemPropertyDescriptor
from the given list. - Throws:
IllegalArgumentException
- Thrown if the given list ofIItemPropertyDescriptor
entities is empty.- See Also:
ItemPropertyDescriptorDecorator
-
-