Class AbstractStructuredViewerControlContentAdapter

    • Method Detail

      • setControlContents

        public void setControlContents​(org.eclipse.swt.widgets.Control control,
                                       String text,
                                       int cursorPosition)
        Specified by:
        setControlContents in interface org.eclipse.jface.fieldassist.IControlContentAdapter
      • setProposalToObjects

        public void setProposalToObjects​(com.google.common.collect.Multimap<String,​Object> proposalToObjects)
        Description copied from interface: IViewerControlContentAdapter
        Set multi map of proposals to object, based on target viewer content. Intended to be invoked after combo viewer input update.
        Specified by:
        setProposalToObjects in interface IViewerControlContentAdapter
        Parameters:
        proposalToObjects - a multi map of content to proposal associations, never null:
        • key - string representation for the target object
        • value - the target object