Interface ContentCompletionSortPriorityAssigner

    • Method Detail

      • getImposedSortPriority

        int getImposedSortPriority​(WhatElementsCanGoHereContext context,
                                   CCItemProxy ccItem)
        Return the imposed sort priority for the given content completion item.
        Parameters:
        context - Context in which the content completion is invoked.
        ccItem - A proxy to the content completion item.
        Returns:
        A number, specifying the sorting priority. Larger number means higher in the list.