Example #1
0
 /**
  * @deprecated
  * @see com.intellij.codeInsight.completion.CompletionContributor
  */
 protected void registerVariant(CompletionVariant variant) {
   myCompletionVariants.add(variant);
 }
 private static void addDummyItems(int count, List<LookupElement> listModel) {
   EmptyLookupItem dummy = new EmptyLookupItem("loading...", true);
   for (int i = count; i > 0; i--) {
     listModel.add(dummy);
   }
 }