NetBeans Architecture Answers for Editor module

WARNING: answering questions version 1.12 rather than the current 1.26.

Interfaces table

Group of java interfaces
Interface NameIn/OutStabilitySpecified in What Document?
EditorAPIExportedOfficial .../org/openide/text/doc-files/api.html

NodesAPIImportedOfficial .../org/openide/nodes/doc-files/api.html

.../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/doc-files/api.html

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

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

SettingsAPIImportedOfficial .../org/openide/options/doc-files/api.html

.../overview-summary.html

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

WindowSystemAPIImportedOfficial .../org/openide/windows/doc-files/api.html

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

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

org.openide.windowsImportedPrivate .../overview-summary.html

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

DialogsAPIImportedOfficial .../overview-summary.html

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

Group of property interfaces
Interface NameIn/OutStabilitySpecified in What Document?
indentEngineExportedStable

Property hold instance of
IndentEngine and this indentation engine is used instead of system one.

javax.swing.text.Document.StreamDescriptionPropertyImportedStable

Property hold instance of
DataObject from which the document was created. This property can be used by the modules and is part of the Editor API.

javax.swing.text.Document.TitlePropertyImportedStable

Property hold instance of String with name of the file being edited. This property can be used by the modules and is part of the Editor API.

javax.swing.text.Document.modificationListenerExportedFriend

In order to fix
issue 51872 the openide needs a way how to be notified about change of a document outside of its Document lock. DocumentListeners are always notified under the lock, so a special contract has been established (since version 5.3) by registering an instance of VetoableListener by calling putProperty ("modificationListener", listener). The NetBeans aware documents are adviced to honor this property and call the listener outside of the document lock when a modification is made. The actual contract of the call can be seen in NbLikeEditorKit.java in methods insertString and remove.


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 May 3 2007.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.