diff options
Diffstat (limited to '')
-rw-r--r-- | sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/JLine.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/JLine.java b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/JLine.java index d09a72f84f..ed6e392eb3 100644 --- a/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/JLine.java +++ b/sca-java-2.x/trunk/modules/shell/src/main/java/org/apache/tuscany/sca/shell/JLine.java @@ -61,9 +61,11 @@ public class JLine { reader.setBellEnabled(false); // TODO: write a Completor specific to this that can handle the individual command arguments List<Completor> completors = new LinkedList<Completor>(); - completors.add(new SimpleCompletor(Shell.COMMANDS)); - completors.add(new FileNameCompletor()); - reader.addCompletor(new ArgumentCompletor(completors)); +// completors.add(new SimpleCompletor(Shell.COMMANDS)); +// completors.add(new ICURICompletor(shell.node)); +// completors.add(new FileNameCompletor()); +// reader.addCompletor(new ArgumentCompletor(completors)); + reader.addCompletor(new TShellCompletor(shell.node)); return reader; } |