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 contentprotected int
getMaxNumberOfLines()
protected void
setTextAssist(TextAssist textAssist)
-
Constructor Details
-
TextAssistContentProvider
public TextAssistContentProvider()
-
-
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
- Parameters:
textAssist
- the textAssist to set
-
getMaxNumberOfLines
protected int getMaxNumberOfLines()- Returns:
- the max number of propositions.
-