1 /******************************************************************************* 2 * Copyright (c) 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.jface.text.contentassist; 12 13 import org.eclipse.jface.bindings.keys.KeySequence; 14 15 /** 16 * Extends {@link org.eclipse.jface.text.contentassist.IContentAssistant} with the following 17 * function: 18 * <ul> 19 * <li>a key-sequence to listen for in repeated invocation mode</li> 20 * </ul> 21 * 22 * @since 3.2 23 */ 24 public interface IContentAssistantExtension3 { 25 26 /** 27 * Sets the key sequence to listen for in repeated invocation mode. If the key sequence is 28 * encountered, a step in the repetition iteration is triggered. 29 * 30 * @param sequence the key sequence used for the repeated invocation mode or <code>null</code> if none 31 */ 32 public void setRepeatedInvocationTrigger(KeySequence sequence); 33 } 34