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.
-
-
Field Summary
Fields Modifier and Type Field Description private TextAssist
textAssist
-
Constructor Summary
Constructors Constructor Description TextAssistContentProvider()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods 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)
-
-
-
Field Detail
-
textAssist
private TextAssist textAssist
-
-
Method Detail
-
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.
-
-