org.ow2.shelbie.core.internal.handler.completer
Class ShelbieCandidateListCompletionHandler

java.lang.Object
  extended by jline.console.completer.CandidateListCompletionHandler
      extended by org.ow2.shelbie.core.internal.handler.completer.ShelbieCandidateListCompletionHandler
All Implemented Interfaces:
jline.console.completer.CompletionHandler

public class ShelbieCandidateListCompletionHandler
extends jline.console.completer.CandidateListCompletionHandler

Override the method CandidateListCompletionHandler.getUnambiguousCompletions(java.util.List) to be aware of scopes.


Constructor Summary
ShelbieCandidateListCompletionHandler()
           
 
Method Summary
 boolean complete(jline.console.ConsoleReader reader, List<CharSequence> candidates, int pos)
           
 
Methods inherited from class jline.console.completer.CandidateListCompletionHandler
printCandidates, setBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShelbieCandidateListCompletionHandler

public ShelbieCandidateListCompletionHandler()
Method Detail

complete

public boolean complete(jline.console.ConsoleReader reader,
                        List<CharSequence> candidates,
                        int pos)
                 throws IOException
Specified by:
complete in interface jline.console.completer.CompletionHandler
Overrides:
complete in class jline.console.completer.CandidateListCompletionHandler
Throws:
IOException


Copyright © 2013 OW2 Consortium. All Rights Reserved.