From e284af21ab7ad05e5bfe091aaf9a00104de8e7ef Mon Sep 17 00:00:00 2001 From: antelder Date: Wed, 7 Jul 2010 06:58:50 +0000 Subject: Update to use a Tuscany specific completor that can complete each command argument git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@961257 13f79535-47bb-0310-9956-ffa450edef68 --- .../shell/src/main/java/org/apache/tuscany/sca/shell/JLine.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sca-java-2.x/trunk/modules/shell/src/main/java/org') 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 completors = new LinkedList(); - 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; } -- cgit v1.2.3