001 /* 002 * Copyright (c) 2002-2007, Marc Prud'hommeaux. All rights reserved. 003 * 004 * This software is distributable under the BSD license. See the terms of the 005 * BSD license in the documentation provided with this software. 006 */ 007 package jline; 008 009 import java.io.*; 010 import java.util.*; 011 012 /** 013 * <p> 014 * A {@link CompletionHandler} that deals with multiple distinct completions 015 * by cycling through each one every time tab is pressed. This 016 * mimics the behavior of the 017 * <a href="http://packages.qa.debian.org/e/editline.html">editline</a> 018 * library. 019 * </p> 020 * <p><strong>This class is currently a stub; it does nothing</strong></p> 021 * @author <a href="mailto:mwp1@cornell.edu">Marc Prud'hommeaux</a> 022 */ 023 public class CandidateCycleCompletionHandler implements CompletionHandler { 024 public boolean complete(final ConsoleReader reader, final List candidates, 025 final int position) throws IOException { 026 throw new IllegalStateException("CandidateCycleCompletionHandler unimplemented"); 027 } 028 }