Class TextAssistContentProvider

java.lang.Object
org.eclipse.nebula.widgets.opal.textassist.TextAssistContentProvider

public abstract class TextAssistContentProvider
extends java.lang.Object
This class is a content provider for the TextAssist widget. When the user types something, an instance returns an arraylist of proposition based on the typed text.
  • Constructor Summary

    Constructors 
    Constructor Description
    TextAssistContentProvider()  
  • Method Summary

    Modifier and Type Method Description
    abstract java.util.List<java.lang.String> getContent​(java.lang.String entry)
    Provides the content
    protected int getMaxNumberOfLines()  
    protected void setTextAssist​(TextAssist textAssist)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getContent

      public abstract java.util.List<java.lang.String> getContent​(java.lang.String entry)
      Provides the content
      Parameters:
      entry - text typed by the user
      Returns:
      an array list of String that contains propositions for the entry typed by the user
    • setTextAssist

      protected void setTextAssist​(TextAssist textAssist)
      Parameters:
      textAssist - the textAssist to set
    • getMaxNumberOfLines

      protected int getMaxNumberOfLines()
      Returns:
      the max number of propositions.