Class BasicUnifiedInsertPolicyFilter

    • Constructor Detail

      • BasicUnifiedInsertPolicyFilter

        public BasicUnifiedInsertPolicyFilter()
    • Method Detail

      • updateMenuItemSet

        public java.util.Set<MenuItem> updateMenuItemSet​(InsertionContext context,
                                                         java.util.Set<MenuItem> items)
        Description copied from interface: UnifiedInsertPolicyFilter
        Hook invoked before unified insertion interface is displayed, allowing items displayed to be customized or reordered.
        Specified by:
        updateMenuItemSet in interface UnifiedInsertPolicyFilter
        Parameters:
        context - the current InsertionContext (never null)
        items - the SortedSet of items to be displayed
        Returns:
        a Set of MenuItem, must not return null.