Interface IViewerControlContentAdapter

All Superinterfaces:
org.eclipse.jface.fieldassist.IControlContentAdapter, org.eclipse.jface.fieldassist.IControlContentAdapter2
All Known Implementing Classes:
AbstractStructuredViewerControlContentAdapter, ComboViewerContentAdapter, ValueComboChooserViewerContentAdapter

public interface IViewerControlContentAdapter extends org.eclipse.jface.fieldassist.IControlContentAdapter, org.eclipse.jface.fieldassist.IControlContentAdapter2
This interface is used to set and retrieve text content from an arbitrary viewer control.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setProposalToObjects(com.google.common.collect.Multimap<String,Object> proposalToObjects)
    Set multi map of proposals to object, based on target viewer content.

    Methods inherited from interface org.eclipse.jface.fieldassist.IControlContentAdapter

    getControlContents, getCursorPosition, getInsertionBounds, insertControlContents, setControlContents, setCursorPosition

    Methods inherited from interface org.eclipse.jface.fieldassist.IControlContentAdapter2

    getSelection, setSelection
  • Method Details

    • setProposalToObjects

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