2
* (c) Copyright: Artenum SARL, 24 rue Louis Blanc,
3
* 75010, Paris, France 2007-2009.
4
* http://www.artenum.com
8
* This program is free software; you can redistribute it
9
* and/or modify it under the terms of the license defined in the
10
* LICENSE.TXT file at the root of the present package.
12
* This program is distributed in the hope that it will be
13
* useful, but WITHOUT ANY WARRANTY; without even the implied
14
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15
* PURPOSE. See the LICENSE.TXT for more details.
17
* You should have received a copy of the License along with
18
* this program; if not, write to:
19
* Artenum SARL, 24 rue Louis Blanc,
20
* 75010, PARIS, FRANCE, e-mail: contact@artenum.com
22
package com.artenum.rosetta.interfaces.ui;
24
import java.awt.Component;
25
import java.awt.Point;
26
import java.util.List;
28
import javax.swing.JComponent;
30
import com.artenum.rosetta.interfaces.core.CompletionItem;
31
import com.artenum.rosetta.interfaces.core.InputParsingManager;
34
* @author Sebastien Jourdain (jourdain@artenum.com)
37
public interface CompletionWindow {
42
void show(List<CompletionItem> list, Point location);
44
* @return the result of the completion
46
String getCompletionResult();
51
void setGraphicalContext(Component component);
54
* @param inputParsingManager
56
void setInputParsingManager(InputParsingManager inputParsingManager);
61
void setFocusOut(JComponent component);