1 19 20 package org.netbeans.spi.editor.completion; 21 22 import javax.swing.text.JTextComponent ; 23 24 31 32 public interface CompletionProvider { 33 34 37 public static final int COMPLETION_QUERY_TYPE = 1; 38 39 42 public static final int DOCUMENTATION_QUERY_TYPE = 2; 43 44 47 public static final int TOOLTIP_QUERY_TYPE = 4; 48 49 52 public static final int COMPLETION_ALL_QUERY_TYPE = 9; 53 54 72 public CompletionTask createTask(int queryType, JTextComponent component); 73 74 88 public int getAutoQueryTypes(JTextComponent component, String typedText); 89 90 } 91 | Popular Tags |