Class BmCollections


  • public final class BmCollections
    extends Object
    Extra methods for manipulating BM collections.
    • Method Detail

      • reorder

        public static void reorder​(IBmObject object,
                                   org.eclipse.emf.ecore.EStructuralFeature feature,
                                   int[] newOrder)
        Reorders many-feature elements.
        Parameters:
        object - The object the feature belongs to. May not be null.
        feature - The feature. May not be null.
        newOrder - An array where i-th element's value is the position the i-th element of the feature must be moved to.