1 19 20 package org.netbeans.api.editor.completion; 21 22 import org.netbeans.modules.editor.completion.CompletionImpl; 23 24 33 34 public final class Completion { 35 36 private static final Completion singleton = new Completion(); 37 38 41 public static Completion get() { 42 return singleton; 43 } 44 45 private Completion() { 46 } 47 48 59 public void showCompletion() { 60 CompletionImpl.get().showCompletion(); 61 } 62 63 71 public void hideCompletion() { 72 CompletionImpl.get().hideCompletion(); 73 } 74 75 86 public void showDocumentation() { 87 CompletionImpl.get().showDocumentation(); 88 } 89 90 98 public void hideDocumentation() { 99 CompletionImpl.get().hideDocumentation(); 100 } 101 102 113 public void showToolTip() { 114 CompletionImpl.get().showToolTip(); 115 } 116 117 125 public void hideToolTip() { 126 CompletionImpl.get().hideToolTip(); 127 } 128 129 133 public void hideAll() { 134 CompletionImpl.get().hideAll(); 135 } 136 137 } 138 | Popular Tags |