129
|
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 * Port to the D programming language:
|
|
11 * Frank Benoit <benoit@tionex.de>
|
|
12 *******************************************************************************/
|
|
13 module dwtx.jface.text.contentassist.IContentAssistantExtension3;
|
|
14
|
|
15 import dwt.dwthelper.utils;
|
|
16
|
|
17 import dwtx.jface.bindings.keys.KeySequence;
|
|
18
|
|
19 /**
|
|
20 * Extends {@link dwtx.jface.text.contentassist.IContentAssistant} with the following
|
|
21 * function:
|
|
22 * <ul>
|
|
23 * <li>a key-sequence to listen for in repeated invocation mode</li>
|
|
24 * </ul>
|
|
25 *
|
|
26 * @since 3.2
|
|
27 */
|
|
28 public interface IContentAssistantExtension3 {
|
|
29
|
|
30 /**
|
|
31 * Sets the key sequence to listen for in repeated invocation mode. If the key sequence is
|
|
32 * encountered, a step in the repetition iteration is triggered.
|
|
33 *
|
|
34 * @param sequence the key sequence used for the repeated invocation mode or <code>null</code> if none
|
|
35 */
|
|
36 public void setRepeatedInvocationTrigger(KeySequence sequence);
|
|
37 }
|