edu.cs.ai.kreator.ui.cli.wordcompletion
Class ChoiceCompletor
java.lang.Object
edu.cs.ai.kreator.ui.cli.wordcompletion.Completor
edu.cs.ai.kreator.ui.cli.wordcompletion.ChoiceCompletor
- Direct Known Subclasses:
- ConfigurationOptionCompletor, ConfigurationOptionValueCompletor, ConsoleCompletor, FileNameCompletor, ParameterLearnerIdCompletor, PredicateCompletor, StructureLearnerIdCompletor, WriterIdCompletor
public class ChoiceCompletor
- extends Completor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LOG
public static final org.apache.log4j.Logger LOG
completors
protected java.util.List<Completor> completors
ChoiceCompletor
public ChoiceCompletor(javax.swing.JEditorPane parentEditor)
ChoiceCompletor
public ChoiceCompletor()
add
public void add(Completor completor)
add
public void add(java.lang.String completion)
complete
public java.util.List<Completion> complete(java.lang.String word,
int offset)
- Specified by:
complete
in class Completor
toString
public java.lang.String toString()
- Specified by:
toString
in class Completor