Interface IContainableElementsSorter

    • Method Detail

      • sortContainedElements

        void sortContainedElements​(java.util.Comparator<ContainableModelElement> comp)
        Sorts the contained elements (and creates the related datastructure if needed) according to the specified comparator. Please note the following requirements for applying this method:
        • All Elements which were added before this operation must still be member of this project after executing this operation.
        • Comments related to an element must occur before the element in the final sequence.
        Parameters:
        comp - a comparator which fulfills the requirements above