edu.cs.ai.kreator.ui.cli.wordcompletion
Class ChoiceCompletor

java.lang.Object
  extended by edu.cs.ai.kreator.ui.cli.wordcompletion.Completor
      extended by edu.cs.ai.kreator.ui.cli.wordcompletion.ChoiceCompletor
Direct Known Subclasses:
ConfigurationOptionCompletor, ConfigurationOptionValueCompletor, ConsoleCompletor, FileNameCompletor, ParameterLearnerIdCompletor, PredicateCompletor, StructureLearnerIdCompletor, WriterIdCompletor

public class ChoiceCompletor
extends Completor


Field Summary
protected  java.util.List<Completor> completors
           
static org.apache.log4j.Logger LOG
           
 
Fields inherited from class edu.cs.ai.kreator.ui.cli.wordcompletion.Completor
parentCompletor
 
Constructor Summary
ChoiceCompletor()
           
ChoiceCompletor(javax.swing.JEditorPane parentEditor)
           
 
Method Summary
 void add(Completor completor)
           
 void add(java.lang.String completion)
           
 java.util.List<Completion> complete(java.lang.String word, int offset)
           
 java.lang.String toString()
           
 
Methods inherited from class edu.cs.ai.kreator.ui.cli.wordcompletion.Completor
complete, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG

completors

protected java.util.List<Completor> completors
Constructor Detail

ChoiceCompletor

public ChoiceCompletor(javax.swing.JEditorPane parentEditor)

ChoiceCompletor

public ChoiceCompletor()
Method Detail

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