Completion.showDocumentation
Code IndexAdd Codota to your IDE (free)

Best code snippets using org.netbeans.api.editor.completion.Completion.showDocumentation(Showing top 5 results out of 315)

origin: org.netbeans.api/org-netbeans-modules-jellytools-ide

  public void run() {
    Completion.get().showDocumentation();
  }
};
origin: org.netbeans.modules/org-netbeans-modules-java-editor

  public Boolean call() {
    if (isTaskCancelled()) {
      return true;
    }
    if (javadocBreak.getAndSet(false)) {
      Completion c = Completion.get();
      c.hideDocumentation();
      c.showDocumentation();
    }
    return false;
  }
});
origin: org.netbeans.modules/org-netbeans-modules-java-editor

  @Override
  public void hyperlinkUpdate(HyperlinkEvent e) {                    
    if (e != null && HyperlinkEvent.EventType.ACTIVATED.equals(e.getEventType())) {
      String desc = e.getDescription();
      if (desc != null) {
        ElementJavadoc link = "***".contentEquals(desc) ? jdoc : jdoc.resolveLink(desc); //NOI18N
        if (link != null) {
          JTextComponent comp = EditorRegistry.lastFocusedComponent();
          if (comp != null && comp.getDocument() == doc) {
            ToolTipSupport tts = org.netbeans.editor.Utilities.getEditorUI(comp).getToolTipSupport();
            if (tts != null) {
              tts.setToolTipVisible(false);
            }
          }
          JavaCompletionProvider.JavaCompletionQuery.outerDocumentation.set(new JavaCompletionDoc(link));
          Completion.get().showDocumentation();
        }
      }
    }
  }
});
origin: org.netbeans.modules/org-netbeans-modules-java-editor

Completion c = Completion.get();
c.hideDocumentation();
c.showDocumentation();
origin: org.netbeans.api/org-netbeans-modules-editor-completion

public void actionPerformed(ActionEvent e) {
  Completion.get().showDocumentation();
}
    
org.netbeans.api.editor.completionCompletionshowDocumentation

Javadoc

Request showing of the documentation popup for the currently focused text component.
The documentation popup will be shown if there are any results to be shown for the particular context.

This method can be called from any thread but when called outside of AWT the request will be rescheduled into AWT.

Popular methods of Completion

  • get
    Get the singleton instance of this class.
  • hideAll
    Hide either of the possibly opened code completion, documentation or tooltip windows.
  • hideCompletion
    Hide a completion popup window if it's opened. This method can be called from any thread. The cancel
  • hideDocumentation
    Hides a documentation popup window if it's opened. This method can be called from any thread. The ca
  • showCompletion
    Request showing of the code completion popup for the currently focused text component. The completio
  • showToolTip
    Request showing of the tooltip popup for the currently focused text component. The tooltip popup wil
  • hideToolTip
    Hides a tooltip popup window if it's opened. This method can be called from any thread. The cancelli

Popular classes and methods

  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • SortedMap (java.util)
    A Map that further provides a total ordering on its keys. The map is ordered according to the Compar
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Reference (javax.naming)
  • JList (javax.swing)

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)