NetBeans Architecture Answers for Editor Code Completion module

WARNING: answering questions version 1.25 rather than the current 1.29.

Interfaces table

Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
CodeCompletionAPIExportedOfficialindex.html

EditorModuleAPIImportedFriend
org.netbeans.modules.editorImportedPrivate .../overview-summary.html

The module is needed for compilation. The module is used during runtime.

org.netbeans.modules.editor.libImportedPrivate .../overview-summary.html

The module is needed for compilation. The module is used during runtime.

org.netbeans.modules.editor.lib2ImportedPrivate .../overview-summary.html

The module is needed for compilation. The module is used during runtime. Specification version 1.4 is required.

MimeLookupAPIImportedOfficial .../overview-summary.html

The module is needed for compilation. The module is used during runtime.

org.netbeans.modules.editor.utilImportedPrivate .../overview-summary.html

The module is needed for compilation. The module is used during runtime. Specification version 1.3 is required.

org.openide.awtImportedOfficial../org-openide-awt/overview-summary.html

The module is needed for compilation. The module is used during runtime. Specification version 6.4 is required.

ModulesAPIImportedOfficial .../overview-summary.html

The module is needed for compilation. The module is used during runtime. Specification version 6.2 is required.

UtilitiesAPIImportedOfficial../org-openide-util/overview-summary.html

The module is needed for compilation. The module is used during runtime. Specification version 6.2 is required.

Group of logger interfaces
Interface NameIn/OutStabilitySpecified in What Document?
org.netbeans.ui.editor.completionExportedUnder Development

Since version 1.8 the completion cooperates with UI Gestures Collector by sending following messages to the org.netbeans.ui.editor.completion
logger:
  • COMPL_INVOCATION - message about a code completion being invoked. Arguments:
    • {0}: true - if explicit, false if implicit invocation happened
  • COMPL_KEY_SELECT - send when user selects an item from completion using keyboard character. Arguments:
    • {0}: character that invoked the action
    • {1}: the index of selected item
    • {2}: the classname of the selected item
  • COMPL_KEY_SELECT_DEFAULT - send when user selects an item from completion using enter. Arguments:
    • {0}: '\n'
    • {1}: the index of selected item
    • {2}: the classname of the selected item
  • COMPL_MOUSE_SELECT - send when user selects an item from completion using mouse. Arguments:
    • {0}: null
    • {1}: the index of selected item
    • {2}: the classname of the selected item
  • COMPL_CANCEL - send when user selects cancels completion without any selection. No arguments.


General Information


Project and platform dependencies


Deployment


Compatibility with environment


Access to resources


Lookup of components


Execution Environment


Format of files and protocols


Performance and Scalability


Built on January 29 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.